Repository navigation
Release 0.4.15: XEdDSA - #37
Open
turkananation wants to merge 2 commits into
Open
turkananation wants to merge 2 commits into
turkananation wants to merge 2 commits into
Conversation
PqXeddsa matches libsignal calculate_signature on Curve25519. signAll and verifyAll batch on isolates. The signed-prekey check is Pqxdh.signedPrekeyAuthentic. The handshake still throws. Ed25519 inversion is the ref10 chain and scalar multiplication is a 4-bit window. The SDK constraint is ^3.14.0. A 16-bit limb product does not fit in signed Int32x4, so the field multiply stays scalar. No .pqf or .pqfs change.
PQXDH revision 3 uses Curve25519 and ML-KEM-1024. TripleRatchet runs the public ML-KEM Braid beside the Double Ratchet. Encaps1 and Encaps2 live in pqforge; the NTT stays in pqcrypto. The docs site pins Jaspr 0.24.0-beta.1 so it resolves on Dart 3.14.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PqXeddsasigns a 32-byte X25519 key. The signature matches libsignalPrivateKey::calculate_signaturefor the same secret, message, and 64-byteZ.signAll/verifyAllbatch that work on isolates.Pqxdh.signedPrekeyAuthenticchecks the signed prekey. The handshake still throws.^3.14.0. The field multiply stays scalar: a 16-bit limb product does not fit in signedInt32x4. No.pqf/.pqfschange.Test plan
dart run tool/agent/verify.dart fullon Dart 3.14.1calculate_signaturebytes