-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example, register/client SIGSEGV case when Algorithm in lowercase. #24
Comments
just for sharing |
Hi @tkang007 maybe to create a PR. Not sure is some digest lib issue. |
Yes. It is issue belong digest. I made PR for fix it icholy/digest#11 or you can use my fork https://github.com/r4hx/digest You need just add to your go.mod
and run command in terminal
|
@r4hx I only noticed this issue couple days ago and it is older version of asterisk (16). I guess they fixed on their end in newer version. |
My PR will not be merge, because maintainer reject it. He gave an another solution which more clearly (maybe, i not a golang programmer :D) and simply. But my solution still worked, we have a two tweak how to solve this problem now. |
yes he is right about rfc. Still solution he provides seems something related to HTTP? |
No, it’s solution related to udp (header of packet). |
hi @r4hx fixed on client. |
Nice work. Thank you. |
Hi,
I would like to report an issue when register to an Asterisk with the example/register/client/main.go
Could be fixed by changing Algorithm to uppercase as it was expected by digest.Digest method.
Asterisk's WWW-Authenticate parsed challenge:
Thanks.
The text was updated successfully, but these errors were encountered: