You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Digest Authentication of an PJSUA(2) account during registration process, if the password is > 16 characters, then registration will fail without any error message.
auto auth = pj::AuthCredInfo("Digest", realm, username, PJSIP_CRED_DATA_EXT_AKA , 0);
auth.akaK = password;
config.sipConfig.authCreds.push_back(std::move(auth)); // config is of type pj::AccountConfig. config is used when creating an account.
PJSIP version
2.14.1, 2.15
Context
Latest version of the standard supports the following lengths of authentication parameters:
The length of the authentication key (K) has changed over time.
Log, call stack, etc
Registration fails silently, when a SIP 401 is received after the initial unprotected SIP REGISTER had been sent.
The text was updated successfully, but these errors were encountered:
Describe the bug
For Digest Authentication of an PJSUA(2) account during registration process, if the password is > 16 characters, then registration will fail without any error message.
Steps to reproduce
Use an authentication key (K) in https://docs.pjsip.org/en/latest/api/generated/pjsip/group/group__PJSUA2__SIP__Types.html#_CPPv4N2pj12AuthCredInfo4akaKE with a length > 16 characters and try to register using Digest Authentication:
PJSIP version
2.14.1, 2.15
Context
Latest version of the standard supports the following lengths of authentication parameters:
The length of the authentication key (K) has changed over time.
Log, call stack, etc
The text was updated successfully, but these errors were encountered: