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

add support for CipherContext.update_nonce #10437

Merged
merged 2 commits into from
Jul 5, 2024
Merged

Conversation

reaperhulk
Copy link
Member

This only supports ChaCha20 and ciphers in CTR mode.

@jlaine
Copy link
Contributor

jlaine commented Feb 29, 2024

This looks fantastic, thanks so much !

@jlaine
Copy link
Contributor

jlaine commented May 19, 2024

Hi @reaperhulk , was there anything more you planned to do before merging?

docs/hazmat/primitives/symmetric-encryption.rst Outdated Show resolved Hide resolved
docs/hazmat/primitives/symmetric-encryption.rst Outdated Show resolved Hide resolved
src/rust/src/backend/ciphers.rs Outdated Show resolved Hide resolved
src/rust/src/backend/ciphers.rs Show resolved Hide resolved
docs/hazmat/primitives/symmetric-encryption.rst Outdated Show resolved Hide resolved
src/rust/src/backend/ciphers.rs Outdated Show resolved Hide resolved
@reaperhulk reaperhulk marked this pull request as ready for review July 5, 2024 22:11
This only supports ChaCha20 and ciphers in CTR mode.
Copy link
Member

@alex alex left a comment

Choose a reason for hiding this comment

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

All the tests reset to the "original" nonce. Please add a test that resets to a brand new nonce.

@alex alex merged commit 2b371f4 into pyca:main Jul 5, 2024
57 checks passed
@reaperhulk reaperhulk deleted the nonce-reset branch September 6, 2024 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants