Skip to content

v6.6.1

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 00:53
· 75 commits to main since this release

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 key with exit 0; the verdict said SAFE_FOR_AUTOMATION: NO and POLICY: 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 in proofbundle verify, in show-eval and in pb_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 verify names the reason, public key refused (low-order) or public key refused (non-canonical); show-eval and pb_verify_rs verify-bundle do 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 cnf that proofbundle cannot read still asks for proof of possession. An issuer binds an SD-JWT to a holder key with the cnf claim. proofbundle reads an OKP/Ed25519 cnf.jwk of 32 bytes and nothing else, and 6.6.0 treated every other cnf as if the issuer had bound nothing. Measured at 6.6.0 from the package index, for a cnf.jwk on EC P-256, RSA 2048 and Ed448, an Ed25519 x of 31 bytes and a cnf with only a kid: a bundle whose SD-JWT carried such a cnf, 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, a cnf member that is present requires the Key Binding JWT, and where it is not a readable Ed25519 key the sd-jwt-key-binding check fails with or without one. A credential bound to a holder key of another type therefore no longer verifies in a bundle, in verify_key_binding or in verify_sdjwt_vc with 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 _sd is no list, also where the Disclosure stands in the _sd list of a nested object and names no cnf: 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: a cnf Disclosure that the holder withholds is visible to no verifier, and wherever key binding is checked and the issuer-signed payload holds no readable cnf.jwk, a presented Disclosure that gives the payload a top-level cnf claim fails the binding and is not read. verify_sdjwt_vc with requireKeyBinding set to false still checks no binding. A release is not changed after it is published, so 6.6.0 still reads such a cnf as absent.
  • An SD-JWT issuer pin acts as a rule of its own, and a presented Disclosure needs a place. sd_jwt.issuer_key_pin names the issuer key a relying party trusts. In 6.6.0 a policy that pinned an issuer key and set no other sd_jwt rule, or only require_key_binding_when_cnf_present, passed for a bundle whose SD-JWT carried no cnf and 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_jwt now 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 _sd is an object with an _sd of 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, and publicKeyPq for 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_predicate now refuses a pack in which a part occurs in two keys, whatever their alg, and the root threshold, the rotation vouch and the pin over expected_root_keys count 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-threshold refuses 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_b64 kept 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 key with exit 0, in proofbundle verify and in pb_verify_rs verify-bundle for each of the fourteen 32-byte encodings of the eight points of small order, and in show-eval for an eval receipt signed that way. The verdict still said SAFE_FOR_AUTOMATION: NO and POLICY: NOT_EVALUATED, but the signature line claimed a signer that does not exist. The bundle's own key now goes through ed25519_trust_anchor_weakness in Python and schwaeche_eines_vertrauensankers in Rust: the ed25519-signature check fails with public key refused (low-order) or public 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-bundle now decodes the bundle's key and signature before it judges either, as proofbundle verify does, 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, and publicKeyPq for a hybrid key. Until 6.6.0 one root key was told apart from another by its publicKey alone, so one ML-DSA-65 key could stand in a pack twice, as an mldsa65 key 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_predicate now refuses a pack in which a part occurs in two keys, whatever their alg, and the root threshold, the rotation vouch and the pin over expected_root_keys count 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 unknown alg, a part of the wrong length, an incomplete hybrid, a root key id with no key object) now refuses the expected_root_keys anchor, 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 unknown alg, a publicKey that 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 of revoked name a key at the pin and in the root count, so an entry that is a list or an object no longer raises TypeError out of trust_pack_is_pinned; the validator still refuses such a list. docs/predicates/trust-pack.md states the rule under "One leg, one key", and tests/test_trust_pack_one_key_leg_counts_once.py holds it.
  • A cnf that proofbundle cannot read still asks for proof of possession. An issuer binds an SD-JWT to a holder key with the cnf claim (RFC 7800): a jwk of any key type, a jwe, a kid or a jku. proofbundle reads an OKP/Ed25519 cnf.jwk of 32 bytes and nothing else. 6.6.0 treated every other cnf as 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 a cnf.jwk on EC P-256, RSA 2048 and Ed448, an Ed25519 x of 31 bytes and a cnf with only a kid: a bundle whose SD-JWT carried such a cnf, a valid issuer signature and no Key Binding JWT gave verify_bundle ok; evaluate_policy with sd_jwt.require_key_binding_when_cnf_present passed with no cnf holder key bound; KB not required; and verify_key_binding accepted a Key Binding JWT signed by a third party when the caller supplied that party's key as holder_pubkey. verify_sdjwt_vc with key binding required accepted the same; there the builder measured the EC P-256 and the kid form, 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, a cnf member that is present requires the Key Binding JWT, also as null or an empty object, and where it is not a readable Ed25519 key the sd-jwt-key-binding check 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 no cnf member itself, for a presented Disclosure that gives the payload a top-level cnf claim: proofbundle reads cnf in 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, in verify_key_binding or in verify_sdjwt_vc with key binding required; it verified before only because its binding was not read. For a credential whose issuer-signed payload carries no cnf, 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 _sd list: a presented cnf Disclosure 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_alg under 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 Ed25519 cnf.jwk in 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 readable cnf.jwk, a presented Disclosure that gives the payload a top-level cnf claim fails the binding, also with an Ed25519 key, where 6.6.0 ignored the Disclosure; a readable cnf.jwk in the payload decides alone. verify_sdjwt_vc with requireKeyBinding set 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_alg under which no digest can be computed while a Disclosure is presented and the payload's top-level _sd list holds at least one text entry each ask for the binding, and the policy rule sd_jwt.require_key_binding_when_cnf_present reads 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 failing sd-jwt-key-binding line 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, which verify_bundle does not produce. A Disclosure committed in the payload's own _sd list whose form is no claim, and a Disclosure presented over a top-level _sd that is no list, ask for the binding too, the second also where the Disclosure stands in the _sd list of a nested object and names no cnf: 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 _sd list 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 at sd-jwt-disclosures at both, and on the prepared tree it carries a failing sd-jwt-key-binding line as well. Two limits stay as they are, and the owner took note of them on 2026-11-23: a cnf Disclosure that the holder withholds is visible to no verifier, and wherever key binding is checked and the issuer-signed payload holds no readable cnf.jwk, a presented Disclosure that gives the payload a top-level cnf claim fails the binding and is not read, also with an Ed25519 key. The conformance corpus gains bundle/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_pin names 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_aud and 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 other sd_jwt rule, or only require_key_binding_when_cnf_present, passed for a bundle whose SD-JWT carried no cnf and was validly signed under another key, which the presenter had written into the bundle as sd_jwt_vc.issuer_public_key_b64; beside expected_vct or require_nonce the 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), and explain_policy lists 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 the verify_bundle argument sd_jwt_issuer_key_pin still judges a key binding verdict only.
  • A presented Disclosure that stands at no place fails the SD-JWT. verify_sd_jwt counts a Disclosure as committed when its digest stands under an _sd or a ... key, and places it in the _sd list 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 _sd is an object with an _sd of 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 a cnf Disclosure 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 and pb_verify_rs were 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 fails sd-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 _sd the text entries of a list. Where it finds the digest of a presented Disclosure there in the form of a place, in an _sd list 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 _sd key whose value is an object or a list of objects, passed the structure check at both; RESTRISIKO_661.md names both.

