[OpenSheaf] [specification] [use cases] [FAQ] [tools] [formal model] [first archive]OpenSheaf
In the OpenSheaf specification, every version of a line is signed by its owner, under a version of the owner's key log, and a good signature stays good (sections 6 and 7 of the specification). Signatures say who made a version, not when. So when a key may have been exposed, the core cannot tell the signatures made with it before from those its new holder makes after: the owner exposes the keys in its key log, or ends (section 6.3 of the specification); its signatures stay good, and readers trust its history only as far as other evidence goes (section 6.4 of the specification).
A timestamp is such evidence: it shows that a signature existed by a date. A single researcher needs none. A journal, an institution, or anyone who wants its history to be trusted after a key is lost to others adopts this extension in its key log, from its first version, so that every signature it makes is dated.
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 (RFC 2119 and RFC 8174) when, and only when, they appear in all capitals. Terms are those of the specification: owner, key log, key-log version, signature file, witness, line, branch, ended owner, fork record, current key, rotation key, exposed key.
This extension follows the extension mechanism of section 2 of the specification: it never changes the meaning of what the specification defines, nor relaxes its requirements, never changes by itself the status of a signature or a version, never ends an owner or decides a fork, and never lets a version into an archive by itself: its dates are evidence that readers and archives MAY weigh where the specification allows it, which admits trusted dates as evidence against contested and for adding a version of a frozen owner's lines (sections 7.3 and 7.5 of the specification). A reader that does not know it ignores the files and data it defines.
A timestamp of a signature file shows that the file, and so the signature and the signed message it holds, existed by a date. It proves existence, nothing more. Two kinds are defined, which an owner MAY combine:
RFC 3161 tokens, from a time-stamping authority (a free public one, or a qualified provider under eIDAS): a file holding a DER-encoded TimeStampResp whose message imprint is the SHA-512 digest of the bytes of the signature file, requested with the authority's certificates included (-cert with openssl ts -query), so that it can be checked with openssl ts -verify without fetching them; its name ends in .tsr.
OpenTimestamps proofs of the bytes of the same signature file; their names end in .ots.
A timestamp file of the signature file <version>/signature-<k>.json (section 7.2 of the specification), in the object's extension folder extensions/opensheaf-witnesses/, is <version>/signature-<k>.json.<e>.tsr or <version>/signature-<k>.json.<e>.ots, beside it, where <e> is the first 16 characters of the lowercase base32 (RFC 4648, without padding) SHA-256 digest of the timestamp file's own bytes, so that copies that add timestamps independently merge by keeping every file. Timestamp files are witnesses, never re-serialised, replaced or removed once made. An OpenTimestamps proof is pending when made, and complete once a Bitcoin block attests it; the completed proof is a new file beside the pending one. Anyone holding a copy MAY timestamp any signature file at any time: a later timestamp never harms, since the earliest one dates the file. Since their names cannot be computed, a reader over HTTP finds timestamp files only where folders can be listed, or in the content of a branch (section 6); elsewhere it reports that it has not looked (section 14.1 of the specification).
An owner adopts this extension in its key log: its genesis record, for the first version of the key log, or the keys.json of a later version holds, under extensions (sections 5.1 and 6.1 of the specification), an entry keyed by https://opensheaf.org/opensheaf-timestamps-0.2, an object with:
timestampAuthorities, OPTIONAL: RFC 3161 time-stamping authorities the owner trusts, each the SHA-256 fingerprint (lowercase hexadecimal) of the authority's signing certificate or of the root certificate of its chain. The authorities trusted for a signature file are those listed in the key-log version its keyLog names and in the versions before it (for the first version, in the genesis record), so that no one can add an authority later to date earlier signatures. Each version of the key log states the extensions in force (section 6.1 of the specification), so a later version that keeps the declaration repeats it. That authorities listed in earlier versions stay trusted for signatures naming a later version, also one that drops the declaration, is this extension's own reading of its data, consistent with that rule: each version states which extensions it declares, and this extension never delists an authority (section 8). Without any, only OpenTimestamps proofs are used.
The entry, even empty, declares that the owner timestamps every signature it makes, of its key log and of its lines.
The declaration validates against the schema of appendix A, and is part of the genesis record, fixed by the owner name, or of the key-log version, signed with it.
A timestamp is valid for a signature file when:
for an RFC 3161 token: its message imprint is the SHA-512 digest of the file's bytes; its signing certificate, or the root of the chain it carries, has a fingerprint listed for that signature file (section 4); every certificate of the chain was within its validity period at the token's genTime, the signing certificate is for time stamping (RFC 3161, section 2.3), and no revocation known to the reader dates from before genTime (as openssl ts -verify checks with -attime set to genTime); and the token verifies;
for an OpenTimestamps proof: it is complete, attested in a Bitcoin block; a pending proof counts for nothing.
The date of a valid timestamp is the genTime of an RFC 3161 token, or the time of the Bitcoin block an OpenTimestamps proof reaches; the earliest valid timestamp of a signature file is its date. A date counts only if it is not earlier than the date of the key-log version that the signature file's keyLog names, and a signature naming another undated key-log version has none. Signatures naming the first version of a key log, which is computed from the genesis record, never signed and so never dated, have dates all the same, but no lower bound. An authority is trusted only from the key-log version that lists it, which is itself dated by authorities listed before it, so no one, a thief with rotation keys included, can list an authority of its own to date signatures before the listing. A version is dated by the n-th earliest of the dates of its good signature files naming one key-log version, n being the number of signatures it needs (threshold or, for a version of a key log, nextThreshold of the version before; sections 6.1 and 7.3 of the specification); the first version of a key log, never signed, is not dated; a version vouched for (section 7.3 of the specification) existed by the date of the version that vouches for it. Dates within two hours of a Bitcoin block time are uncertain by that much.
Dates are evidence for readers; this extension draws no conclusion from them in the format. For an owner that has ended, and for exposed keys (sections 6.3 and 6.4 of the specification), a reader MAY trust the versions dated before the time it believes a key was exposed, and SHOULD say on what evidence. A version that needs an exposed key, or whose signatures name a version of a key log from a fork point on, is not contested for a reader, an archive included, that trusts dates showing those signatures made before the exposure, or before the fork (section 7.3 of the specification); an archive that adds such a version on dates SHOULD say so. Dates are likewise evidence on which an archive MAY add a version of the lines of an owner whose key log forks, when they show its signatures made before the fork (section 7.5 of the specification). The time of the version that ends the owner or exposes keys bounds when the owner knew, and the times of the versions a fork record carries, when the fork was made. A branch keeps the timestamp files of its parent's signatures beside them in parent/signatures/ (section 9.2 of the specification), without the <version>/ folder (parent/signatures/signature-<k>.json.<e>.tsr); a pending proof kept there can never be completed, and counts for nothing (section 5); the timestamp files of key logs are in their owner objects.
Tools that create an owner SHOULD offer to adopt this extension in its genesis record, and so from the first version of its key log, and SHOULD timestamp each signature when they make it, before a version leaves its owner's hands: with an RFC 3161 token where an owner cannot wait for an OpenTimestamps proof to complete, and with an OpenTimestamps proof beside it where an owner wants evidence that rests on no authority.
A verifier that knows this extension, in addition to the checks of section 14 of the specification, validates each declaration against the schema of appendix A, merges the timestamp files of every copy it sees, checks every timestamp file against the signature file it stamps (section 5) and its name against the digest of its bytes (section 3), reporting each as valid, invalid, pending, or from an authority not listed, and reports the date of each version.
Trust. An RFC 3161 token rests on the authority's clock and keys: an authority that misdates, or whose key is stolen, can date a signature falsely. An authority listed later cannot date a signature earlier than its listing (section 5), so a thief who lists its own dates nothing before the theft. Authorities are never delisted: if a listed one is compromised, the remedy is a new owner (section 6.3 of the specification). Listing a root certificate trusts every authority that root certifies, so an owner that wants a single authority lists its signing certificate. An OpenTimestamps proof rests on no authority, only on Bitcoin, but is complete only after hours.
Stripping. A host can remove timestamp files from a copy; readers merge the timestamp files of every copy they see. A date only shows that a signature existed by then: a thief who stamps what it signs with a stolen key gets dates too, so dates help only before the exposure.
The data of the declaration, the value of extensions["https://opensheaf.org/opensheaf-timestamps-0.2"] in the genesis record of an owner or in keys.json, validates against opensheaf-timestamps-0.2.schema.json (JSON Schema 2020-12, CC0 1.0), which allows no other properties, like the schemas of the genesis records and keys.json that hold it.
The genesis record of an owner adopting the extension from the start, with one RFC 3161 authority (a placeholder fingerprint) and OpenTimestamps; two current keys, on the owner's laptop and desktop, and the digests of three rotation keys, two of which sign the next version; the first version of its key log is computed from it, and not signed (section 6.1 of the specification; placeholder nonce):
{
"format": "opensheaf-genesis/0.2",
"kind": "owner",
"created": "2026-01-10T09:00:00Z",
"nonce": "3f9c2a7d41e85b06c9d2f1a4e7b03c58",
"keys": [ "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
"did:key:z6MkpTHR8VNsBxYAAWHut2Geadd9jSwuBV8xRoAnwWsdvktH" ],
"threshold": 1,
"next": [ "bla7pvxpfmk4o2z2btgp26zqmkpxfqutl5imae3eovmqg6labdba",
"zaolbrk7wl6fjx7atv3bphi3fkg2oukrvwj75cxp6j5dnknfme3q",
"twrtx2ec6pzozvgex4m6ndtokezgccn63kqpbl7z4bnedmxbdx2a" ],
"nextThreshold": 2,
"extensions": {
"https://opensheaf.org/opensheaf-timestamps-0.2": {
"timestampAuthorities": [ "5b4e3f0c9d2a7e18c6f4b0a39d7e2c51f8a6b3d09e4c7a12f5b8d6e3a0c9f147" ]
}
}
}
The files of one signature of the second version of its key log, by the rotation key whose digest is the first of next above, so that its name begins with the first 16 characters of that digest (section 7.2 of the specification), in the owner object's extension folder: an RFC 3161 token, a pending OpenTimestamps proof, and the completed proof written beside it later (placeholder digests):
extensions/opensheaf-witnesses/v2/signature-bla7pvxpfmk4o2z2.json extensions/opensheaf-witnesses/v2/signature-bla7pvxpfmk4o2z2.json.q7swxsz56bfiyotn.tsr extensions/opensheaf-witnesses/v2/signature-bla7pvxpfmk4o2z2.json.hm5uhlee72brbz64.ots extensions/opensheaf-witnesses/v2/signature-bla7pvxpfmk4o2z2.json.yq77barzw3gj7dbj.ots
OpenSheaf specification 0.2, sections 2, 6, 7, 9 and 14
RFC 3161, Time-Stamp Protocol, and RFC 5816, its update for other hash algorithms
0.2 (draft), 17 November 2026: first version (the extension has no version 0.1), an extension of version 0.2 of the specification, moving the timestamp rules out of the identity proposal of the specification, then revised the same day with the reviews of PR #30: RFC 3161 tokens and OpenTimestamps proofs of signature files, named by the digest of their own bytes, completed proofs as new files, anyone may stamp; the owner's declaration in keys.json under extensions; checking at genTime with listed authorities and complete proofs only; the date of a version. Finally, following the specification, where an exposed key ends its owner, the extension changes no status: it no longer confirms the signatures of revoked keys (there are none) nor resolves forks of key logs, and only gives dates that readers may weigh.
0.2 (draft), 17 November 2026, after a thirteenth review of PR #30: the declaration is the entry itself, with only timestampAuthorities; the authorities trusted for a signature are those listed up to the key-log version it names, not later ones; guidance for tools merged into section 6.
0.2 (draft), 18 November 2026, after a fourteenth review of PR #30: a date counts only if not earlier than the date of the key-log version the signature names, so that an authority listed later dates nothing before its listing; a version vouched for existed by the date of the version that vouches for it; a compromised authority means a new owner; repetitions cut.
0.2 (draft), 19 November 2026 (PR #30): following the rebuilt specification and its pre-rotation of key logs (#58): section references updated (extensions are in section 2); timestamps change no status by themselves, and are evidence that readers and archives may weigh against contested, for exposed keys, exposed on either side of a fork, and for forks of key logs, and to add a version of the lines of a frozen owner (sections 1, 2 and 6, citing sections 7.3 and 7.5 of the specification); the declaration of the first version of a key log is in the owner's genesis record, fixed by the owner name, and a later version that keeps it repeats it, authorities listed earlier staying trusted by the extension's own reading of its data (section 4, appendices A and B); a version of a key log is dated by as many signatures as it needs, nextThreshold of the version before, and the first version, computed and never signed, is not dated, signatures naming it having dates with no lower bound (section 5); timestamp files are found over HTTP only where folders can be listed (section 3), and pending proofs in a branch count for nothing (section 6); the schema allows no other properties (appendix A); the example of appendix B commits to rotation keys in next and stamps a signature of the second version, named after a digest of next.
0.2 (draft), 19 November 2026: named version 0.2, with version 0.2 of the specification, which it extends; its URI is https://opensheaf.org/opensheaf-timestamps-0.2, and its schema opensheaf-timestamps-0.2.schema.json.
0.2 (draft), 21 November 2026: the evidence of a branch point is now the folder parent/ of the specification (#55): a branch keeps the timestamp files of its parent's signatures in parent/signatures/.
0.2 (draft), 21 November 2026: the note on the draft follows the specification, whose field names (#55) and pre-rotation, exposed keys and fork records (#58) are no longer open.