Repository navigation
A patch release following 6.6.0 that corrects verdicts, wordings and records and adds no obligation for a caller. A bundle whose own Ed25519 key is a point of small order or a non-canonical encoding no longer verifies, in proofbundle verify, in show-eval and in pb_verify_rs verify-bundle. An SD-JWT whose issuer bound a holder key that proofbundle cannot read no longer verifies as if nothing were bound, in a bundle, in verify_key_binding and in verify_sdjwt_vc with key binding required; a cnf Disclosure that the holder withholds is visible to no verifier and stays outside this. A trust policy that pins an SD-JWT issuer key fails for an SD-JWT verified under another key, and an SD-JWT that presents a Disclosure committed by digest where no claim and no array element can stand is refused. Every count over the root keys of a Trust Pack counts a key part once. verify labels the leaf index and the tree size of a bundle as stated where nothing binds the tree size, and the release workflow stops before the build when the audit output its receipt names is not a tracked file or when the tag does not fall on the date of its changelog section. Some input that 6.6.0 accepted is now refused; pb_verify_rs, the Rust cross-verifier under tools/ that the package does not install, changes several exit codes to those of proofbundle verify; and verify_bundle, called with a dict whose inclusion holds under a merkle.tree_size of more digits than a lowered int-to-str limit allows, or with expected_tree_size beside such a size, returns its verdict where 6.6.0 raised ValueError. The CHANGELOG names each of these answers.
python -m pip install --upgrade proofbundle==6.6.1
Highlights
- A bundle under a weak own Ed25519 key no longer verifies, without a trust policy too. Until 6.6.0, without a pin, a signature made with no private key under a key that is a point of small order read
[PASS] ed25519-signature: payload signed by stated keywith exit 0; the verdict saidSAFE_FOR_AUTOMATION: NOandPOLICY: NOT_EVALUATED, but the signature line claimed a signer that does not exist. The bundle's own key now goes through the trust-anchor rule inproofbundle verify, inshow-evaland inpb_verify_rs verify-bundle. A bundle that passed before only because its weak own key was accepted now fails with exit 1; one that is malformed as well can end with exit 2.proofbundle verifynames the reason,public key refused (low-order)orpublic key refused (non-canonical);show-evalandpb_verify_rs verify-bundledo not name it. The change to the check of the bundle's own key leaves a bundle signed with an ordinary key as it was; other changes of this release can change its verdict. A release is not changed after it is published, so 6.6.0 and the releases before it still read such a signature as a pass without a trust policy; no forgery under an ordinary key was shown. - A
cnfthat proofbundle cannot read still asks for proof of possession. An issuer binds an SD-JWT to a holder key with thecnfclaim. proofbundle reads an OKP/Ed25519cnf.jwkof 32 bytes and nothing else, and 6.6.0 treated every othercnfas if the issuer had bound nothing. Measured at 6.6.0 from the package index, for acnf.jwkon EC P-256, RSA 2048 and Ed448, an Ed25519xof 31 bytes and acnfwith only akid: a bundle whose SD-JWT carried such acnf, a valid issuer signature and no Key Binding JWT verified, so whoever held such a credential, without the holder key, could present it. Now, in a bundle and wherever a caller asks for key binding, acnfmember that is present requires the Key Binding JWT, and where it is not a readable Ed25519 key thesd-jwt-key-bindingcheck fails with or without one. A credential bound to a holder key of another type therefore no longer verifies in a bundle, inverify_key_bindingor inverify_sdjwt_vcwith key binding required; it verified before only because its binding was not read. A presented Disclosure asks for the binding too where the payload's top-level_sdis no list, also where the Disclosure stands in the_sdlist of a nested object and names nocnf: where no other check fails it, such a presentation verified before and now fails without a Key Binding JWT. Two limits stay as they are, and the owner took note of them on 2026-11-23: acnfDisclosure that the holder withholds is visible to no verifier, and wherever key binding is checked and the issuer-signed payload holds no readablecnf.jwk, a presented Disclosure that gives the payload a top-levelcnfclaim fails the binding and is not read.verify_sdjwt_vcwithrequireKeyBindingset to false still checks no binding. A release is not changed after it is published, so 6.6.0 still reads such acnfas absent. - An SD-JWT issuer pin acts as a rule of its own, and a presented Disclosure needs a place.
sd_jwt.issuer_key_pinnames the issuer key a relying party trusts. In 6.6.0 a policy that pinned an issuer key and set no othersd_jwtrule, or onlyrequire_key_binding_when_cnf_present, passed for a bundle whose SD-JWT carried nocnfand was validly signed under another key. Now, where the bundle carries an SD-JWT and the policy sets a pin, the key that verified the SD-JWT must be the pin (policy:sd_jwt_issuer_pinned); without a pin this rule adds nothing.verify_sd_jwtnow fails a presentation in which a presented Disclosure is committed by digest and stands at no place: at 6.6.0, for a payload whose_sdis an object with an_sdof its own and for a payload with a...key in an object, a Disclosure committed there passed the structure check. Only an issuer can write such a payload. What stands under a...key of an object is no place either; where the check finds the digest of a presented Disclosure below such a key in the form of a place, it refuses the presentation, wherever else that Disclosure stands. Compared on 2026-11-23 with 6.6.0 from the package index over 70000 generated payloads, this check accepted none that 6.6.0 refused, and in each that 6.6.0 accepted and this check refuses, a presented Disclosure stands at no place. - A key part counts once in a Trust Pack. A key is the set of its parts:
publicKey, andpublicKeyPqfor a hybrid key. Until 6.6.0 one ML-DSA-65 key could stand in a pack twice and count as two signers.validate_trust_pack_predicatenow refuses a pack in which a part occurs in two keys, whatever theiralg, and the root threshold, the rotation vouch and the pin overexpected_root_keyscount a key only when none of its parts has counted. A declared, non-revoked root key that cannot be read refuses the root-key pin.pb_verify_rs verify-trust-pack-thresholdrefuses a pack with a shared key part as well, no longer meets a root threshold of 0 without a signature, and still counts only Ed25519 root keys toward the threshold. The rule on key parts and the root-key pin leave a Trust Pack without a shared key part and with readable declared root keys as it was; other changes, among them the role rules the Rust verifier now applies, can change its result.
Verify this release yourself
Use the checksums and build provenance to check the downloaded files. To check the signed pre-tag audit receipt, use a clone at the source commit identified by the build attestation. The commands, prerequisites and limits are in Verifying a published release.
What a receipt still does not prove
A valid signature binds the signed content to the signing key. It does not make a reported result true.
The signature of a bundle covers its payload; the root, the tree size and the leaf index of its merkle block are not under it. A bundle that passes the other checks still passes without an --expected-tree-size and without a --trusted-checkpoint; its pass then says that the key signed this payload and that the payload hashes to a leaf under the stated root. It does not say that the size or the index is that of a log.
The negative list of What proofbundle does not claim stands for this release as it stood for 6.6.0. A receipt does not prove the semantic truth of a result, fairness, safety, generalization, the right threshold or metric, or that a model or dataset is what its name suggests, and it does not replace an audit, in-toto, SLSA or a transparency log. A verified decision receipt is not an authorization token and does not prove that a decision was correct or that an action happened.
The experimental module proofbundle.renewal does not follow RFC 4998 in three points. The message of the tag v6.6.0 names them and planned their naming in the text for 6.6.1, and the module is unchanged since that tag. renew_hashtree does not hash the data again under the new hash algorithm (Section 5.2, step 2); it covers the earlier timestamps and the data digests as the caller supplies them. With authority_keys, verify_sequence checks the signature of the newest timestamp only, and in its other anchor modes it checks no timestamp signature; it does not check that each earlier timestamp was valid at the time of the next one (Section 5.3, step 2), and it does not check that all timestamps of a chain use the same hash algorithm (Section 5.1). A verified renewal sequence is not evidence that every earlier timestamp was valid at its time or that the data is bound under the newest hash algorithm.
Measured on the reference machine
The budget cost axis was measured on the reference machine on 2026-11-23 using the code at 9749d37. The record identifies the run as a reference measurement (ist_referenzmessung=true) and names no commit itself; the commit that adds it to the tree names the measured one. All 12 expected axes and all 7 expected combinations passed, and no axis was skipped. The recorded calibration factor maschinenfaktor_schnellstes_ende is 1.0, and the timing-limit setting is latte_aus_der_klammer=schnellstes_ende. The record is the first run of the second series of three runs that day. Under the rule set beforehand, the first run of a series counts, and a calibration factor above 1.1451 in that run stops the series. The first series stopped because the median factor of its first run was 1.7011, while other work ran beside it. In the second series both factors of the first run were 1.0; its second run had a median factor of 1.6033, although the other large runs on the machine paused. These results apply to the listed axes and combinations, not to every reader or input. The measurement record lists every axis and combination.
Details
All 15 entries, one line each, as in the CHANGELOG
Security
- A bundle whose own Ed25519 key is a point of small order no longer verifies, without a trust policy too. Until 6.6.0 the bundle's own
signature.public_key_b64kept the bare SPEC section 4a profile, because trust in it comes from a policy pin that has the trust-anchor rule. Without a pin, a signature made with no private key under such a key read[PASS] ed25519-signature: payload signed by stated keywith exit 0, inproofbundle verifyand inpb_verify_rs verify-bundlefor each of the fourteen 32-byte encodings of the eight points of small order, and inshow-evalfor an eval receipt signed that way. The verdict still saidSAFE_FOR_AUTOMATION: NOandPOLICY: NOT_EVALUATED, but the signature line claimed a signer that does not exist. The bundle's own key now goes throughed25519_trust_anchor_weaknessin Python andschwaeche_eines_vertrauensankersin Rust: theed25519-signaturecheck fails withpublic key refused (low-order)orpublic key refused (non-canonical)and the reason, and the exit is 1. SPEC section 4b drops the exception for the bundle's own key. This change leaves a bundle signed with an ordinary key as it was, and a policy that pins such a key was already refused.pb_verify_rs verify-bundlenow decodes the bundle's key and signature before it judges either, asproofbundle verifydoes, and gives exit 1 like it for a key or a signature of another length and for a key that is not a point, where it gave exit 2; a key or a signature that is not base64 stays exit 2 in both. - A key part counts once in a Trust Pack, and a declared root key that cannot be read refuses the root-key pin. A key is the set of its parts:
publicKey, andpublicKeyPqfor a hybrid key. Until 6.6.0 one root key was told apart from another by itspublicKeyalone, so one ML-DSA-65 key could stand in a pack twice, as anmldsa65key and as the post-quantum part of a hybrid, or as the post-quantum part of two hybrids, and each appearance counted as a signer: once Ed25519 is broken, a single ML-DSA secret met a root threshold of two.validate_trust_pack_predicatenow refuses a pack in which a part occurs in two keys, whatever theiralg, and the root threshold, the rotation vouch and the pin overexpected_root_keyscount a key only when none of its parts has counted; if two keys of the declared, non-revoked root share a part, the whole root is not pinned. A part counts only when it decodes to the length of its algorithm (Ed25519 32 bytes, ML-DSA-65 1952 bytes), and a key's identity for the pin and its parts for every count come from one reading. A declared, non-revoked root key that cannot be read (an unknownalg, a part of the wrong length, an incomplete hybrid, a root key id with no key object) now refuses theexpected_root_keysanchor, because a relying party cannot pin what it cannot read; in 6.6.0 a key whose part had the wrong length took part in the comparison like a readable key, and a hybrid without its post-quantum part, an unknownalg, apublicKeythat is no base64, a key that is no object and a key id with no key were left out of it. Only the text entries ofrevokedname a key at the pin and in the root count, so an entry that is a list or an object no longer raisesTypeErrorout oftrust_pack_is_pinned; the validator still refuses such a list.docs/predicates/trust-pack.mdstates the rule under "One leg, one key", andtests/test_trust_pack_one_key_leg_counts_once.pyholds it. - A
cnfthat proofbundle cannot read still asks for proof of possession. An issuer binds an SD-JWT to a holder key with thecnfclaim (RFC 7800): ajwkof any key type, ajwe, akidor ajku. proofbundle reads an OKP/Ed25519cnf.jwkof 32 bytes and nothing else. 6.6.0 treated every othercnfas if the issuer had bound nothing; earlier releases were not measured. Measured on 2026-11-22 at 6.6.0 from the package index, for acnf.jwkon EC P-256, RSA 2048 and Ed448, an Ed25519xof 31 bytes and acnfwith only akid: a bundle whose SD-JWT carried such acnf, a valid issuer signature and no Key Binding JWT gaveverify_bundleok;evaluate_policywithsd_jwt.require_key_binding_when_cnf_presentpassed withno cnf holder key bound; KB not required; andverify_key_bindingaccepted a Key Binding JWT signed by a third party when the caller supplied that party's key asholder_pubkey.verify_sdjwt_vcwith key binding required accepted the same; there the builder measured the EC P-256 and thekidform, and a second session measured the others with scripts of its own. Whoever held such a credential, without the holder key, could present it.pb_verify_rs verify-bundle, built from the tree before this fix, refused bundles of the same forms, so the two verifiers disagreed. Now, in a bundle and wherever a caller asks for key binding, acnfmember that is present requires the Key Binding JWT, also asnullor an empty object, and where it is not a readable Ed25519 key thesd-jwt-key-bindingcheck fails with or without a Key Binding JWT, whatever key the caller supplies: possession of a key the verifier cannot read cannot be checked. The same holds, where the issuer-signed payload carries nocnfmember itself, for a presented Disclosure that gives the payload a top-levelcnfclaim: proofbundle readscnfin the issuer-signed payload only, and 6.6.0 ignored such a Disclosure, also one with an Ed25519 key. A credential bound to a holder key of another type therefore no longer verifies in a bundle, inverify_key_bindingor inverify_sdjwt_vcwith key binding required; it verified before only because its binding was not read. For a credential whose issuer-signed payload carries nocnf, whose top-level_sd, where it has one, is a list, and that meets none of the fail-closed cases of this entry (where the payload holds a top-level_sdlist: a presentedcnfDisclosure committed in that list, more than 256 presented Disclosures, a Disclosure committed in that list that cannot be read or whose form is no claim, and, where that list holds at least one text entry and a Disclosure is presented, an_sd_algunder which no digest can be computed or a presented Disclosure that holds a character outside ASCII), the key binding check decides as before, with a supplied holder key where one was used, and so for one with an Ed25519cnf.jwkin the issuer-signed payload; whether its presented Disclosures stand at a place is a check of its own, see the entry on a Disclosure that stands at no place. Wherever key binding is checked and the issuer-signed payload holds no readablecnf.jwk, a presented Disclosure that gives the payload a top-levelcnfclaim fails the binding, also with an Ed25519 key, where 6.6.0 ignored the Disclosure; a readablecnf.jwkin the payload decides alone.verify_sdjwt_vcwithrequireKeyBindingset to false still checks no binding; the owner chose on 2026-11-23 that this opt-out stays the caller's own. What cannot be read as a claims set never answers that nothing is bound: a payload that is no JSON object or whose reading stops on an error, a presentation that is no text, and an_sd_algunder which no digest can be computed while a Disclosure is presented and the payload's top-level_sdlist holds at least one text entry each ask for the binding, and the policy rulesd_jwt.require_key_binding_when_cnf_presentreads the payload itself where the crypto result carries no key-binding line. For a payload that cannot be read and for such an_sd_alg, no bundle was measured to verify before: such a bundle already failed and now carries a failingsd-jwt-key-bindingline as well. A presentation that is no text is a case of the helper alone, and the branch of the policy rule was reached only with a crypto result from which the key-binding line had been removed and that was stamped again, whichverify_bundledoes not produce. A Disclosure committed in the payload's own_sdlist whose form is no claim, and a Disclosure presented over a top-level_sdthat is no list, ask for the binding too, the second also where the Disclosure stands in the_sdlist of a nested object and names nocnf: where no other check fails it, such a presentation verified before and now fails without a Key Binding JWT; see also the entry on a Disclosure that stands at no place. So does a presented Disclosure that holds a character outside ASCII, where the payload's top-level_sdlist holds at least one text entry: measured on 2026-11-23 at 6.6.0 from the package index and on the prepared tree, such a bundle failed atsd-jwt-disclosuresat both, and on the prepared tree it carries a failingsd-jwt-key-bindingline as well. Two limits stay as they are, and the owner took note of them on 2026-11-23: acnfDisclosure that the holder withholds is visible to no verifier, and wherever key binding is checked and the issuer-signed payload holds no readablecnf.jwk, a presented Disclosure that gives the payload a top-levelcnfclaim fails the binding and is not read, also with an Ed25519 key. The conformance corpus gainsbundle/sd-jwt-cnf-not-readable-without-key-binding. - An SD-JWT issuer pin in a trust policy is a rule of its own.
sd_jwt.issuer_key_pinnames the issuer key a relying party trusts. 6.6.0 read the pin only in the rules that trust a value of the SD-JWT (expected_vct,require_nonce,expected_audand a key binding verdict). Measured on 2026-11-23 on the tree that prepares this release and at 6.6.0 from the package index, not at earlier releases: a policy that pinned an issuer key and set no othersd_jwtrule, or onlyrequire_key_binding_when_cnf_present, passed for a bundle whose SD-JWT carried nocnfand was validly signed under another key, which the presenter had written into the bundle assd_jwt_vc.issuer_public_key_b64; besideexpected_vctorrequire_noncethe same policy failed. Now, where the bundle carries an SD-JWT and the policy sets a pin, the key that verified the SD-JWT must be the pin (policy:sd_jwt_issuer_pinned), andexplain_policylists the pin on its own. Without a pin this rule adds nothing, a bundle without an SD-JWT gives the pin nothing to judge, and theverify_bundleargumentsd_jwt_issuer_key_pinstill judges a key binding verdict only. - A presented Disclosure that stands at no place fails the SD-JWT.
verify_sd_jwtcounts a Disclosure as committed when its digest stands under an_sdor a...key, and places it in the_sdlist of an object or at an array element. 6.6.0 did not ask that every presented Disclosure was placed. Measured on 2026-11-23 on the tree that prepares this release: for a payload whose_sdis an object with an_sdof its own, and for a payload with a...key in an object, a Disclosure committed there passed the structure check, and a bundle that presented acnfDisclosure that way verified with no Key Binding JWT. Measured the same day at 6.6.0 from the package index, with the same result; earlier releases andpb_verify_rswere not measured for these forms. Only an issuer can write such a payload; a holder cannot make one without breaking the issuer signature. Now such a presentation failssd-jwt-disclosures, and what stands under a...key of an object is no place either. Below a...key of an object it reads, the check reads what the walk of 6.6.0 read: below every key but_sd, and of an_sdthe text entries of a list. Where it finds the digest of a presented Disclosure there in the form of a place, in an_sdlist or as{"...": digest}in a list, it refuses the presentation, wherever else that Disclosure stands. The walk of 6.6.0 treated such an occurrence as a place like any other: as a second place it was a ground for a refusal, and as the only one it let a Disclosure count as placed that no reader finds. Compared on 2026-11-23 with 6.6.0 from the package index over 70000 generated payloads, with scripts outside the tree: this check accepted none that 6.6.0 refused, and in each that 6.6.0 accepted and this check refuses, a presented Disclosure stands at no place. A second occurrence of a digest in a form the check does not read is no ground for a refusal, in 6.6.0 as here: measured the same day, a presentation in which a Disclosure stands at its place and its digest stands again as plain text under a...key of an object, or below an_sdkey whose value is an object or a list of objects, passed the structure check at both; RESTRISIKO_661.md names both.
Added
verify --jsonsays whether the tree size it reports is bound.treeSizeExpectationgainsactualSource:checkpointwhen a verified signed checkpoint names the same size (--trusted-checkpoint, or a policymerkle.trusted_checkpointsentry that names the root of the bundle as well),expectedwhen an explicit--expected-tree-sizematched, andstatedotherwise, whenactualis only the bundle's own claim.status,expectedandactualkeep their names and values. Readers that tolerate additional fields remain compatible with this object (SPEC.md).
Changed
verifylabels the leaf index and the tree size of a bundle as stated when nothing binds the tree size. The same RFC 9162 audit path verifies under a whole interval of tree sizes, the property an RFC 9942 inclusion receipt under RFC9162_SHA256 shares, so a size the relying party did not bind is only the bundle's claim. Without a matching--expected-tree-sizeor a matching size supplied by a verified--trusted-checkpoint, the inclusion line now readsanchored at stated index 5 of stated tree size 8 (Merkle-consistent under the STATED root). Matching inputs keep the previous wording. Policy checkpoints are evaluated later and do not change this line. For distinct entries, fixing the size also fixes the index; inclusion alone does not identify a unique occurrence when entries repeat. This change alters neither the verdict nor the exit code. New tests cover the size-only change from (7, 5) to (8, 5) with and without a checkpoint, a check that within one tree of 1 to 64 distinct entries no audit path verifies under a second index while a repeated entry can, and real RFC 9942 receipts withvds1 that the SCITT reader refuses without reading a size or an index.- The release stops before the build when the audit output that its signed receipt names is not a tracked file.
scripts/audit_output_aufloesbar.py --version X.Y.Zasks the pre-tag gate which receipts verify for the tree and requires that theaudit_output_digestof each is the SHA-256 of the raw bytes of a tracked file, assha256sumcomputes it outside and as the receipt producer computes it. The step holds the head commit, requires the gate to have measured that commit's tree and HEAD to name it at the end, verifies each receipt from the held commit itself, with its trust anchor and the tree and gate digests the gate measured, and resolves exactly those bytes, at the output's fixed path; the gate's reading from the working tree only has to agree. Files are read from the objects of the held commit, so a committed symbolic link to a record outside the commit, a file changed on disk and a file that is only staged do not resolve, and both modes read alike. The output lies beside its receipt ataudit_artifacts/<XYZ>/pre_tag_audit_output_vX.Y.Z.txt: the receipt binds the tree measured before the audit ran, and committing the output afterwards changed that tree, so a release could carry its receipt or its output, never both. That one path is now left out of the receipt's tree digest and of the readiness binding, and only while it is a plain file (mode 100644) and a receipt of the same version beside it names the SHA-256 of its bytes and carries a signature by a key of that tree's trust anchor over the digest that results without the output (a fixed point over the candidates, so a pair once signed for another tree stays in the digest); an output with other bytes, at another mode, without such a receipt, beside an unsigned receipt or one signed by a key outside the anchor, in another folder, under the older nameaudit_output_vX.Y.Z.txtor as a symbolic link stays in the digest. None of the 58 refs measured on 2026-11-18, the tags and main, carries that path. Only the receipt of the version a tree declares leaves its digest. The digest used to leave out every path of the receipt form, in every version's folder and at every mode, a link included, so a receipt of another version could be added, changed or removed beside a given receipt without moving the digest it binds; now onlypre_tag_receipt_vX.Y.Z.jsonorpre_tag_receipt_X.Y.Z.jsonof the version in the tree'spyproject.toml, in that version's folder and as a plain file (mode 100644), leaves it, and the readiness binding leaves out the same set. This changes the digest of every tree that carries receipts of earlier versions: at v6.6.0 the tag's library computes 1e8d4a61, which its receipt binds, and this library 5bf51937. An old tag is verified with the scripts of its own commit, as the outside verifier requires; run so, v6.6.0 still verifies. The code that judges a receipt comes from the commit it judges. The gate and the release step used to put the checkout'ssrc/in front ofsys.path, so the signature check ran whatever lay on disk; they now serve the packageproofbundlefrom the blobs of the commit they hold, the step compares its own file with that commit and runs the gate, the receipt library and the readiness module from the commit's blobs, andrelease.ymlrunspython -I scripts/verify_pre_tag_receipt.py --commitbefore the gate, which compares every committed file underscripts/andsrc/with the commit and refuses an untracked importable file or a link there. It skips__pycache__, and Python runs a.pycthere in place of its source, so every later Python process of the release job that reads the environment takes bytecode only from a directory made withmktemp -dfor the run (PYTHONPYCACHEPREFIX); the verifier, run with-I, keeps its own fresh directory, and the release step sends its bytecode to a fresh directory before it imports the receipt library. Named, not closed: the verifier compares once and then loads the compared files from disk, and the gate and the step start later as their own processes, so a writer in the same job between a comparison and a load is not caught; and run on its own, without the verifier before it, the step does not compare the receipt library it imports from the checkout at its start. The three readiness evidence files ofMUTABLE_EVIDENCE_RELSstay out of the tree digest; the audit matrix checks their signatures and candidate block, not their bytes and modes in the tree. The receipt itself stays out of the tree digest and only the canonical form of its signed fields is signed, so its JSON can be reformatted, or a second copy put under the other allowed name, which changes the committed tree without moving the digest it binds or a verdict. The gate's file and the digest rule of the receipt library change; the package does not.release.ymlruns it right after the pre-tag gate, and the release gate of RELEASE.md asks for it, withscripts/verify_pre_tag_receipt.py --commit, before the owner GO. The gate already recomputes the tree and the gate source from the checked-out tree, so with this step every digest of the receipt resolves at the tag. An outside reader found that the audit output of 6.6.0 was not in the tree when the tag was set; pull request 538 added it afterwards.--receiptkeeps its reading over the decoded text for older receipts. This entry changes neither the package nor its verdicts. pb_verify_rs verify-bundlereads a bundle to the end before it decides, asproofbundle verifydoes, and reads what follows the signature asbundle.pyreads it. Python records a signature, an inclusion proof, a root or a tree size that does not hold and reads on;verify_bundlein Rust stopped at the first such check with exit 1. A wrong signature beside a missingmerkle.leaf_indexgave exit 2 inproofbundle verifyand 1 inpb_verify_rson 6.6.0, and with the change above a weak own key with that defect joined it. For a bundle with a failed check followed by a defect that both refuse as malformed, a missingmerkle.leaf_indexor ansd_jwt_vcthat is no object among them, the exit ofpb_verify_rs verify-bundlechanges from 1 to 2. Reading on reached values that Rust refused as malformed where Python records a failed check: a negativemerkle.leaf_indexormerkle.tree_size, an inclusion proof longer than themerkle_pathbudget of 256 steps, which Python refuses before it decodes a step, and insd_jwt_vca segment that is not base64url, an issuer key of another length and one that is not a point. Rust now reads them as Python does, and they give exit 1 in both, with a valid signature as well, where Rust gave 2."sd_jwt_vc": nullis no block in either, so an otherwise valid bundle carrying it now verifies inpb_verify_rs(exit 0) as inproofbundle verify, wherepb_verify_rsgave 2; this is one case in whichpb_verify_rsnow accepts a bundle it refused, and the integer literal-0(the next entry) is another. An issuer key that Python reads as true is decoded before the compact form, and one that is not base64 or no string is malformed in both, wherepb_verify_rsgave exit 1 for a key that is no string and for one that is not base64 beside a compact form without three JWT segments.pb_verify_rs budgetnamesmerkle_path. Differences that 6.6.0 has too stay: an unknown member of the bundle, ofsignature,merkleorsd_jwt_vc, and the structure ofanchors, whichproofbundle verifyrefuses (exit 2) andpb_verify_rsdoes not read; and insd_jwt_vc, wherepb_verify_rsverifies theEdDSAissuer signature and, when the issuer JWT carries a receipt root, compares five claims and the root with the bundle, along with checks of format and header, but does not implement the full path ofproofbundle verify, so for a bundle with ansd_jwt_vcblock the exits of the two can differ in either direction; among the checks it lacks are the disclosures, a key-binding JWT, anES256issuer, acnfholder key, the identity of the disclosed issuer, and the rules that bind an eval claim, refuse a receipt root on a payload that is no eval claim and refuse a payload the strict reader refuses.pb_verify_rsreads the integer literal-0as the integer 0, asproofbundle verifydoes. serde_json read it as the float -0.0, so a field that needs an integer,merkle.leaf_indexandmerkle.tree_sizeamong them, was malformed input in Rust (exit 2) where Python reads 0 and judges the bundle; with a wrong signature Python gave 1 and Rust 2.strict_parsenow finds each integer literal-0in the text, outside strings, and reads it as 0. An otherwise valid bundle that writesmerkle.leaf_indexas-0therefore verifies inpb_verify_rs(exit 0), where it gave 2. The float literals-0.0and-0e0stay floats, and a field that needs an integer refuses them in both.pb_verify_rs verify-trust-pack-thresholdapplies the role rules ofproofbundleto the values it counts, so a pack with a root threshold of 0 no longer meets its threshold without a signature. The subcommand readrevokedand the root role'skeyIdsandthresholdwithout the rulesvalidate_trust_pack_predicateapplies to them. The results this entry gives for the command before the change are those of the packs that were measured. With a threshold of 0 it met the threshold with no valid signature and exited 0, at 6.6.0 and on main, where Python refuses the pack; since-0reads as 0 (the entry above), so did-0, which exited 2 before. A keyId not inkeys, arevokedthat is no list of known keyIds, or a value among the root keyIds that is no keyId met the threshold as well, and a threshold above the root keyIds or out of reach after revocation failed it (exit 1). A root role with a field other thankeyIdsandthresholdmet the threshold too, measured with a valid signature, where Python refuses the pack for the unknown field; a root role that is no object, or aroleswithout a root role, was refused in other words than Python's. Each of these now exits 2. A pack that breaks that rule alone gets the first error Python reports. Where the pack also breaks a rule that Python reads before the root role (a top-level field,expires, the version chain,nonClaims, a key or another role), carries more than 256 root keyIds, or carries a name with a character above Latin-1, the exit is 2 and the text is another. A pack withoutrolesexits 2 with another text than Python's as well. For a pack whose rules hold, this change leaves the count as it was. The other rules of the predicate, among them the expiry and the version chain, stay checked by Python only. For the pack measured, one with a root threshold of 0 and no valid signature,pb_verify_rsbuilt from the source tree of v6.6.0 gave exit 0; earlier tags were not measured. An installation from PyPI was not affected: neither the wheel nor the sdist of 6.6.0 containstools/pb_verify_rs.pb_verify_rs verify-trust-pack-thresholdrefuses a pack in which a key part occurs in two keys, asproofbundledoes. The Rust verifier did not apply the alias rule of the validator: measured on 2026-11-18 with one Ed25519 root key at threshold 1, a pack whose two other keys shared a part met its threshold (OK, exit 0) where Python refused it, for two hybrid keys with one post-quantum part and for two Ed25519 keys with onepublicKey. The subcommand now reads the parts of every key of the pack as Python reads them,publicKey, andpublicKeyPqfor a hybrid key only, each at the length of its algorithm, and refuses a part already seen under another key as malformed (exit 2) with Python's error text; a key id with a character above Latin-1 can be written differently in it, measured for U+E000. It still counts only Ed25519 root keys toward the threshold.CROSS_IMPLEMENTATION_REPORT.mdnames the rule in its Trust Pack entry, andtests/test_rust_trust_pack_key_part_alias_parity.pyruns six packs through both verifiers on the same bytes.- An SVR v0.1 statement verifies only with
verifier.ida URI with a lower-case scheme andtimeCreatedin UTC withZ, as in-toto writes TypeURI and Timestamp. in-totospec/v1/field_types.mdwrites a TypeURI with a lower-case scheme and a Timestamp in UTC with the designatorZ, and svr v0.1 typesverifier.idandtimeCreatedso. The reader takes the designatorsTandZin either case, as RFC 3339 allows and as 6.6.0 did, so2026-10-31t09:00:00zverifies. A validly signed SVR whoseverifier.idbeganHTTPS:or whosetimeCreatedcarried a numeric offset such as+01:00verified, andproofbundle svr --verifyanswered PASS; both are now refused, the command answering malformed with exit 2, andexport_svr_dsserefuses such atime_created. An SVR that a released version wrote with its own clock carries the lower-casehttpsof its verifier id and a time withZ, so it keeps verifying.export_svr_dssealso writes thetime_createdits caller passes, and 6.6.0 took one with a numeric offset: such an SVR verified at 6.6.0 and is refused now, measured for+01:00; the releases before 6.6.0 were not measured for it. - The release stops before the build when its tag does not fall, in UTC, on the date its CHANGELOG section names. Check 8 of
scripts/check_version_and_changelog.pyreads the tagger date of the annotated tagv<version>in UTC and the date of the## [<version>] - YYYY-MM-DDheading in CHANGELOG.md of the commit the tag points to, and reports a different day as a finding; of a tag object that carries twotaggeror twoobjectlines it reads the last, where git reads the first. With--tag <name>the check is mandatory: the tag must exist, be annotated and name the source version, and its section must carry a calendar date. Without it, a clone that holds the tag is checked, a clone without it says in a note that there is nothing to compare before the tag, and a lightweight tag is noted, not judged. The clock of the run is named in a note and not judged, so a rerun on a later day reads the same verdict.release.ymlnow runs the whole version gate with--tag "$GITHUB_REF_NAME"after the pre-tag gate and before the build, the provenance and every upload; until now the version gate ran on main and on pull requests only, never on the tag it guards. Measured on the 6.5.0 candidate, a local annotated tag v6.5.0 dated 2026-11-06 over the heading 2026-11-08 left the gate at exit 0; read over the tags v5.0.0 to v6.4.0, eight of the nine with a section fell on another day in UTC. v6.6.0 fell on 2026-11-16 UTC, the date of its section, so the check holds on main as it stands. In the same job the checkout no longer leaves its token in.git/config(persist-credentials: false): it is the one job ofrelease.ymlthat checks out the repository, it holdscontents: write(aspublish-releasedoes, which has no checkout), it runs code installed from the package index after the checkout, and none of its git calls fetches or pushes. RELEASE.md now namesgit tag -aat each of its three tagging steps, since the workflow refuses a lightweight tag. The scripts and the workflow change, the package and its verdicts do not.
Fixed
verify_bundlereturns its verdict when a host has lowered the int-to-str limit._require_intadmits an integer of up to 8192 bits inmerkle.leaf_indexandmerkle.tree_size, which is 2,467 decimal digits, and CPython writes such an integer under its default limit of 4300 digits. A host may lower that limit down to 640 digits (sys.set_int_max_str_digits), and two messages ofverify_bundlewrote such an integer with a plain f-string: called with a dict whose inclusion holds under such a tree size, or withexpected_tree_sizebeside such a size,verify_bundleraised a rawValueErrorin 6.6.0. The labelling of the stated tree size (the entry under Changed) built the inclusion line before the verdict was known, so it raised for every bundle with such an integer; a reading of the release candidate found that before the release. The inclusion line is now built on the passing path only, and both messages write their integers throughbudget.render_safe: under a lowered limit they read<unrenderable int>in place of the digits, and for an integer that can be written every text is what it was. Where 6.6.0 returned a verdict, this fix changes neither the verdict nor the exit code, and nothing was accepted that should have been refused.proofbundle verifyon a file was not affected, because the strict reader refuses an integer outside the I-JSON range.tests/test_verify_bundle_returns_a_verdict_under_the_lowest_int_str_limit.pyholds the measured cases. Four other surfaces of the package write such an integer the same way; RESTRISIKO_661.md names them, and they are not changed in this release.
Full changelog · Known limitations for 6.6.1 · Earlier risk record · Release scope · proofbundle.dev
The plugins under plugins/ are not part of this package. They are released on their own, with release notes of their own.
Assisted by little helpers.