| Internet-Draft | PQC Evidence Records | October 2026 |
| Alhemeiri | Expires 2 May 2027 | [Page] |
This document describes an evidence-record format for the long-term, verifiable preservation of digitally-signed data across the migration to post-quantum cryptography. It builds on the Evidence Record Syntax (ERS) of RFC 4998 and adds an explicit algorithm-agility extension: a record is a chain of signed attestations in which each link re-witnesses the data under a fresh signature primitive and commits to the prior link, so that the authenticity of the data survives the cryptographic break of any single primitive. It specifies the canonical hashing that makes a record reproducibly verifiable across independent implementations, the exact binary encoding a decoder accepts, the authenticated temporal binding that places each link in time (an append-only transparency log à la RFC 6962, whose signed inclusion receipt is not-after evidence), and the verification procedure. A per-link beacon anchor records not-before evidence: from wire version 3 it is authenticated against the beacon's hash chain, with the beacon's classical pulse signature as defence in depth; the Security Considerations say which assumption each check rests on.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 2 May 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
A signature proves authenticity now. Preserving that proof for decades raises two problems RFC 4998 (ERS) [RFC4998] already addresses — the signing key or algorithm may weaken, and the timestamp authority may change — and one it does not: the signature algorithm itself may be catastrophically broken by a quantum computer. NIST's FIPS 203/204/205 [FIPS203] [FIPS204] [FIPS205] (and draft 206) standardise post-quantum primitives, but a record signed today only with a classical or single post-quantum algorithm has no path forward if that algorithm falls.¶
This document profiles ERS for that setting. The core idea, following RFC 4998's Archive Timestamp chain, is to keep extending a record under fresh primitives before the old one is broken, with each extension cryptographically bound to its predecessor, so a verifier can establish an unbroken sequence in which every link was sound at the time it was made.¶
This document describes a format with a complete reference implementation, but the security argument has not undergone independent cryptographic review.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This profile preserves ERS's central abstraction — an ordered chain of timestamps over a data object, each renewing the evidence — and departs from it in three deliberate ways:¶
Primitive agility is part of every link. An ERS ArchiveTimestamp renews evidence chiefly to outrun hash weakening; here each link also changes the signature primitive and records which primitive was in force, so the chain spans a primitive break, not only a hash-strength downgrade.¶
Two serialisations. The normative interchange form is CBOR [RFC8949]; an alternative ASN.1 DER serialisation, aligned with RFC 4998's ASN.1 structures, carries the same chain for implementations that work in ASN.1 (Section 4.3). The chain hash is computed over a canonical JSON form (Section 4.2), independent of either, so cross-implementation byte-equality does not depend on CBOR/DER encoder quirks.¶
Explicit temporal binding. Each link's authenticated temporal evidence is an append-only transparency-log inclusion receipt (a signed tree head plus inclusion proof — not-after evidence), verifiable offline and enforced by the verifier when a witness-trust policy is supplied (Section 5). A per-link beacon anchor records not-before evidence: from wire version 3 it carries the beacon pulse record, the certificate it was signed under and, optionally, the successor pulse, and the verifier authenticates it against the beacon's hash chain with the beacon's classical pulse signature as defence in depth (Section 5, Section 8). Wire versions 1 and 2 carry the anchor unauthenticated; a verifier reports that distinctly and never upgrades it.¶
This document is a profile and extension within the ERS family, not a new
evidence format. [RFC4998] defines the Evidence Record Syntax whose Archive
Timestamp chain the agility extension above builds on. [RFC6283] (XMLERS) is
the XML serialisation of that same syntax; the two-serialisation approach here
— a CBOR interchange form beside a DER form (Section 4.3) — follows its
precedent of one evidence model carried in more than one encoding. [RFC5276]
specifies how evidence records are conveyed by the Server-Based Certificate
Validation Protocol (SCVP); this profile leaves that transport untouched, and a
record in the DER form of Section 4.3 is a candidate payload for it. The
EvidenceRecord type referenced in Section 4.3 is the ERS type whose
current ASN.1 module is [RFC9169], a restatement of the RFC 4998 and RFC 5276
modules in modern ASN.1 syntax with identical wire encoding; implementers
working from ASN.1 tooling take the type from that module. Outside the IETF,
BSI TR-03125 (TR-ESOR) [TR-03125] is a national technical guideline for
preservation services whose evidence handling is built on ERS; a record in this
profile is intended to be usable by such a service as an ERS evidence record
carrying an additional, explicitly labelled agility extension, rather than as a
competing format.¶
HASH. SHA3-256 [FIPS202]. Every hash in this document is HASH unless it is named otherwise (the beacon's own values are SHA-512).¶
Content address. The pair (root, byte_length) identifying the
protected data (Section 4.6).¶
Chain entry / link. One renewal layer: a signature over the content address under a stated primitive, an anchor, the hash of the prior link, and an optional witness receipt.¶
Anchor. Per-link not-before evidence: beacon id, epoch, root, self-bound
to the link by witnessed_hash == HASH(signature.bytes), and, from wire
version 3, one or more beacon witnesses (the pulse record, its certificate,
and optionally the successor pulse) against which the verifier authenticates
it (Section 5). In wire versions 1 and 2 the anchor is unauthenticated
metadata and is reported as such (Section 8).¶
Beacon witness. One beacon's evidence for a link: the full pulse record
with the output hashes it commits to, the DER certificate named by the
pulse's certificateId, and optionally the next pulse of the same chain,
whose previous field commits forward to the anchored pulse.¶
Witness receipt. A signed transparency-log tree head plus an inclusion proof showing the link's signature was logged — the authenticated not-after temporal evidence, enforced when a witness-trust policy is supplied.¶
Pinned. Supplied to the verifier out of band by the relying party. A key, certificate or set carried inside the object being verified is never pinned by being carried.¶
data ──► content address ──► chain entry v1
(primitive A, anchor, witness)
│ prior_chain_hash
▼
chain entry v2
(primitive B, anchor, witness)
│
▼ … extend before A breaks
¶
A record is { content_address, chain[] }. Verification (Section 5) walks
the chain from v1 outward, requiring each link's signer key to be pinned, each
link's signature to verify over the content address under its stated primitive,
each non-initial link to commit to its predecessor's chain hash, and (when a
trust policy is supplied) each link to carry a valid witness receipt from a
trusted witness with monotonic time.¶
EvidenceRecord = {
content_address: { root: bstr .size 32, byte_length: uint },
chain: [ * ChainEntry ] ; empty: refused at verification
}
ChainEntry = {
version: uint, ; 1 = initial, >1 = extension
signature: Signature,
anchor: {
beacon_id: tstr,
epoch: uint,
witnessed_at_unix: uint,
beacon_root: bstr .size 32,
witnessed_hash: bstr .size 32, ; = HASH(signature.bytes)
? chain_index: uint, ; present iff wire_v >= 2
? certificate_id: tstr, ; present iff wire_v >= 2
? witnesses: [+ BeaconWitness] ; present iff wire_v == 3
},
prior_chain_hash: bstr .size 32 / null, ; null iff initial
? wire_v: 2 / 3, ; absent for wire version 1
? not_before: NotBefore / null, ; present iff wire_v >= 2
? inclusion: WitnessReceipt ; absent when there is none
}
Signature = {
algorithm: tstr, ; see Algorithm Identifiers
algorithm_version: uint,
bytes: bstr,
public_key: bstr,
signed_at_unix: uint
}
NotBefore = {
chain_index: uint,
pulse_index: uint,
output_value: bstr .size 64
}
BeaconWitness = {
source: tstr, ; e.g. "nist-beacon-v2"
pulse: Pulse, ; the full beacon v2 pulse record
certificate_der: bstr, ; the certificate the pulse names
successor: Pulse / null ; next pulse of the same chain
}
¶
The CDDL lists every map's fields in the order an encoder writes them, which Section 4.5 makes normative.¶
certificate_id is the SHA-512, in lower-case hex, of the DER certificate the
pulse names; not_before is the pulse bound in the signed message
(Section 6), and is null on a wire version 2 or 3 link that binds
no pulse; a Pulse is the beacon's v2 pulse record, re-expressed as a CBOR
map with its hex fields in lower case; certificate_der lets the classical
check be repeated offline.¶
witnesses is REQUIRED on a wire version 3 link and MUST NOT appear on any
other: a decoder MUST reject a lower-version link that carries it (a legacy
anchor presented as authenticated) and a version 3 link without it, or with an
empty list. The witness at index 0, the primary witness, is the pulse the
signed message binds (Section 6); any further witness is an
independent beacon and is OPTIONAL.¶
The signature is computed over a domain-separated message (Section 6) binding the content address, the signing time, and the algorithm identifier, so a signature made for one protocol context cannot be replayed in another.¶
prior_chain_hash for link n+1 is HASH of the canonical JSON encoding
of link n. The canonical JSON form is RECOMMENDED for all cross-implementation
hashing and is defined as:¶
a JSON object with keys sorted lexicographically, no insignificant whitespace
("," and ":" separators);¶
octet-string fields encoded as lower-case hex with a _hex key suffix;¶
exactly these fields per link:¶
{
"anchor":{"beacon_id":<tstr>,"beacon_root_hex":<hex>,
"epoch":<uint>,"witnessed_at_unix":<uint>,
"witnessed_hash_hex":<hex>},
"prior_chain_hash_hex":<hex|null>,
"signature":{"algorithm":<tstr>,"algorithm_version":<uint>,
"bytes_hex":<hex>,"public_key_hex":<hex>,
"signed_at_unix":<uint>},
"version":<uint>
}
¶
A wire version 2 link adds, in the same sorted-key form, "wire_v":2,
"not_before" ({"chain_index","output_value_hex","pulse_index"} or null) and
"certificate_id"/"chain_index" inside "anchor". A wire version 3 link
adds those same keys with "wire_v":3 and, inside "anchor",
"witnesses_hex": the HASH of the deterministic CBOR ([RFC8949]
Section 4.2) of the array [[source, pulse-json, successor-json-or-null,
certificate_der], ...] where each pulse is its canonical JSON (sorted keys,
no whitespace, lower-case hex) carried as a text string. The witness list is
therefore committed by the chain hash and cannot be exchanged after the link
is chained.¶
An implementation MUST produce byte-identical canonical JSON for the same
link; this is what lets independent verifiers compute the same chain hash.
Note the witness receipt (inclusion) is not part of the chain hash — it
is supplementary evidence bound to the link by
witnessed_hash = HASH(signature.bytes), so attaching or detaching it does
not alter the chain.¶
An alternative ASN.1 DER serialisation, aligned with RFC 4998's ASN.1 structures, is defined here for implementations that work in ASN.1. The evidence record is carried in a ContentInfo-style wrapper that identifies it by the Wathīqa enterprise OID (Section 7):¶
WathiqaEvidenceRecord ::= SEQUENCE {
contentType OBJECT IDENTIFIER, -- 1.3.6.1.4.1.66038.1.1
content EvidenceRecord } -- SEQUENCE { version,
-- contentAddress…, chain }
¶
The inner EvidenceRecord carries the post-quantum AlgorithmIdentifier OIDs of
Section 7 and a leading version INTEGER giving the DER
profile. An encoder emits profile 4, whose chain entries carry wire_v, the
anchor's chain_index and certificate_id, and an OPTIONAL NotBefore
SEQUENCE. A decoder accepts the wrapped form with inner profile 4 or 3 and the
legacy bare form (no wrapper) with profile 1 or 2, distinguishing the two by
the tag of the leading inner element (OBJECT IDENTIFIER vs INTEGER). A decoder
MUST reject a record whose contentType is not the Wathīqa evidence OID, a
wrapped record whose inner profile is not the one its shape decodes as, a bare
record claiming profile 3 or later, a non-minimal length or INTEGER, and
trailing bytes.¶
The DER form carries the signed chain only. It does not carry witness receipts
(inclusion) or beacon witnesses, and profile 4 accepts wire versions 1 and 2
only: a record containing a wire version 3 link has no DER form in this
revision. For a record without receipts whose links are all wire version 1 or
2, the DER form round-trips with the CBOR form. The detailed ASN.1 module is
tracked in the implementation (asn1_der.py, authoritative; Rust der.rs in
lock-step); a future revision will inline it.¶
WitnessReceipt = {
schema: "wathiqa.witness_receipt.v1",
witnessed_hash: bstr .size 32, ; = HASH(link signature.bytes)
leaf_index: uint,
sth: SignedTreeHead,
inclusion_proof: [ * bstr .size 32 ]
}
SignedTreeHead = {
schema: "wathiqa.sth.v1",
log_id: tstr,
tree_size: uint,
root: bstr .size 32,
timestamp_unix: uint,
signature: Signature ; as in a chain entry
}
¶
The Merkle tree follows [RFC6962] hashing (leaf = HASH(0x00 || data),
node = HASH(0x01 || left || right)), with HASH as the hash; the logged
data of a link is its witnessed_hash. The tree head's signature is made
over the content address (Section 4.6) of the octets¶
"wathiqa.sth.v1" || 0x00 || len(log_id)(4, BE) || log_id-utf8 ||
tree_size(8, BE) || root(32) || timestamp_unix(8, BE)
¶
under the signing context wathiqa.sth.v1 (Section 6). A receipt
verifies offline: check that the tree head's signer key is pinned, check the
tree head's signature, then check that the inclusion proof connects
witnessed_hash at leaf_index to the tree head's root.¶
Every structure of this document is carried in exactly one byte form. A decoder MUST accept that form and refuse every other, so that one sequence of bytes can never be read as two records, and two encodings of one record can never both be accepted.¶
Field-order family. The evidence record and everything inside it (the content address, chain entries, signature, anchor, not-before claim and beacon witnesses with their pulses), the witness receipt and the signed tree head (Section 4.4), whether standalone or inside a record, are encoded with:¶
each map's fields in the order Section 4.1 and Section 4.4 list them, an optional field taking its place in that order when present;¶
the deterministic rules of [RFC8949] Section 4.2.1 other than key order: every argument in its shortest form and every length definite;¶
text-string map keys only;¶
no tags anywhere;¶
no simple value other than null, and no floating-point value.¶
Bytewise family. The same implementations carry other structures that this document does not define (signing envelopes, trust-anchor bundles, attestations, provenance manifests, the pulses of the implementation's own beacon service). These use the key order of [RFC8949] Section 4.2.1: keys sorted by the bytewise lexical order of their deterministic encodings, a tag only where that structure's own format defines one, on the outermost item, and no simple values. Where the bytes sit fixes the family: a witness receipt or tree head carried inside a bytewise-family structure is encoded in that family, and a NIST pulse inside an evidence record is a field-order map.¶
The round-trip rule. For either family a decoder MUST, after reading the structure, re-encode it with the encoding rules above and compare the result with its input; if the bytes differ, the input is refused. This one rule enforces both families, and it is the rule Section 8 ("Canonical-form attacks") relies on.¶
A decoder MUST refuse, before reading any field as a value:¶
a map with two keys whose encodings are identical, whatever their type;¶
a tag the format does not define at that position; tag 55799 (self-described CBOR) is never defined, at any position;¶
a non-shortest argument, an indefinite-length item, or bytes after the top-level item.¶
The exact form also fixes what is absent and what is present:¶
inclusion is absent when a link has no witness receipt. It is never
null; a link carrying "inclusion": null MUST be refused.¶
wire_v is absent for wire version 1 and present for versions 2 and 3; a
link carrying "wire_v": 1 MUST be refused.¶
not_before, anchor.chain_index and anchor.certificate_id are absent for
wire version 1 and present for versions 2 and 3 (not_before possibly
null).¶
A map holding a field the exact form does not write (an unknown field) MUST
be refused, as must a map missing a field the exact form writes, or holding
null where the field is omitted.¶
Extensions to these structures come with a new version number (a new wire_v
value, a new schema string), never as extra fields in an existing version: an
existing decoder refuses the extended object rather than reading past what it
does not understand.¶
An implementation MAY refuse an encoded structure larger than 16 MiB or nested more than 256 levels deep; the reference implementation does both.¶
The data is split into 4096-byte chunks; the last chunk is padded with zero
octets to 4096 octets. Each chunk's leaf hash is HASH(0x00 || chunk) and the
leaves form an [RFC6962] Merkle tree (interior node
HASH(0x01 || left || right), split at the largest power of two below the
leaf count, so an unpaired node is carried up, never duplicated). root is
that tree's root and byte_length the data's length in octets before
padding. Empty data has the single leaf HASH(0x00), which is its root, and
byte_length 0. Both values are bound into every signature
(Section 6).¶
A verifier is given the protected data D, the record, a set of pinned signer
public keys S, and OPTIONALLY a set of pinned witness public keys W. It
MUST:¶
Recompute the content address of D (Section 4.6) and check it
equals record.content_address.¶
Refuse a record whose chain is empty.¶
Check that the public key of every link is in S, before any signature is
verified. A record with any link outside S is refused, and the refusal
names the links. A verifier given no S checks each link under the key the
link carries; that is a self-consistency check, not a verdict, and the
verifier MUST report that no signer was pinned instead of reporting
acceptance.¶
For each link, in chain order, with prev = the link before it (none at
position 0):¶
(a) Verify signature over the content address under signature.algorithm
and the signing context of the link's wire version (Section 6).
Reject on failure.¶
(b) By position, not by the version field: the link at position 0 MUST
have version == 1 and prior_chain_hash == null; every later link
MUST have a version strictly greater than prev.version and
prior_chain_hash == HASH(canonicalJSON(prev)).¶
(c) If W is supplied (temporal-binding enforcement): require inclusion to
be present and valid (Section 4.4); require
inclusion.witnessed_hash == HASH(signature.bytes); require the tree
head's signer key to be in W; and require tree-head timestamps to be
non-decreasing along the chain.¶
(d) Beacon anchor. Require anchor.witnessed_hash == HASH(signature.bytes).
If wire_v == 3, check each witness in order. A witness whose source
has no pinned certificate set is SOURCE_UNPINNED, before any pulse
check: a pulse is never checked against the certificate the witness
carries alone. Otherwise require ALL of: the pulse is well-formed;
certificateId == SHA-512(certificate_der) and that certificate is in
the source's pinned set; the pulse signature verifies under it; and
outputValue == SHA-512(serialization || signatureValue). For the
primary witness further require that anchor.epoch equals the pulse
index; anchor.chain_index (when not 0) and anchor.certificate_id
(when not empty) equal the pulse's; anchor.beacon_root ==
HASH(outputValue || pulseIndex), with the pulse index as ASCII
decimal digits; anchor.witnessed_at_unix is the pulse's timestamp in
Unix seconds; and the link's not_before is not null and names exactly
this pulse (chain index, pulse index, outputValue). Any further witness
MUST lie within one beacon period of anchor.witnessed_at_unix. If a
witness carries a successor, require it to authenticate under the same
certificate, to be the next index of the same chain, to have its
previous value equal the anchored outputValue, and to have a
timestamp no earlier than the pulse's.
Report one verdict per link: INVALID if any witness fails a check;
otherwise SOURCE_UNPINNED if any witness is unpinned; otherwise
AUTHENTICATED if every witness carries an authenticated successor,
AUTHENTICATED_NO_SUCCESSOR if not, and CHAIN_CONFIRMED where an optional
online re-fetch of the primary pulse agreed (a re-fetch that disagrees
is INVALID). If wire_v < 3, report LEGACY_UNAUTHENTICATED and perform
no further anchor check. An INVALID or SOURCE_UNPINNED anchor MUST fail
the link whatever the policy; a LEGACY_UNAUTHENTICATED anchor MUST NOT be
upgraded and fails the link only under a policy that requires
authenticated anchors.¶
Accept iff every link passed.¶
Acceptance means: there exists an unbroken sequence of attestations, each made by a signer the relying party pinned, in which each primitive was applied while sound, the data was unchanged throughout, and (under a trust policy) each step was publicly logged by a trusted witness in monotonic time. Which primitives a relying party still trusts at verification time is the relying party's policy input, not a property of the record.¶
Every signature commits to a context tag so a signature for one protocol cannot be replayed in another. The base message layout is:¶
context-utf8 || 0x00 || algorithm-utf8 || 0x00 || root(32) ||
byte_length(8, big-endian) || signed_at_unix(8, big-endian) ||
extra
¶
extra is empty for every v1 context. Evidence-record links produced from
wire profile v0.3 onward sign under wathiqa.evidence.v2 with a fixed-width
extra tail:¶
signer_id(32)
-- HASH of the signer's public key
prior_flag(1) || prior(32)
-- 0x00 + zeros = genesis; 0x01 + hash = link
nb_flag(1) || nb_chain(8, BE) || nb_pulse(8, BE) || nb_output(64)
-- 0x00 + zeros = no not-before binding;
-- 0x01 = NIST Beacon 2.0 pulse claim
¶
A chain entry declares its rule on the wire via wire_v: absent = 1, the
legacy rule under wathiqa.evidence.v1, which verifiers MUST support
indefinitely; 2 = the rule above; 3 = the same signed message as 2, with the
anchor's beacon witnesses as verifier-side evidence bound through the
not-before claim (no new signing context). Any other value MUST be rejected at
decode. Mixed chains are legal: a v1 record extended under v0.3 gains v2
entries. The not-before pulse claim is a signed CLAIM; on a wire version 3 link
it is authenticated by step 4d of Section 5. Other contexts are
unchanged: wathiqa.evidence.v1 (legacy record links), wathiqa.sth.v1
(transparency-log tree heads), wathiqa.witness_roster.v1 (witness-key
succession), and others per protocol.¶
The algorithm strings an implementation of this profile recognises are
SLH-DSA-SHAKE-256s ([FIPS205]), ML-DSA-87 ([FIPS204]) and Falcon-1024
(the pre-standard Falcon, pending FIPS 206). In the DER form
(Section 4.3) SLH-DSA and ML-DSA are identified by their NIST CSOR OIDs
(2.16.840.1.101.3.4.3.30 and 2.16.840.1.101.3.4.3.19); Falcon-1024 is
carried under an experimental OID (1.3.9999.3.6) that is not for interchange
and will be replaced when FIPS 206 assigns FN-DSA its identifier. The
Wathīqa-specific structures are identified under the IANA Private Enterprise
Number arc 1.3.6.1.4.1.66038 (PEN 66038, registered at IANA to "Wathiqa
PQC"). An implementation MUST treat the algorithm string and the OID as
equivalent identifiers of the same primitive and MUST fail a link whose
algorithm it does not recognise (rather than accepting it unverified).¶
Agility window. The scheme protects data only if each link is added before the prior primitive is broken; an operational renewal policy (out of scope for this document) is REQUIRED. A record left un-renewed past a primitive's break is no stronger than that primitive.¶
Whose key signed. Every link carries the public key it was signed with,
so a record that verifies under its own keys says nothing about who made it:
anyone can replace a document and its record and sign both with a key of
their own. The signed message binds the key (Section 6); only the
relying party's pinned set S says whose it is. This is why step 3 of
Section 5 is not optional, and why every renewal link, not only the
initial one, is checked against S.¶
Temporal trust over decades. The witness keys in W must themselves survive
rotation; this profile recommends a quorum-authorised, append-only witness-key
succession pinned to a single long-lived anchor. Without it, W is
unmaintainable on a century scale.¶
Beacon anchor: what it proves, and under which assumption. A wire
version 3 link carries an authenticated beacon anchor
(Section 4.1): the full beacon pulse record with the five output
hashes it commits to, the certificate the pulse was signed under, and
optionally the successor pulse. The link's signed message binds the pulse's
outputValue (Section 6), a 512-bit value that was unpredictable
before the pulse was released, so the signature is not-before the pulse.
Two assumptions are involved and MUST be kept apart. The beacon's own pulse
signature is classical (RSA, [NIST-BEACON]); verifying it under the
pinned certificate is defence in depth at sealing time and a repeatable
offline check afterwards, but a post-quantum adversary who breaks RSA can
forge a pulse record with any timestamp. The post-quantum claim
therefore rests on the beacon's hash chain: every pulse's outputValue is
the SHA-512 of its signed serialization and signature, every pulse commits
to its predecessor's outputValue, and the successor carried in the anchor
commits forward to the anchored pulse. What a verifier can establish from
the record alone is that the link commits to a pulse value that is
internally consistent with a chain context; placing that value in the chain
the beacon actually published requires either the classical signature or an
independently obtained copy of the chain (a live fetch, or an archive kept
by the verifier). Implementations SHOULD keep such a copy for records they
expect to verify beyond the life of the beacon's RSA keys, and MUST report
the anchor verdict distinctly (Section 5): a legacy unauthenticated
anchor MUST be reported as such and MUST NOT be upgraded to authenticated by
any verification step.¶
Beacon certificate rotation. A pulse names its certificate by
certificateId; a verifier MUST pin certificates out of band, per source
name matched exactly, and MUST fail closed when the source has no pinned
certificate, when the named certificate is not pinned, or when the signature
does not verify under it. On 2026-09-05 the reference implementation
observed live pulses that named a newly issued certificate and carried
signatures that verified under neither the new nor the previous key; this
document does not state a cause. The sealing rule, verify the pulse before
binding it and refuse otherwise, covers that situation.¶
Fail-closed verification. A verifier MUST treat any malformed field, unrecognised algorithm, or unverifiable proof as verification failure, never as success.¶
Canonical-form attacks. Because the chain hash is over a canonical form, implementations MUST reject inputs that do not round-trip to that exact form (Section 4.5: non-minimal numbers, duplicate keys, tags, unknown fields), to deny an attacker a second pre-image via encoding ambiguity. Before this rule was enforced at decode, a key given twice, once behind tag 55799, was read as one value by some implementations and as the other by the rest.¶
The Wathīqa structures of Section 4 are identified under IANA Private
Enterprise Number 66038 (1.3.6.1.4.1.66038), already registered — no further
OID registration is requested for them.¶
Still outstanding (a separate IANA process, not yet filed): registration of
the two media types application/wathiqa-evidence+cbor and
application/wathiqa-evidence+der.¶
A reference implementation (Python) is authoritative for the wire formats. A TypeScript verifier decodes all three wire versions in the exact form of Section 4.5. A JavaScript SDK and a Rust port read wire versions 1 and 2, refuse wire version 3 at decode, and reproduce the canonical chain hash byte-for-byte for the versions they read. All of them are run against one shared suite of test vectors, including encoding-level negatives (non-shortest arguments, tags, duplicate keys, unknown fields, wrong schema strings), and must reach the same verdict on each. This draft documents the reference implementation's formats; divergences are implementation bugs, not intended profile variation.¶
New Section 4.5: the exact byte form per structure family (field order, or RFC 8949 Section 4.2.1 bytewise order), one round-trip rule for both.¶
Section 4.5: duplicate keys, undefined tags (55799 included) and unknown fields are refused at decode.¶
inclusion is absent when there is no receipt, never null
(Section 4.1, Section 4.5).¶
wire_v is absent for wire version 1; "wire_v": 1 is refused.¶
Extensions come with a version change, never as extra fields.¶
Section 4.1: fields listed in encoder order (inclusion last).¶
Section 4.1: chain_index, certificate_id and not_before
present exactly from wire version 2.¶
New Section 4.6: the content address defined (4096-octet chunks, zero padding, RFC 6962 tree, empty data).¶
Section 4.4: schema strings, field order and the tree head's signed octets added.¶
Section 5: pinned signer keys S required for a verdict; every link
checked against S before any signature.¶
Section 5: link order checked by position, versions strictly increasing.¶
Section 5: SOURCE_UNPINNED verdict and the exact anchor checks added.¶
Section 4.3: encoder emits DER profile 4; decoder accepts 3 and 4 wrapped, 1 and 2 bare.¶
Section 4.3: no receipts, beacon witnesses or wire version 3 in DER.¶
Section 7: the three algorithm strings and their OIDs listed.¶
Security Considerations: "Whose key signed" added; pin certificates per source.¶
Implementation status restated per implementation and wire version.¶
Sections 1.2, 4.3 and Appendix A reworded: the DER form is an alternative serialisation; Appendix A says how implementations are checked.¶
PEN 66038 stated as registered to "Wathiqa PQC"; no cause stated for the beacon observation.¶
Author affiliation MBQ, Abu Dhabi; date and version updated.¶
Authenticated beacon anchors (wire version 3, Section 4.1): the anchor carries the pulse record, its certificate and optionally the successor pulse; the verifier authenticates it (Section 5, step 2d in -01) and reports a distinct verdict; legacy anchors are reported, never upgraded.¶
Security Considerations rewritten to state which assumption each anchor check rests on: the beacon's pulse signature is classical; the post-quantum not-before claim rests on the hash chain, and on an independently held copy of it for verification beyond the life of the beacon's keys.¶
Canonical chain hash extended for wire version 3 (Section 4.2).¶
-00 was the initial public revision. The following changes were made in the pre-submission revisions that preceded it:¶
Wire profile v0.3: chain entries carry wire_v (version gate); the v2
signed message binds the signer identity, the prior chain hash, and an
optional NIST-pulse not-before claim (Section 6). v1 records remain
verifiable indefinitely.¶
Anchor structure gains chain_index and certificate_id (beacon chain and
pulse-certificate pinning for authenticated re-verification).¶
ASN.1 DER profile v4 (per-entry wire version, optional NotBefore SEQUENCE, extended anchor); v1–v3 remain decodable, only v4 is emitted.¶
The machine-checked model now proves the strengthened per-link property: acceptance implies an honest attestation of (document, algorithm, POSITION), or a prior primitive break.¶