[vault] Identity: docs/IDENTITY.md and the mandatory tests, before the code

This commit is contained in:
2026-11-03 18:52:01 +01:00
parent 6e4da02351
commit 680b66cff7
4 changed files with 292 additions and 0 deletions
+2
View File
@@ -119,6 +119,8 @@ UTF-8 JSON, held in zeroizing buffers while being encrypted or parsed:
- `fields` is an ordered list; a name may repeat (several `url`s). Unknown names are kept as custom fields.
- `history` keeps the previous value of a secret field each time it changes (newest last, at most 20 per item).
- Readers ignore JSON members they do not know, so later versions can add them.
- `identity` (optional, core 0.7.0): the Domi identity's root key and the certs it issued (docs/IDENTITY.md).
An older Custos drops it when it saves, so every Custos that saves the vault must be 0.7.0 or later.
### Item types and their fields (v1)