I doubt George Joseph who wrote that post was even aware that a bug and patch fix for the bug was posted into the
comment of that post. Gary Bilkus, who wrote that patch, should have submitted it through the proper issues on github,
or at least, raised the issue here.
I know this might come as a surprise to users but the devs don’t have the time to go on easter egg hunts on random forums
and blog posts looking for bug reports.
Please submit this as a bug. The article stated explicitly:
If we’d kept looking however, we’d have seen the header with MD5 and could probably have processed it. The fix for this wasn’t quite as straightforward as you’d think because, as you may know, Asterisk relies on PJSIP for much of the underlying SIP protocol handling. This required us to coordinate changes to both projects to at least make them both tolerant of receiving the new algorithms even if we didn’t yet support them. That work was completed in May and is included in Asterisk releases 16.19.0 and 18.5.0.
And yet, George states in his comment response that this fix did not work in Asterisk 20 and submitted a patch - into the comment - where
naturally it’s remained buried.
Particularly as Asterisk 18, 20 and 21 are in Release Candidate 2, since this is a trivial correction it would sure be nice if it got into the codebase before release.
Ted
On 10/5/2024 10:43 AM, FurretUber via Asterisk Community wrote:
Hi, I have noticed the usage of SHA-256 algorithm has been increasing recently for authentication challenges. With a normal Asterisk build, Asterisk fails to REGISTER and to INVITE when the authentication challenge uses the SHA-256 algorithm.
This appears on the WWW-Authenticate
line, when algorithm=SHA-256
is specified. This makes it impossible to use a normal build of Asterisk on certain situations.
What is interesting is that the solution for these cases already exists on the Asterisk site, on this page. A comment on that page has a change that allows the REGISTER with SHA-256 challenge to work. From my testing, it seems to cause no problems, and calls were functioning normally.
Would that change cause some problem with Asterisk? At least with MicroSIP (that also uses PJSIP), I have not observed problems with platforms that use only SHA-256 for REGISTERs and INVITEs.
Visit Topic or reply to this email to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, click here.