What a ceremony is
A ceremony is a root being used. A person is present, they look at what is about to be signed, they confirm, a key signs, and a record is written. In older PKI practice it involved a locked room, several witnesses and a script read aloud. For one holder with a card, it can be a few commands at a desk. The idea is the same.
Why a ceremony is manual
Section titled “Why a ceremony is manual”Manual is not the same as slow. It means that a person decides, at the moment of signing, with the facts in front of them.
- A root is used rarely, so the cost of a manual step is small.
- A mistake is expensive and slow to undo, so the value of a human check is high.
- Automation that signs without a person is exactly what an attacker wants to reach. If a script can use the root, so can whatever controls the script.
So the rule is: a person only where a person adds safety. Reading the facts, typing a confirmation and touching a card need a person. Everything else, such as building a plan, checking a request, verifying a result and writing the record, can be done for the person, and should be.
What a good ceremony does
Section titled “What a good ceremony does”Whatever the tool, a good ceremony has the same six steps:
- Plan. Fix in advance every byte that will be signed: which key, which name, which lifetime, which serial number. A plan that cannot change during the ceremony cannot be swapped during it.
- Confirm. The person compares the plan with what they expected and confirms it. A confirmation that is just a key press becomes a habit; a confirmation that needs typing a short digest of the plan does not.
- Reserve. Write down that a signing attempt has begun, before the first signature. If the run stops half-way, the record shows that signatures may exist.
- Sign. The key signs. With a card, the PIN stays on the card and a touch is the proof that someone is there.
- Verify. Check each result with code that did not sign it.
- Record. Write what was done, with which keys, in which store, and what outsiders now see. The record holds no secret.
These steps are the same in every key store and in every tool. ritueel’s engine is built around them (the tools, ADR 0004).
What a tool may do, and what it may not
Section titled “What a tool may do, and what it may not”| A tool may | A tool should not |
|---|---|
| Build the plan, check the request, and show the facts in a readable form. | Confirm for you, or offer a “yes to all” for irreversible steps. |
| Ask for the PIN at the terminal and pass it to the card. | Store the PIN, or retry a wrong one until the card blocks. |
| Check the result and write the record. | Treat a check that did not run as a check that passed. |
| Warn you well before a root expires. | Take a decision that belongs to you, such as revoking a root. |
The rituals you will meet are: create, sign an intermediate or a subkey, record, back up, re-sign, rotate, revoke and recover. Each is a ceremony or a part of one.
Next: layered trust.