[docs] Factors: format version 2, any two of password, device, TOTP, approval, passkey; machine store

This commit is contained in:
2026-11-02 15:39:47 +01:00
parent e3128b35aa
commit 4daffdff73
2 changed files with 120 additions and 0 deletions
+2
View File
@@ -1,5 +1,7 @@
# The `.custos` vault file, format version 1
Version 2 (two factors, the machine store) is in `docs/FACTORS.md`; it reuses this layout.
One file holds one vault. Everything after the header is one XChaCha20-Poly1305 ciphertext.
The header is not secret, but it is authenticated: changing any byte of it makes the body fail to open.
All integers are little-endian. The code is `crates/custos-vault/src/format.rs`.