Recovery Guide
§G1 To whoever is reading this
You have found some part of the Afterberry vault: shard files, photographs, a ceramic tablet, a printout of this page. This guide tells you how to turn what you have into what it was. It assumes you can read this language and perform arithmetic. It does not assume that afterberry.com exists, that any institution named here still does, or that you are human.
Nothing in the procedure requires permission, authentication or contact with anyone. There are two questions of a different kind — whether you may, and what you owe — and they are taken up in Rights & Reception. Read that too. It is shorter.
§G2 Gather, and do no harm
Work on copies. Record where and when each object was found, and keep that record with the bytes; provenance is evidence, and you may be the last person able to write it down. Collect everything that travels with the vault: shard files, capsule inventories, the carrier catalogue, the lock file, the photographs, this manual, the reference program.
Never overwrite a unique survivor with a repaired version. Keep both. A corrupted shard that you cannot use may be useful to someone with better mathematics or a second fragment.
§G3 Verify
§G4 Rebuild the capsules
Each capsule was split into 88 shards under a systematic Reed–Solomon code, k = 60 (Preservation §R3). With any 60 verified shards of a capsule, invert the corresponding 60 rows of the encoding matrix, recover the 60 data shards, and concatenate them. Trim to the ciphertext length given in the shard header.
With fewer than 60, do not give up on the capsule. Shards 1–60 are verbatim slices of the ciphertext, each a whole number of independently encrypted chunks. Data shard s begins at chunk record (s − 1) · ⌈R/60⌉, where R is the number of records in the capsule; you need that index for the nonce. Keep the shards in order, note the gaps, and carry on: every chunk you hold can still be opened in §G6.
§G5 Open the lock
Read the ring from byte 5 of the capsule’s header core. If it is FF, the capsule belongs to the Remainder; go to §G7. Otherwise you need the waypoint value yk for that ring, and there are two ways to get it (Sealing §S3).
Either way, confirm arrival: SHA-256(“afterberry/AB-L1/check/” ‖ k ‖ yk) must equal the check published in the lock file.
§G6 From waypoint to plaintext
bag-info.txt and the capsule’s own description. The maker wrote them for you.§G7 The Remainder
A Remainder capsule has no sealed key and no door. Its content key was destroyed at the sealing and was never written anywhere. Rebuild and keep the ciphertext exactly as for any other capsule: the algorithm, nonce rule and associated data are the same, and if your mathematics has made AES-256 transparent, they are all you need.
If it has not, leave the Remainder shut and intact for whoever comes after you. It was the part of herself the maker was least willing to have read, and she sealed it knowing it would probably never be. That is information too.
§G8 Partial survival
Process every capsule independently and publish what you learn about each: recovered complete, recovered in part, ciphertext only, absent. Do not describe the failure of one capsule as the loss of the vault. The design expects pieces to go missing and was arranged so that the pieces left over still make sense.
§G9 What it costs
| Step | Work |
|---|---|
| Hashing and signature checks | trivial |
| Reading 8,888 photographic records | trivial |
| Reed–Solomon reconstruction | light — linear in the size of the archive |
| The lock, by patience | up to about 1.2 × 1019 sequential squarings of an 8,192-bit number, less whatever the relay has already done |
| The lock, by capability | factoring an 8,192-bit n, once |
| Unwrapping and decrypting | trivial, given the waypoint |
| The Remainder | a break of AES-256 |
The vault is not designed to be hard to open. It is designed to be impossible to open cheaply before its time, and mechanical afterwards. Everything except one step is bookkeeping, and the reference program shows how the bookkeeping goes.
§G10 Try it now
The heart of the procedure can be run today against the rehearsal set, with one file of Python: both doors, the milestones and relay proofs, the sealed keys, chunk decryption, reading a carrier, and — on throwaway data — rebuilding a capsule from 60 of its 88 shards. Signatures, inventories and bag unpacking are left to the standard tools that already do them. If you are reading this long after Python, the file is short and says what it means; translate it.