Skip to content
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

Digest authentication rejected due to invalid header #32

Closed
adriancretu opened this issue Aug 14, 2016 · 1 comment
Closed

Digest authentication rejected due to invalid header #32

adriancretu opened this issue Aug 14, 2016 · 1 comment
Labels

Comments

@adriancretu
Copy link

adriancretu commented Aug 14, 2016

The header returned by the server when the Digest protocol is used is not formatted correctly.
VLC rejects the authentication header due to invalid algorithm "MD5", when it should be MD5.
Please see RFC2617

Note that I first thought this is a VLC issue, until they proved me wrong in reading the spec. The algorithm name should not be quoted. Actual quotes are escaped in the spec as <">.

Current format of authentication header:
Digest realm="/", nonce="some_nonce", algorithm="MD5", qop="auth"

Should be:
Digest realm="/", nonce="some_nonce", algorithm=MD5, qop="auth"

@mar10 mar10 added the bug label Aug 14, 2016
@mar10
Copy link
Owner

mar10 commented Aug 14, 2016

Thank you, sir.

@mar10 mar10 closed this as completed in 6032448 Aug 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants