89b5329f0640bddac9cc9eb3b74418747cd5f75b
X-Wing is composed from ml-kem, x25519-dalek, sha3 and shake and matches the draft's vectors. The PSK comes from a mutual exchange (each peer encapsulates to the other, QA A-15) bound to the full transcript in Arcanum's own HKDF layer (QA D-QA-1). Low-order X25519 values are refused. Deterministic entry points sit behind the off-by-default hazmat feature, enabled only for the tests.
Arcanum
Arcanum is the shared post-quantum crypto core of the Domi ecosystem. It is one small Rust crate that gives every Domi product a hybrid key exchange: ML-KEM-768 (FIPS 203) combined with X25519, so a shared secret stays safe as long as either of the two holds.
Via Domi uses it first, to derive and rotate the WireGuard pre-shared key. Canalis, Custos sealing and Tabellarius are expected to adopt it later.
- No primitive is written here. ML-KEM, X25519, SHA-3, HKDF and ChaCha20-Poly1305 come from vetted RustCrypto and dalek crates.
- No I/O, no network, no clock. Randomness is passed in by the caller.
- No
unsafecode.
Not audited. Nothing here is called secure before an external audit.
The design, the risks and the threat model are in docs/.
Licence
CPAL-1.0, see LICENSE. Attribution Information (Exhibit B): "Built on Domi",
Copyright (c) 2026 Marek Novák, https://aula.marek-novak.cz.
Description
Languages
Rust
96.6%
Python
3.2%
Nix
0.2%