Hello,

On 16.06.20 21:12, Aymeric Moizard wrote:

Le mar. 16 juin 2020 à 20:42, Henning Westerholt <hw@skalatan.de> a écrit :

Hello,

 

take a look to this parameter, you can switch between MD5 and SHA256, but only use once at a time:

 

https://www.kamailio.org/docs/modules/5.3.x/modules/auth.html#auth.p.algorithm

 

About planned features – I am not aware of major extensions in this module. Of course, any contribution is welcome.


Thanks for your answer.
If I have some time, I might try to make a PR on being able to select the algorithm at runtime.

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.

Cheers,
Daniel

 

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Aymeric Moizard
Sent: Monday, June 15, 2020 10:31 PM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: [SR-Users] MD5 and SHA-256 instead of MD5 or SHA-256...

 

Hi All,

 

I'd like to improve my setup by switching to SHA-256. 

However, as a first step, I would like to offer both MD5 and SHA-256

in 2 different WWW-Authenticate header.

 

If I'm correct, this is not doable with the latest auth module?

Is this a planned feature?

 

As an alternative, I would like to decide the algorithm in the script

instead of a module parameter. It looks to me this is also not doable?

Again, is this a planned feature?

 

Thanks to all,

 

Regards

Aymeric

 

--



--

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla