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 ECDH using v6 keys #233

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Fix ECDH using v6 keys #233

merged 1 commit into from
Sep 26, 2024

Conversation

twiss
Copy link
Member

@twiss twiss commented Sep 25, 2024

When using ECDH with v6 keys, the fingerprint length is not 20 bytes, so the KDF param is not 45 bytes.

(Note that this was already fixed in the Proton branch because this check was removed in #141 for unrelated reasons.)

@twiss twiss requested a review from lubux September 25, 2024 20:57
Copy link
Contributor

@lubux lubux left a comment

Choose a reason for hiding this comment

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

👍

@twiss twiss merged commit 77090fe into main Sep 26, 2024
8 checks passed
@twiss twiss deleted the fix-ecdh-v6 branch September 26, 2024 17:11
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