[seal] Sealed boxes and key import: custos-seal (X25519 + XChaCha20-Poly1305, match code, at-rest sealing), custos_keys::import, Vault::factor_ids; v0.5.0

This commit is contained in:
2026-11-02 18:05:00 +01:00
parent 7893dd199c
commit 7a7a628fa5
16 changed files with 566 additions and 25 deletions
+6
View File
@@ -89,6 +89,12 @@ slot, then the body.
| Both unwrap, but their pair slot is missing or fails | `Corrupted` |
| A machine store: its one device factor unwraps, then the single slot | — |
## Which factors a file has
`Vault::factor_ids(bytes)` reads the header alone and returns each factor's id and type. No key is needed,
because ids and types are not secret. The app uses them to ask the TOTP service or a paired device for a
factor. Those services pass material through a mailbox they cannot read; see `docs/SEAL.md`.
## Body
`"format": 2`, and a `factors` list next to `items`: