<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,<br>
</p>
<div class="moz-cite-prefix">On 16.06.20 21:12, Aymeric Moizard
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALM7LKMrEq6_FReoRBk200O3nOZSYgZa7MyErp7oOGQ3-bizBA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le mar. 16 juin 2020
à 20:42, Henning Westerholt <<a
href="mailto:hw@skalatan.de" moz-do-not-send="true">hw@skalatan.de</a>>
a écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div lang="DE">
<div class="gmail-m_-1831920577507351277WordSection1">
<p class="MsoNormal"><span>Hello,</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span lang="EN-GB">take a look to
this parameter, you can switch between MD5 and
SHA256, but only use once at a time:</span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB"><a
href="https://www.kamailio.org/docs/modules/5.3.x/modules/auth.html#auth.p.algorithm"
target="_blank" moz-do-not-send="true">https://www.kamailio.org/docs/modules/5.3.x/modules/auth.html#auth.p.algorithm</a>
</span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">About planned
features – I am not aware of major extensions in
this module. Of course, any contribution is welcome.</span></p>
<p class="MsoNormal"><span lang="EN-GB"></span></p>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Thanks for your answer.</div>
<div>If I have some time, I might try to make a PR
on being able to select the algorithm at runtime.</div>
</div>
</div>
</blockquote>
<p>small remark to say that if you want it in next major release
5.4.x, then it has to be done till end of tomorrow, when it is
planned to freeze the development and enter testing phase before
the release.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<blockquote type="cite"
cite="mid:CALM7LKMrEq6_FReoRBk200O3nOZSYgZa7MyErp7oOGQ3-bizBA@mail.gmail.com">
<div dir="ltr">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div lang="DE">
<div class="gmail-m_-1831920577507351277WordSection1">
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">Cheers,</span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">Henning</span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">-- </span></p>
<p class="MsoNormal"><span lang="EN-GB">Henning
Westerholt –
</span><span><a href="https://skalatan.de/blog/"
target="_blank" moz-do-not-send="true"><span
style="color:rgb(5,99,193)" lang="EN-GB">https://skalatan.de/blog/</span></a></span><span
lang="EN-GB"></span></p>
<p class="MsoNormal"><span lang="EN-GB">Kamailio
services –
</span><span><a href="https://gilawa.com/"
target="_blank" moz-do-not-send="true"><span
style="color:rgb(5,99,193)" lang="EN-GB">https://gilawa.com</span></a></span><span>
<span lang="EN-GB"></span></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<div
style="border-right:none;border-bottom:none;border-left:none;border-top:1pt
solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal" style="margin-left:35.4pt"><b>From:</b>
sr-users <<a
href="mailto:sr-users-bounces@lists.kamailio.org"
target="_blank" moz-do-not-send="true">sr-users-bounces@lists.kamailio.org</a>>
<b>On Behalf Of </b>Aymeric Moizard<br>
<b>Sent:</b> Monday, June 15, 2020 10:31 PM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List <<a
href="mailto:sr-users@lists.kamailio.org"
target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>><br>
<b>Subject:</b> [SR-Users] MD5 and SHA-256 instead
of MD5 or SHA-256...</p>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"> </p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Hi
All,</p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">I'd
like to improve my setup by switching to SHA-256. </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">However,
as a first step, I would like to offer both MD5
and SHA-256</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">in 2
different WWW-Authenticate header.</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">If
I'm correct, this is not doable with the latest
auth module?</p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Is
this a planned feature?</p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">As
an alternative, I would like to decide
the algorithm in the script</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">instead
of a module parameter. It looks to me this is also
not doable?</p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Again,
is this a planned feature?</p>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Thanks
to all,</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Regards</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Aymeric</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">-- </p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><img
style="width: 0.5in; height: 0.5in;"
id="gmail-m_-1831920577507351277_x0000_i1025"
src="http://sip.antisip.com/am48.png"
moz-do-not-send="true" width="48" height="48"
border="0">Antisip -
<a href="http://www.antisip.com" target="_blank"
moz-do-not-send="true">http://www.antisip.com</a></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"><img
src="http://sip.antisip.com/am48.png" moz-do-not-send="true">Antisip
- <a href="http://www.antisip.com" target="_blank"
moz-do-not-send="true">http://www.antisip.com</a><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
</body>
</html>