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

Fix Repeating Nonces #292

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Fix Repeating Nonces #292

wants to merge 4 commits into from

Conversation

NHAS
Copy link

@NHAS NHAS commented Dec 20, 2020

An extension to #291, and (hopefully) full solution to #289

This change the random data generation to a cryptographically secure source and implements a repetition resistant nonce generation algorithm, which handles some edge cases where nonce reuse might occur.

This needs a bit of a look over to make sure its both backwards compatible and not missing anything.

This is so we can store the generated nonces to prevent reuse
An attacker would be able to cause the regeneration of nonces without verifying that the nonce was actually in use
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