Skip to content

Release 0.4.15: XEdDSA - #37

Open
turkananation wants to merge 2 commits into
mainfrom
release/0.4.15
Open

turkananation wants to merge 2 commits into
mainfrom
release/0.4.15

Conversation

@turkananation

Copy link
Copy Markdown
Owner

Summary

  • PqXeddsa signs a 32-byte X25519 key. The signature matches libsignal PrivateKey::calculate_signature for the same secret, message, and 64-byte Z.
  • signAll / verifyAll batch that work on isolates. Pqxdh.signedPrekeyAuthentic checks the signed prekey. The handshake still throws.
  • Ed25519 inversion uses the ref10 chain and scalar multiplication uses a 4-bit window. The SDK constraint is ^3.14.0. The field multiply stays scalar: a 16-bit limb product does not fit in signed Int32x4. No .pqf / .pqfs change.

Test plan

  • dart run tool/agent/verify.dart full on Dart 3.14.1
  • libsignal verify vector and calculate_signature bytes
  • RFC 8032 Ed25519 vectors still match after the window and inversion change

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

No deployments
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.

1 participant