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 issue with decryption of a still-pending key #55

Merged
merged 1 commit into from Sep 14, 2023

Conversation

jagerman
Copy link
Member

If you call rekey() and then encrypt_message() before the rekey is confirmed, decryption would fail because the pending key wouldn't be tried yet. This fixes it (including a verified-to-have-failed test case).

Thanks to Harris for the help tracking down/debugging this one.

If you call rekey() and then encrypt_message() before the rekey is
confirmed, decryption would fail because the pending key wouldn't be
tried yet.  This fixes it (including a verified-to-have-failed test
case).

Thanks to Harris for the help tracking down/debugging this one.
@jagerman jagerman merged commit 9a46cd6 into oxen-io:dev Sep 14, 2023
1 check was pending
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

1 participant