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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-05-11T16:29:23+02:00

auth_db: small updates to hashing columns

---

Modified: src/modules/auth_db/doc/auth_db_admin.xml

---

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

---

diff --git a/src/modules/auth_db/doc/auth_db_admin.xml 
b/src/modules/auth_db/doc/auth_db_admin.xml
index cc35e7c964d..e6cbd138264 100644
--- a/src/modules/auth_db/doc/auth_db_admin.xml
+++ b/src/modules/auth_db/doc/auth_db_admin.xml
@@ -132,9 +132,11 @@ modparam("auth_db", "domain_column", "domain")
                <para>
                This is the name of the column holding passwords. Passwords can 
be
                either stored as plain text or pre-calculated HA1 strings. HA1 
strings
-               are MD5 hashes of username, password, and realm. HA1 strings 
are more
-               safe because the server doesn't need to know plaintext 
passwords and
-               they cannot be obtained from HA1 strings.
+               are hashes of username, password, and realm for the digest 
algorithm
+               used by authentication. When pre-calculated HA1 strings are 
used, they
+               must match the algorithm of the credentials being verified. HA1
+               strings are safer because the server doesn't need to know 
plaintext
+               passwords and they cannot be obtained from HA1 strings.
                </para>
                <para>
                Default value is <quote>ha1</quote>.
@@ -189,7 +191,7 @@ modparam("auth_db", "password_column_2", "ha1_2")
                <para>
                If the parameter is set to 1 then the HA1 value will be 
calculated
                from the column specified in the <quote>password_column</quote>
-               parameter.
+               parameter, using the digest algorithm from the received 
credentials.
                </para>
                <para>
                The <quote>password_column_2</quote>column contain also HA1 
strings
@@ -633,4 +635,3 @@ if (!is_subscriber("$ru", "subscriber", "3")) {
 
        </section>
 </chapter>
-

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to