The key words in this document are to be interpreted as described in BCP 14 [RFC 2119] [RFC 8174] when, and only when, they appear in all capitals.
1. Purpose
CVL is an append-only, tamper-evident log of key-lifecycle and policy events (create, rotate, revoke, destroy, migrate, suite state change). It lets an operator prove, and a third party check, that the history of keys and policies has not been rewritten.
CVL is a Merkle-tree transparency log in the style of Certificate Transparency 2.0 [RFC 9162] (note: RFC 9162 is an Experimental RFC; CVL borrows its tree, proof and checkpoint concepts, not its certificate-specific data structures). CVL is not a blockchain: there is no consensus, no token, and one operator per log. Its trust comes from signed checkpoints that independent witnesses can co-sign and compare.
CVL MUST NOT contain secrets (key material, plaintext) or personal data.
2. Entries
Each leaf is the deterministic CBOR (CCSAX-0003 §4.1) encoding of:
CvlEntry = {
1 => uint, ; entry format version = 1
2 => tstr, ; event type, from the registry in §6
3 => uint, ; time: seconds since Unix epoch, as claimed by the operator
4 => tstr, ; log id (the log's own name, e.g. "ccsax-log/tenant-scope/prod")
5 => EventBody, ; per-event fields, §6
? 6 => bstr, ; actor: opaque id of the operator principal (no personal data), max 64 bytes
}
EventBody = { * uint => tstr / uint / bstr }
Leaves are hashed exactly as in RFC 9162 §2.1.1: leaf_hash = SHA-256(0x00 || entry) and interior
nodes SHA-256(0x01 || left || right). SHA-256 is kept for compatibility with existing transparency
tooling. Whether CVL should move to SHA-384 or SHA3 is an open question (Labs L4).
3. Proofs
- Inclusion proof: the audit path defined in RFC 9162 §2.1.3.
- Consistency proof between tree sizes
m < n: RFC 9162 §2.1.4. - Verifiers MUST implement the verification algorithms of RFC 9162 §2.1.3.2 and §2.1.4.2.
4. Checkpoints
A checkpoint commits to the log state. CVL adopts the C2SP tlog-checkpoint text format (version
cited in Labs L4) so that existing witness software can be reused:
<origin> e.g. ccsax.dev/cvl/example-operator/prod
<tree size, decimal>
<root hash, base64 std>
[optional extension lines]
— <signature lines in signed-note format>
- Checkpoints MUST be signed with CCSAX-G1 (composite ML-DSA-65 + Ed25519, RFC 10073) once that
suite is activated by CEP. Until then, a CVL deployment is
experimentaland MAY sign with Ed25519 alone, clearly labelled. - The signed-note key type identifier and the exact message encoding for G1 are open (CCSAX-0004, G1 section). They must be fixed by CEP before 0.2.
- The operator MUST publish a new checkpoint at least every 24 hours and after each lifecycle event batch, and MUST keep every checkpoint it has published.
5. Witnessing and monitoring
- Witnesses (independent parties) verify consistency between successive checkpoints and co-sign
them (C2SP
tlog-witnessprotocol). An operator showing two inconsistent checkpoints for the same origin has equivocated; co-signed checkpoints make that provable. - Monitors fetch all entries and check application-level rules: e.g. every
key.rotaterefers to an existing kid; nosuite.statejumps fromforbiddenback toactivewithout a CEP id; akey.destroyfor a tenant is never followed by use of that kid. - Adopters SHOULD publish their log origin and public keys.
6. Event registry (initial)
| Event type | Body fields (key: meaning) |
|---|---|
key.create |
1: kid, 2: kv, 3: suite, 4: scope label (e.g. "tenant-kek") |
key.rotate |
1: kid, 2: old kv, 3: new kv |
key.revoke |
1: kid, 2: kv, 3: reason code (compromise / superseded / other) |
key.destroy |
1: kid, 2: list of versions encoded as a text string "1,2,3" |
suite.state |
1: suite id, 2: old state, 3: new state, 4: CEP id or advisory id |
registry.publish |
1: registryVersion, 2: SHA-256 of registry/suites.json |
migrate.start |
1: job id, 2: plan hash (SHA-256 of the canonical plan) |
migrate.batch |
1: job id, 2: batch number, 3: item count, 4: SHA-256 of sorted item ids |
migrate.done |
1: job id, 2: total items, 3: result (ok / failed) |
Key ids in CVL are the same opaque ids as in CEF headers. Tenant identity SHOULD NOT be derivable from them. Item ids are hashed, never listed.
7. Privacy considerations
Because a log is public or semi-public and permanent, entries MUST NOT include personal data, tenant names, plaintext, ciphertext or key material. Even opaque ids can link activity over time; operators SHOULD consider one log per deployment and pseudonymous kids. Deleting entries is impossible by design; this is why personal data is forbidden from the start.
8. Security considerations
- CVL detects history rewriting only if someone (witness, monitor, auditor) checks consistency.
- Event time is operator-claimed; witnesses bound it only coarsely.
- The log proves what the operator logged, not what it did: an operator can perform an unlogged key operation. Binding actual key use to the log (e.g. via KMS attestations) is Labs L4.
- Signing keys for checkpoints are high-value; keep them in an HSM.
9. Open items before implementation
- G1 signed-note encoding; 2. hash function choice; 3. storage/tiling format (C2SP
tlog-tilesis a candidate); 4. witness policy; 5. conformance vectors for inclusion and consistency proofs.
10. References
- [RFC 9162] B. Laurie, E. Messeri, R. Stradling, "Certificate Transparency Version 2.0", RFC 9162 (Experimental), December 2021.
- [RFC 6962] B. Laurie, A. Langley, E. Kasper, "Certificate Transparency", RFC 6962 (Experimental), June 2013.
- RFC 10073, Composite ML-DSA for Use in X.509 PKI, November 2026 (for CCSAX-G1).
- C2SP specifications
tlog-checkpoint,signed-note,tlog-witness,tlog-tiles(https://c2sp.org; versions cited in Labs L4). - S. A. Crosby, D. S. Wallach, "Efficient Data Structures for Tamper-Evident Logging", USENIX Security 2009.
- [RFC 2119], [RFC 8174].