Files

813 B

Origin

Vendored from https://github.com/KometTeam/crypto-core at 6e5dc4f97902b506b242a2433ee847060541dac4 for the Komet FullStack 539f7800d5f326fd52f53c6142a503b9739b9197 integration.

The upstream LICENSE and Monocypher attribution are retained. Qlyra adds a QLYRA_E2EE_LIBRARY environment override to the Dart FFI loader for native integration tests. The v2 wire protocol is unchanged. The ratchet refuses a forced extra DH step when an imported initiator has never sent its first chain: the peer cannot reconstruct that skipped root. The user can reset and re-establish this unused session. This is covered by test/e2ee_integration_test.dart in Qlyra. Legacy Qlyra password derivation remains in native/qlyra_crypto: its salt context is qlyra-enc-v1, whereas upstream Komet uses komet-enc-v1.