Skip to content

fixed handling of stale nonces in the HTTP Digest Auth implementation #11

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rhaberkorn
Copy link

The stale=true attribute was not sent in the resulting challenge that the server sends, so clients/browsers would unnecessarily ask for the credentials again.

You may want to edit this change if you disagree with the way I pass on the information that the nonce is stale. Actually, I do not understand why you are throwing AuthError in DigestAuthMixin.verify_opaque() in the first place instead of always throwing DigestAuthMixin.SendChallenge().

The stale=true attribute was not sent in the resulting challenge that the server sends,
so clients/browsers would unnecessarily ask for the credentials again.
@rhaberkorn
Copy link
Author

@gvalkov ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant