[sr-dev] git:master:e7faf1ee: auth: added option to use SHA-256 encryption algorithm for digest authentication

Daniel-Constantin Mierla miconda at gmail.com
Mon May 23 11:37:37 CEST 2016


Module: kamailio
Branch: master
Commit: e7faf1eef73beee0a1e689623e37ac6b546eff96
URL: https://github.com/kamailio/kamailio/commit/e7faf1eef73beee0a1e689623e37ac6b546eff96

Author: AndreasHuber-CH <andreas.huber at nagra.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-05-23T11:37:21+02:00

auth: added option to use SHA-256 encryption algorithm for digest authentication

- the module paramter "algorithm" was added with the possible values "",
  "MD5" or "SHA-256".
- it allows chosing between MD5 or SHA-256 hash algorithm for digest
  authentication.
- the configured algorithm is advertised in the challenge header.
- the default values is "" which omits the algorithm field in the
  challenge header and uses MD5 for digest authentication.
- submitted via GH pull request #628

---

Added: modules/auth/rfc2617_sha256.c
Added: modules/auth/rfc2617_sha256.h
Modified: modules/auth/Makefile
Modified: modules/auth/api.c
Modified: modules/auth/auth_mod.c
Modified: modules/auth/auth_mod.h
Modified: modules/auth/doc/auth_params.xml
Modified: modules/auth/rfc2617.c
Modified: modules/auth/rfc2617.h

---

Diff:  https://github.com/kamailio/kamailio/commit/e7faf1eef73beee0a1e689623e37ac6b546eff96.diff
Patch: https://github.com/kamailio/kamailio/commit/e7faf1eef73beee0a1e689623e37ac6b546eff96.patch




More information about the sr-dev mailing list