Added

  • verify --json says whether the tree size it reports is bound. treeSizeExpectation gains actualSource: checkpoint when a verified signed checkpoint names the same size (--trusted-checkpoint, or a policy merkle.trusted_checkpoints entry that names the root of the bundle as well), expected when an explicit --expected-tree-size matched, and stated otherwise, when actual is only the bundle's own claim. status, expected and actual keep their names and values. Readers that tolerate additional fields remain compatible with this object (SPEC.md).

Changed

  • verify labels 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-size or a matching size supplied by a verified --trusted-checkpoint, the inclusion line now reads anchored 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 with vds 1 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.Z asks the pre-tag gate which receipts verify for the tree and requires that the audit_output_digest of each is the SHA-256 of the raw bytes of a tracked file, as sha256sum computes 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 at audit_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 name audit_output_vX.Y.Z.txt or 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 only pre_tag_receipt_vX.Y.Z.json or pre_tag_receipt_X.Y.Z.json of the version in the tree's pyproject.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's src/ in front of sys.path, so the signature check ran whatever lay on disk; they now serve the package proofbundle from 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, and release.yml runs python -I scripts/verify_pre_tag_receipt.py --commit before the gate, which compares every committed file under scripts/ and src/ with the commit and refuses an untracked importable file or a link there. It skips __pycache__, and Python runs a .pyc there 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 with mktemp -d for 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 of MUTABLE_EVIDENCE_RELS stay 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.yml runs it right after the pre-tag gate, and the release gate of RELEASE.md asks for it, with scripts/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. --receipt keeps its reading over the decoded text for older receipts. This entry changes neither the package nor its verdicts.
  • pb_verify_rs verify-bundle reads a bundle to the end before it decides, as proofbundle verify does, and reads what follows the signature as bundle.py reads it. Python records a signature, an inclusion proof, a root or a tree size that does not hold and reads on; verify_bundle in Rust stopped at the first such check with exit 1. A wrong signature beside a missing merkle.leaf_index gave exit 2 in proofbundle verify and 1 in pb_verify_rs on 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 missing merkle.leaf_index or an sd_jwt_vc that is no object among them, the exit of pb_verify_rs verify-bundle changes from 1 to 2. Reading on reached values that Rust refused as malformed where Python records a failed check: a negative merkle.leaf_index or merkle.tree_size, an inclusion proof longer than the merkle_path budget of 256 steps, which Python refuses before it decodes a step, and in sd_jwt_vc a 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": null is no block in either, so an otherwise valid bundle carrying it now verifies in pb_verify_rs (exit 0) as in proofbundle verify, where pb_verify_rs gave 2; this is one case in which pb_verify_rs now 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, where pb_verify_rs gave 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 budget names merkle_path. Differences that 6.6.0 has too stay: an unknown member of the bundle, of signature, merkle or sd_jwt_vc, and the structure of anchors, which proofbundle verify refuses (exit 2) and pb_verify_rs does not read; and in sd_jwt_vc, where pb_verify_rs verifies the EdDSA issuer 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 of proofbundle verify, so for a bundle with an sd_jwt_vc block the exits of the two can differ in either direction; among the checks it lacks are the disclosures, a key-binding JWT, an ES256 issuer, a cnf holder 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_rs reads the integer literal -0 as the integer 0, as proofbundle verify does. serde_json read it as the float -0.0, so a field that needs an integer, merkle.leaf_index and merkle.tree_size among 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_parse now finds each integer literal -0 in the text, outside strings, and reads it as 0. An otherwise valid bundle that writes merkle.leaf_index as -0 therefore verifies in pb_verify_rs (exit 0), where it gave 2. The float literals -0.0 and -0e0 stay floats, and a field that needs an integer refuses them in both.
  • pb_verify_rs verify-trust-pack-threshold applies the role rules of proofbundle to the values it counts, so a pack with a root threshold of 0 no longer meets its threshold without a signature. The subcommand read revoked and the root role's keyIds and threshold without the rules validate_trust_pack_predicate applies 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 -0 reads as 0 (the entry above), so did -0, which exited 2 before. A keyId not in keys, a revoked that 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 than keyIds and threshold met 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 a roles without 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 without roles exits 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_rs built 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 contains tools/pb_verify_rs.
  • pb_verify_rs verify-trust-pack-threshold refuses a pack in which a key part occurs in two keys, as proofbundle does. 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 one publicKey. The subcommand now reads the parts of every key of the pack as Python reads them, publicKey, and publicKeyPq for 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.md names the rule in its Trust Pack entry, and tests/test_rust_trust_pack_key_part_alias_parity.py runs six packs through both verifiers on the same bytes.
  • An SVR v0.1 statement verifies only with verifier.id a URI with a lower-case scheme and timeCreated in UTC with Z, as in-toto writes TypeURI and Timestamp. in-toto spec/v1/field_types.md writes a TypeURI with a lower-case scheme and a Timestamp in UTC with the designator Z, and svr v0.1 types verifier.id and timeCreated so. The reader takes the designators T and Z in either case, as RFC 3339 allows and as 6.6.0 did, so 2026-10-31t09:00:00z verifies. A validly signed SVR whose verifier.id began HTTPS: or whose timeCreated carried a numeric offset such as +01:00 verified, and proofbundle svr --verify answered PASS; both are now refused, the command answering malformed with exit 2, and export_svr_dsse refuses such a time_created. An SVR that a released version wrote with its own clock carries the lower-case https of its verifier id and a time with Z, so it keeps verifying. export_svr_dsse also writes the time_created its 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.py reads the tagger date of the annotated tag v<version> in UTC and the date of the ## [<version>] - YYYY-MM-DD heading in CHANGELOG.md of the commit the tag points to, and reports a different day as a finding; of a tag object that carries two tagger or two object lines 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.yml now 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 of release.yml that checks out the repository, it holds contents: write (as publish-release does, 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 names git tag -a at 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_bundle returns its verdict when a host has lowered the int-to-str limit. _require_int admits an integer of up to 8192 bits in merkle.leaf_index and merkle.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 of verify_bundle wrote such an integer with a plain f-string: called with a dict whose inclusion holds under such a tree size, or with expected_tree_size beside such a size, verify_bundle raised a raw ValueError in 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 through budget.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 verify on 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.py holds 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.