[docs] Factors: format version 2, any two of password, device, TOTP, approval, passkey; machine store
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user