KyRecovery manual
A blind store for sealed Ky suite backup capsules. It holds ciphertext, public recovery-key information and integrity receipts. It cannot decrypt a product backup or replace the product-specific restore procedure.
Start with Getting started, then Everyday tasks. Use Troubleshooting when something fails. Reference links the detailed configuration, recovery and security documents for this product.
This manual describes the checked-out product and its documented limits. Release availability, real-device support and production qualification must be checked for the version you install. Roadmap and design documents describe proposals unless the product documentation says they shipped.
Getting started
Deploy and protect the store
Follow the product reference for persistent storage, server keys, HTTPS and administrator sign-in. Preserve the audit key and ledger along with the database and capsule files.
Run the suite ceremony
An administrator opens /admin/ceremony in a fresh private browser window without extensions. Choose threshold k and total n. Do a throwaway print-preview rehearsal first, discard it without importing, then generate/print the real custodian cards. Confirm only the public key/topology import and close the tab. Keep the machine from hibernating during the ceremony.
Pair a product
Generate a six-digit pairing code for the correct service and give it to the product administrator out of band. Claims require an imported recovery public key. Verify the product pins that key and performs a deposit whose receipt digest matches its sealed bytes.
Everyday tasks
Deposits and integrity
Products seal their own capsules and deposit them with their own scoped tokens. Review the newest capsule, digest, size and deposit time. Verification re-hashes stored bytes; it does not open the capsule or prove that the product collected every required file.
Custody and restore
Keep custodian cards separate from the running server. Download the selected capsule using an operator session and run the product’s restore command on the operator’s machine. Enter enough shares through stdin, never command arguments or the KyRecovery server.
Unpairing
The product administrator removes its destination/token while retaining its key pin. A KyRecovery administrator separately revokes the product token. Both steps are needed; a product deposit token cannot revoke itself or download backups.
Retention and replicas
Review retention and offsite replication deliberately. Preserve receipts and the audit ledger. Verify an actual recovery copy before deleting retained capsules or changing storage destinations.
Troubleshooting
- Claim returns 409 before ceremony: import the suite public key first; the pairing code is not consumed by that refusal.
- Service mismatch or different key: compare the claimed service and pinned key; do not overwrite a pin to dismiss the error.
- 429 or 503 on deposit: use bounded retry/backoff and inspect rate/in-flight limits or server/audit health.
- Verification says corrupt: preserve evidence, identify an independently verified copy and follow the recovery procedure.
- Cannot restore with a product token: product tokens only deposit. Use an operator session to download, then the product restore command.
- Lost cards: the server has no private key or shares to recreate them. Key rotation is not a substitute for a planned recovery procedure.
When reporting a problem, include the product version, platform, failed task and a redacted error. Exclude pairing links, device secrets, recovery codes, custodian shares and private content.
Reference and security
Product reference
The repository README links the current installation commands, environment reference and supported deployment/distribution paths. Read the version matching your installation. The links below open repository documents and need network access.
Detailed product guides
- Standalone installation
- Strong-key configuration
- Upgrading to the secure compose defaults
- ceremony
- Deposits
- Integrity and audit
- Retention
- Recovery and security
- Backup status
- Verifying releases
- Assurance case
Privacy and vulnerability reports
Read SECURITY.md for this product’s security model, known limits and private reporting route. Follow that policy for suspected vulnerabilities. Do not publish credentials or private data in a public issue.
Versions
Use the release record and, where present, the repository changelog. A successful build is not proof of a published or qualified release.
Development and documentation
Contributing
Read CONTRIBUTING.md before changing the product. It owns the contribution process, build prerequisites and required product checks. Read the repository’s AGENTS.md chain when working with an agent. Native builds and tests require their documented operating systems, SDKs and devices.
Build this manual
Install mdBook 0.5.4 and Python 3. From the repository root:
mdbook build docs
python3 docs/check-links.py
Open docs/book/index.html to read the generated manual. Search and the printable
whole-book view are built in. Run the same two commands after editing chapters or links.
The generated docs/book/ directory is ignored; commit the Markdown sources and configuration.
Documentation checks
The documentation workflow builds the book, checks generated local links and anchors,
then uploads the complete book as a documentation-book artifact. It does not publish
a public website. After extracting the artifact, open index.html.
Add chapters to docs/src/SUMMARY.md. Keep user instructions consistent with current
behavior and update the related reference guides when a workflow changes. External
reference URLs are not fetched by the local-link check.
Licence
Read the project’s licence text. Third-party components keep their own licences; consult the repository and application acknowledgements for their notices.