[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:
@@ -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`:
|
||||
|
||||
Reference in New Issue
Block a user