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

Nonce count should start at 1. #19

Open
martinos opened this issue Oct 16, 2019 · 1 comment
Open

Nonce count should start at 1. #19

martinos opened this issue Oct 16, 2019 · 1 comment

Comments

@martinos
Copy link

According to rfc2617 https://tools.ietf.org/html/rfc2617

    The nc-value is the hexadecimal count of the number of requests (including the current request) that the client has sent with the nonce value in this request.  For example, in the first request sent in response to a given nonce value, the client sends "nc=00000001". 

The @nonce_count instance variable is initialized to -1, it should be set to 0.

@martinos martinos changed the title Nouce count should start at 1. Nonce count should start at 1. Oct 16, 2019
@arohr
Copy link

arohr commented Feb 18, 2021

Yep, just stumbled over the same issue.

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

No branches or pull requests

2 participants