feat: minted keys, VRF seeds, RFC 9162 proofs, history roots, tag URIs and a transparency log
Keys (spec/02 §2.4), the rule paperstack settled on:
- A work key is a Scholar-style citation key, a hyphen and the first four
Crockford base32 characters of SHA-256("scienting-key/1:" + identity),
where the identity is the first of doi, arxiv, isbn, pmid, pmcid and
openalex in same_as, else the folded title, year and family name. A
collision lengthens the later key by two characters; a key is minted
once and never recomputed. A document key adds .si, .v<seq> or .<type>
for versions other than the version of record.
- Every fixture key is now minted (hale2026harmonic-damb,
okafor2025solvent-acth, writer2027fixed-ynr7.v3, tiny2026tiny-j4qm), so
every node and record ID was re-minted and the docs rewritten to match.
The validator checks the document key against the work key and version
(doc.key.work) and the hash part against the identifier (doc.key.suffix).
vectors/keys.jsonl pins the cases paperstack's tests pin.
Review:
- Spot-check seeds are ECVRF-EDWARDS25519-SHA512-TAI proofs (RFC 9381),
implemented in tools/oracle/vrf.py in plain Python and reproduced
against the RFC's Example 16; the sample ranks by the VRF output. The
earlier Ed25519 seed could be ground by a dishonest checker.
- RFC 9162 inclusion and consistency proofs (crypto.inclusion_path,
verify_inclusion, consistency_proof, verify_consistency) with
scienting-proof/1, vectors/proofs.jsonl and two fixture records.
- document.json carries `history`, the root over the corrections, with
the empty-tree hash for none (spec/11 §11.5, rule doc.history).
- A provisional transparency log (spec/23): log entries, signed-note
checkpoints with key hashes as transparency logs share them, the rule
that a logged revocation beats a self-asserted time, and vectors.
- Reserved signature schemes cose and ml-dsa-65 (spec/08 §8.4).
Identifiers and text:
- urn:scienting: becomes tag:scient.ing,2026: (RFC 4151), since the URN
namespace was never registered.
- Unicode 16.0 is pinned for normalization and categories (spec/01 §1.4);
the checker refuses another version.
Checking:
- check.py: keys, proofs, VRF and checkpoint vectors; the proof and
checkpoint records; a check that every ID and hash the prose quotes
exists in the fixtures or vectors; three more broken packages
(history-wrong, key-suffix, key-work).
- stress.py: key, VRF, proof and checkpoint properties.
- Docs: a keys section in the concepts and FAQ, rationale entries for
keys, VRF, proofs, tag URIs and the Unicode pin, a "Looking ahead"
section, media-type registration and OCI distribution notes.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
307 files changed
+2698
-1497
No files matched your search
@@ -1,4 +1,4 @@
|
||||
{"checker_public":"rkzxigjCXg869PGSFAVr4EDXXRmwk+S/+wJ93lrG4dc=","id":"q1","minimum":10,"n":23,"rate":"0.05","receipt":{"at":"2026-10-11T15:02:11Z","by":"ana","doc":"hale2026harmonic","evidence":[{"kind":"crop","node":"ba6xp29","sha256":"f8da39772d0f11f2ef05be9e9f26f8d5c8ef60a6c4fdd81d1e08b5f8dfa89943"},{"kind":"crop","node":"cq77erb","sha256":"414d9c94f57ac7039517d81bd915abe3d59711bb0aa8ca49e7b93b656d613b24"},{"kind":"crop","node":"dm452cm","sha256":"a6c7fc9f20c6a78160e77e2ab0154a64bec4d903b5fd1d2d99b5880591903872"},{"kind":"crop","node":"e0n07n0","sha256":"ae161916f2ff84503386df9733a7c878fe84015c17cfd36d5f9bce3539fb849b"},{"kind":"crop","node":"e4fkseg","sha256":"ab6ae30528212e54c2a74d8ed67631ff65f74055505dbe8af44d92a29bde0840"},{"kind":"crop","node":"ezb1n33","sha256":"638e1b8704af8aa5dfe1839c853a8f7ba0d8fa97fd2fdcbce2212f08bbdc0a91"},{"kind":"crop","node":"f929eq9","sha256":"cd6aaea1755038f67b5c0ccbdd962defba1eb35105cceb602b5cdbc3c215f7f2"},{"kind":"crop","node":"gy4avx6","sha256":"92248b149d2c3ec39ceeff1d3373f031f6a70cd1949c6f8122fdd6ebcd62b51c"},{"kind":"crop","node":"h5psthj","sha256":"15efd08d97b3179177450b8dcbe3a5f409ab2b69264feaf4e683ecedb5f190b9"},{"kind":"crop","node":"hw8fx4r","sha256":"91fe488a266419894e767e3cc454289006c60396d89ceae4874ba26615066e5d"},{"kind":"crop","node":"j3d4w5v","sha256":"ed0e073495b767d7f9fad42a4fb4a1cff766ef03b453269783fe374a813d226d"},{"kind":"crop","node":"j67ec9p","sha256":"ef98568b73187f04020315ab16047b8c736455c521cf67ec8c2c844ddbc03535"},{"kind":"crop","node":"k3fqnvy","sha256":"ea7890608de0285ed1b0d93383d60aa88e9c9b4fe33e4cf08715202bccc3696a"},{"kind":"crop","node":"kpk13yn","sha256":"a1ce0163f0916515deed37d4b345187528305507fbd847f68b92af0a7147af29"},{"kind":"crop","node":"kw2fb3v","sha256":"cd112f1274cc1350acc0f0b7f5fb6a7e69992277320eefd7a89177e3b818ba0a"},{"kind":"crop","node":"mkakqg3","sha256":"711a38b76111a51d10dfa95540ec9d532af4f747c579e0ce334ddb9f2dd6245e"},{"kind":"crop","node":"nkm3xn5","sha256":"9b6fe65013a5231ebfda702637f2fa7c47155f2a2dc35d93fd9e0097ec4f7af9"},{"kind":"crop","node":"qn08tj9","sha256":"3a959cece8b823dd6125490270d75ba3a8126710e11fef7746c30d294ba06b16"},{"kind":"crop","node":"rr9wvsy","sha256":"2009aedf8b2e7f5d17018e81633a9f594039dc03b199f447df0708d39f33e3c3"},{"kind":"crop","node":"sam8g7e","sha256":"69c110b291213b16b2825f6c9804a47f9da2f9537cb23d5c77ec22ca03c8b02b"},{"kind":"crop","node":"sxgcc9h","sha256":"3d7197ebb9d3256b54d773a0ed940a60c023e78a324649908f02682a3bdc66fa"},{"kind":"crop","node":"t3dsc22","sha256":"6a9991fdd7c4beac2e4396e9160305e819dbe1303487dc9777da3a022cdb7a4e"},{"kind":"crop","node":"t6gjpee","sha256":"9947acdb70078a8d1fdf2ce9b654cce2eb5d20745f35370985b809e1b931de44"},{"kind":"witness","sha256":"23b6b2aaece9cb0a828a2f0265539500fcf34d5195bf720b934b8bfdeccb9834"}],"format":"scienting-receipt/1","id":"eqgbbpwb6725v","level":"F3","nodes":[["ba6xp29","c0fe6b3090e024652f05c04c236932e6e0675efdc7bd4eab880fbc609b87abb8"],["cq77erb","f9a5df8760b27e0be045ca8fac31c6f810925a1c6f5f1adbf4d57c074e0ef7b7"],["dm452cm","3bf0f8ecfaeabf8546ecfac5ff88a5083d40b39fbc9b7d23c57070a15276631e"],["e0n07n0","6ebc7eb98564471c9fabacf60e15bbc03ee019fa3a806731b8502db326a24f6c"],["e4fkseg","5421e9cf0ef3a995792963d0371b79e11a8efad519b02efb5cb88311a896d0cc"],["ezb1n33","bc58a669d6c2dd62e34a8067482e99274365b7a9b640feb4e40f049cd4aa65f2"],["f929eq9","cd6cdb032e9b8ab712790b7181f794f6e363b7c4c96888049b59c671c1596369"],["gy4avx6","52404bd0f3b95103a0f46b59d3b6af851bcde8548fae6d349e82bc25d23a3b7e"],["h5psthj","3ef4e8338041687f926025a210859cf7f1686ace4b92bc4b5a1f96e03b55fb03"],["hw8fx4r","e554e4381827c90595a9083fd3a16e6cc72d0b14e52b3d86104c4b42a9f101b8"],["j3d4w5v","e1984eeb82451ef60cb4079dbe0c3f5f0cbd4fb359dc0a758da42f958013cb48"],["j67ec9p","b95706fc7f64b589532af7687297469d7fd2f48443190111c6361af96b578558"],["k3fqnvy","3667b6fda5e0fc2e714a303f597938e4a84a1c5786b7c233af323cba905dd745"],["kpk13yn","6e366c4aea409d36e918ad1bb71b1ec39c4203a5a0793bd66fc347c99b717760"],["kw2fb3v","dd26b057d6391ab1966fc1a6c49798e7a8e925f9c23a09812eb2758104cb6f36"],["mkakqg3","3174ecb5b11912a58c22f7069747d93753fdf0c88684ee7264dc2c0cf2ab8fe5"],["nkm3xn5","21f13b21948078f64c564334e5bb180b4495edb25a79ae32aa967986a626f3d5"],["qn08tj9","cc0bf73dd84e298da0d36c4b363c8d2bdc9b6d5738d1923d14c4a9028dca08d6"],["rr9wvsy","4a37ffce2a07de7a6fcbf4a63b0679945c79ac8db9d2ec492e0fb1ff5072540d"],["sam8g7e","9e2f3bd947511657e48b54d1fa44645b24217e10390215fb2086ea2e4f2031a9"],["sxgcc9h","76e06b4811a688357ac4b912172283463cfaf1b7a1f0795d274fc733a2309ba7"],["t3dsc22","5b180503866108fc210b788554bfdf02570e82a9f87754cd6e2293106d592158"],["t6gjpee","c63c1c3c34edbed309ddb56ded1c9dd788c5c49946e8af97b102a25ef1d96018"]],"rev":12,"root":"d2a524dee5ef347b313f1714a47f7bafd83f554266596e1ed4b3e52093642216","scope":"targeted:lode","signature":{"key":"ana","scheme":"ed25519","value":"+skdLwMCrv5nRTZnnDnTRiOIfInXBSwR0AnF1OmrrJ9ULkEFOY1T0xKPdusxOejLWSKUY+bBXu7+sOgIpHqtBA=="}},"sample":["cq77erb","e4fkseg","gy4avx6","j3d4w5v","j67ecLine truncated
|
||||
{"beta":"124417f3bbb8fcfaca31a6f3eb5c230a78db44a22502411f245d9fd088d911843d9efb674ffcf29df1cd0f0d8ea6d944bc37d765d45aed9fd64ebe7edc650784","checker_public":"rkzxigjCXg869PGSFAVr4EDXXRmwk+S/+wJ93lrG4dc=","id":"q1","minimum":10,"n":23,"rate":"0.05","receipt":{"at":"2026-10-11T15:02:11Z","by":"ana","doc":"hale2026harmonic-damb","evidence":[{"kind":"crop","node":"avbhhey","sha256":"942c23ea73a297e69c2ae8a82abe88d688de2532cb3f6d3543d1107c54f65b2e"},{"kind":"crop","node":"b5gd0h1","sha256":"a0b6f761fe95f8f29ef6dc37901fa85c7a62857b50b0163ca67b0aab048e4d17"},{"kind":"crop","node":"bnyvykm","sha256":"2c560caeaf914f3521fd0e3fca433922fcb9408c184c9b72bcfa869adf5ed409"},{"kind":"crop","node":"c20cna6","sha256":"bdbf7a4d9e86609675e3fc124c21ce808053a52d6bc0f35b15e1ba39027f13af"},{"kind":"crop","node":"d1mhw8b","sha256":"3104c57d9f8fb38302b057ead3bc44456da94f7c17d7c5c8f6db8732d4812c31"},{"kind":"crop","node":"ec5jc93","sha256":"321a926653b9e097987d255d9286880893d71abf895d73f1649403ed9ac0877d"},{"kind":"crop","node":"exms5gc","sha256":"cfc0e42e734470df5cfb741f92080526ef796bf48bcf05847d44f7091cfaaab1"},{"kind":"crop","node":"ganq1ns","sha256":"81d88697cd002fdfd770ee11413c550e4e4ffaa464d35841648311f278fc13bc"},{"kind":"crop","node":"hca6dc5","sha256":"a26619c3a9824bc19fddcf89ee618d9a4792d69110439f121eb717b6f98e88a6"},{"kind":"crop","node":"j6y45v6","sha256":"e689deda15dde9ad24433eb946200417473d273a1bf3136df67bf572256a483f"},{"kind":"crop","node":"jv1741a","sha256":"de60579bacfab769f614fa74d26d20c7b1aa02caf60af1479dc46b98ddcbc106"},{"kind":"crop","node":"k6a6616","sha256":"37b29d7ba293b27f913868690a785591d89ba9a4f47da8adaf764a4d5ae9675b"},{"kind":"crop","node":"m1p1n2g","sha256":"369c69758d2d09cc3d42b2424723c4fbc75f9ceb6817da81ce183be7d36f045f"},{"kind":"crop","node":"rr20tev","sha256":"f57e2cfe704d52c712b01e993e492b121ffe8c4d0174b11a0b0fa21fc5b9930b"},{"kind":"crop","node":"ryhrskg","sha256":"e6f816d93cfff8418dbb771ba03a09fb89a3b2438f97fabfc4ebef7f78af0dbf"},{"kind":"crop","node":"tkxsmts","sha256":"5d8e205660c2c59dcaff119b5671ac11650974b5287d7d7b239a9118e9171a85"},{"kind":"crop","node":"vd76637","sha256":"389742a44f1291e2dc7d7a69acd09410c92ed8a305718b2ab86b0b09b23253f4"},{"kind":"crop","node":"w0gr97q","sha256":"588a38407463e5674714899e6cf359810ccfed98fefdd2c1a90e8cb2ed0a9d64"},{"kind":"crop","node":"w264b74","sha256":"0babb0cef51933b8744f5b22d075069d51e431d3bdc08cb5e35d7822097b5953"},{"kind":"crop","node":"x3ns64d","sha256":"6bd7423a5933eb89572ded1d40d2f5baf6f6fa2f3c46791de8210f201a94b9d1"},{"kind":"crop","node":"ycwgbx1","sha256":"5ee72aca6b32e45f961f9cb2ff70408e71fc9ed7fccd28e91eb86e872041fed3"},{"kind":"crop","node":"yvkd7xr","sha256":"62fd5beecb3e76f430dfd142f443158b84657196af17173a976345a0cdd74449"},{"kind":"crop","node":"ztww0g8","sha256":"902e8ca35e1a313a81130c4c100aeb2233fd53854677b3a992fb16f744fe3151"},{"kind":"witness","sha256":"23b6b2aaece9cb0a828a2f0265539500fcf34d5195bf720b934b8bfdeccb9834"}],"format":"scienting-receipt/1","id":"y2zw8ctg5s8dp","level":"F3","nodes":[["avbhhey","c51730c0b1d7e11b51b317163ae42838f1be808b3690f196923482c9021f97c0"],["b5gd0h1","9635a750ac2acf526a4db28746fd3ed84659f4e384f5a73fef85d002b4e9308b"],["bnyvykm","13b0c5e01b52e467de5975acc898c2387fcc015d222517a865810a330a336c94"],["c20cna6","c8e6a553f5ae1377776e86dde6ee7d48a923dea7de417408841ea33b81563272"],["d1mhw8b","557a47334329925d191e772172fddbc1bd1a035eb2217240c476ee6bc43c92ab"],["ec5jc93","5421e9cf0ef3a995792963d0371b79e11a8efad519b02efb5cb88311a896d0cc"],["exms5gc","b7c47f8360eb7272d2ac0943e8bf1aec9d71cb4ea4e5e1d02f8acee5b430a038"],["ganq1ns","40d46db2088057debc3b1d5b4a3c972ff3a94fc3d5463565f98876d0927f1e67"],["hca6dc5","8cfed5a34aab28517e89e8a164f0f96c14361de83ebc800439116e83ef479f34"],["j6y45v6","00c4b92e220303ebc2bfb36aa557ac80ae4dba1675e9ed47adb82f6aeff10634"],["jv1741a","f644190803b5ea36aa24738e7f168a7fdf0d05cb5123c14a814b7628dab71f1e"],["k6a6616","90aa63a43587bdcee8e428c7dc7a95ac1502bdbcb9f49cae05c433db6d18348b"],["m1p1n2g","0847b5d75c2259257c3619e761c64d5571d3ca3932e96a96ee07e8ce68cc63be"],["rr20tev","76e06b4811a688357ac4b912172283463cfaf1b7a1f0795d274fc733a2309ba7"],["ryhrskg","525583990e7871a2ba55739e8206abac2df0f19d30c86ad74f6cafdd7c3cbe25"],["tkxsmts","cc0bf73dd84e298da0d36c4b363c8d2bdc9b6d5738d1923d14c4a9028dca08d6"],["vd76637","33810e4da42f8e65a224b5369c06fe8db254890294b7b6760808fe6e039da21a"],["w0gr97q","f738a008336ac59b2f1d45cda2f045dc96d34f0f1378c431ce6ff8e434feb8a7"],["w264b74","2ba9cea0f5c07ee9f7b47c5d541c85e92465709322869fb6c0d994ab61c56cad"],["x3ns64d","6bfc0a055148d877dbaf28b7f62565de7b6926137bf032c382282c39a4876797"],["ycwgbx1","167d1551ca64cad5b1143431c5af6d3fc24530887470b7fd265df88d1f54f267"],["yvkd7xr","aab8791a24bc4067c7e37fc5f0244d2128205e0a169e65c2c0fad977aabce313"],["ztww0g8","bda85639faacb77e504c891c035012602836171c009ecfd21584de4d6461ba93"]],"rev":12,"root":"373a7d860a14b58e5bfa9b9ad3bc916091bcb6db7556f0dbc9c71972a612494d","scope":"targeted:lode","signature":{"key":"ana","scheme":"ed25519","value":"2sraHLine truncated
|
||||
{"id":"size-3","minimum":10,"n":3,"rate":"0.05","size":3}
|
||||
{"id":"size-10","minimum":10,"n":10,"rate":"0.05","size":10}
|
||||
{"id":"size-199","minimum":10,"n":199,"rate":"0.05","size":10}
|
||||
|
||||
Reference in new issue
Block a user