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

feat: Invalidate nonce #8

Merged
merged 3 commits into from
Feb 16, 2024

Conversation

gpylypchuk
Copy link
Contributor

Resolves #4 issue.

@gpylypchuk gpylypchuk marked this pull request as ready for review February 15, 2024 19:05
@0x4007 0x4007 requested a review from rndquu February 15, 2024 19:10
Copy link
Member

@molecula451 molecula451 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good but it left to desire a bit, @gpylypchuk can you add a require() statement that checks the nonce has not been used?

@molecula451 molecula451 changed the title Invalidate nonce feat: Invalidate nonce Feb 16, 2024
@gpylypchuk
Copy link
Contributor Author

looking good but it left to desire a bit, @gpylypchuk can you add a require() statement that checks the nonce has not been used?

sure! added :)

Copy link
Member

@molecula451 molecula451 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm accepting this PR because:

  1. rndquu already put eyes on it
  2. the PR meet the specification and conversational at the PR issue
  3. the user applied all the changes and meet the specification
  4. I tested locally and it invalidate the stuff

Last but not least:

  1. There might be other edges cases to improve the security of the invalidation

@molecula451 molecula451 merged commit 5d4157b into ubiquity:development Feb 16, 2024
1 check passed
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.

Invalidate nonce
3 participants