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

Check the size of the encrypted data to make sure there's at least enough bytes for the nonce #111

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

xoloki
Copy link
Collaborator

@xoloki xoloki commented Dec 18, 2024

No description provided.

…ough bytes for the nonce; add a test on both sides of that size boundary
@xoloki xoloki requested a review from djordon December 18, 2024 03:32
Copy link
Contributor

@djordon djordon left a comment

Choose a reason for hiding this comment

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

What is here is okay, but we could have a more helpful error and make things a little more efficient using the get API.

src/util.rs Outdated Show resolved Hide resolved
@xoloki xoloki merged commit 3689ec6 into main Dec 18, 2024
5 checks passed
@xoloki xoloki deleted the aes-slice branch December 18, 2024 16:07
@xoloki xoloki restored the aes-slice branch December 18, 2024 16:07
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.

2 participants