跳到內容
GitHub

Cryptography

Unaudited

本頁內容尚未翻譯。

Every primitive and key-handling routine lives in capsule-core::crypto. All clients and the server’s no-key validation path run the same code.

Sub-doc Owns
Cryptographic Primitives Inventory of every hash, KDF, AEAD, signature, KEM, ciphersuite and version id
Key Management Key hierarchy, account types, device directory, write authorization, rotation
MLS Group Membership Group membership, history delivery, FS/PCS
Asset and Metadata Encryption Asset and metadata AEAD, the blob header and key commitment, wire formats, classifying a blob that will not open
Signed Manifests and Provenance Signed manifests, append-only chains, derivative provenance
  • Audited libraries only (RustCrypto, dalek, OpenMLS over libcrux). Capsule is never the first serious user of an implementation.
  • Memory hygiene: plaintext and key material are zeroed on drop, with secure allocation where available.
  • Server stores, never authorizes: it holds ciphertext and key-free index facts. Every authorization is verified against MLS-distributed material.

Keys, Encryption and Provenance each list the failure modes they were designed against. Independent recovery paths are in Backup and Recovery — Recovery Paths and transport security in Network Resilience — Transport Security.