Skip to content

Fix ECDH using v6 keys#233

Merged
twiss merged 1 commit into
mainfrom
fix-ecdh-v6
Sep 26, 2024
Merged

Fix ECDH using v6 keys#233
twiss merged 1 commit into
mainfrom
fix-ecdh-v6

Conversation

@twiss
Copy link
Copy Markdown
Collaborator

@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
Copy Markdown
Member

@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
@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