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 plaintext size calculation #53

Merged
merged 2 commits into from Sep 8, 2023
Merged

Conversation

jagerman
Copy link
Member

@jagerman jagerman commented Sep 8, 2023

ciphertext has already been reduced by 1 +
crypto_aead_xchacha20poly1305_ietf_NPUBBYTES at this point, but that wasn't being accounted for in the size calculations.

(Thanks to @ftrget for finding this one!)

ciphertext has already been reduced by 1 +
crypto_aead_xchacha20poly1305_ietf_NPUBBYTES at this point, but that
wasn't being accounted for in the size calculations.

(Thanks to @ftrget for finding this one!)
@jagerman jagerman mentioned this pull request Sep 8, 2023
6 tasks
We were encrypting, but not testing that we can actually decrypt that
message (and thus not catching the problem from the previous commit).
@jagerman jagerman merged commit 20c7ba8 into oxen-io:dev Sep 8, 2023
1 check passed
@venezuela01
Copy link

typo, should be @frtget instead.

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.

None yet

2 participants