Bradley (2026-11-21): "I'd like to add some more cool features regarding cryptography. Checking or something interesting to the backups, giving this a bit of flair." He chose the Backup Seal with "How Vault checked it" ("Go with your pick"). He then asked for a simpler seal, "kinda the vibe of an SF Symbol" (comment-2).
What it is
A seal for each backup. It's a picture and a short code, such as SMHX-9FFR, worked out from a SHA-256 hash of the backup's encrypted bytes:
- an eight-pointed badge, shaped like SF Symbols' seal, in one of eleven system colors;
- a white dial on it: two rings, each with a gap, and a dot;
- the color, and each gap's direction and width, come from the hash.
Every copy of a backup has the same seal, and different backups almost never do.
- It's printed on the PDF beside the title, and its code is in every page's header, so a loose page can be matched to its backup. Auto-backups get it too.
- It's stamped in on the screen after a PDF backup is saved (iOS), and shown once the PDF is made (Mac).
- It's on the password screen when restoring or checking a backup, so the user can see it's the backup they meant.
- Check a Backup stamps it in once the backup opens.
How Vault checked it. Once a backup opens, Check a Backup lists what opening it proved, one step after another:
- the key was made from its password (for example "Argon2id, 512 MiB, 32 passes, 4 lanes");
- nothing has changed since it was made (AES-256-GCM checked it against its authentication tag);
- everything in it decodes, as a restore would.
Ground rules
- The seal comes from the encrypted backup only, never from what it holds. So it says nothing about the backup's contents, and backing up the same items twice gives two seals.
- Vault keeps no record of seals. One is worked out again each time it's shown (MANIFESTO C6).
- No new encryption. It uses CryptoKit's SHA-256, and hashing isn't encryption, so export compliance doesn't change.
- The format never changes. Printed seals have to keep matching.
BackupSealTests pins the digest and code against values worked out separately in Python.
- Check a Backup still never says what the backup holds: no item count (C5, VAULT-158).
Done when
- The PDF, the save screen, the password screens and Check a Backup show the seal on iOS and the Mac, and the "How Vault checked it" list is on both.
docs/security-model.md has a row for the promise, and the CHANGELOG and Help mention it.
- Tests and snapshots pass, and the PR is open for Bradley to review, with screens in iCloud Drive › Claude › Vault.