The Authentication-Info header is already supported by the ims_auth module. This pull requsts proposes an implementation for auth module. The Authentication-Info header is added in the function "post_auth" (if "add_authinfo_hdr" is configured.) Modules depending on "auth" are adapted slightly to offer the ha1 value to the function "post_auth". You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/639
-- Commit Summary --
* auth: add support for Authentication-Info header * auth_db: add ha1 parameter in auth_api.post_auth * auth_ephemeral: add ha1 parameter in auth_api.post_auth * uid_auth_db: add ha1 parameter in auth_api.post_auth * auth_radius: add NULL for ha1 parameter in auth_api.post_auth
-- File Changes --
M modules/auth/api.c (90) M modules/auth/api.h (4) M modules/auth/auth_mod.c (4) M modules/auth/auth_mod.h (1) M modules/auth/challenge.c (107) M modules/auth/challenge.h (2) M modules/auth/doc/auth_params.xml (66) M modules/auth/nonce.c (2) M modules/auth/rfc2617.c (4) M modules/auth/rfc2617_sha256.c (4) M modules/auth_db/authorize.c (2) M modules/auth_ephemeral/authorize.c (2) M modules/auth_radius/authorize.c (2) M modules/uid_auth_db/authorize.c (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/639.patch https://github.com/kamailio/kamailio/pull/639.diff
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/639
Thanks, useful addition, so the client can now authenticate the server as well.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/639#issuecomment-221684627
Merged #639.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/639#event-672275848