Repository navigation
chore(release): select native 9842d98 (#31, #34, #33) for signer 1.0.10 - #12
Conversation
…contentauth#33) for signer 1.0.10 The 1.0.10 native now also carries castlabs/c2pa-rs#33, the upstream soft-binding byte normalization, merged after contentauth#34 on feat/trusted-vsi-functional. Cargo.lock is unchanged (SHA-256 10fcb5c1...), so contentauth#34's audit exception assessment still applies.
|
@cl-percy review |
|
Paired Linux/Windows qualification (non-publishing, |
|
Paired qualification passed for |
BibinBaby444
left a comment
There was a problem hiding this comment.
@mstattma Approve at a50223f. Native 9842d98 is exactly c2pa-rs contentauth#31, contentauth#34 and contentauth#33 on top of the previously selected 11f1212, and its source tree is byte-identical to the contentauth#33 head I approved. Every pin and the version agree. A native built from it passes signer contentauth#94's byte-string probe, and your paired run passed for this exact pair on Linux and Windows. This is safe for 1.0.10. I have three P3s, all about docs and tests.
What native 9842d98 contains:
11f1212..9842d98holds only these commits:- contentauth#34:
5f1a967, merged as3699aa0; - contentauth#31: merged as
cedd271; - contentauth#33:
0bb585e,530553cand1a65d3a, merged as9842d98.
- contentauth#34:
- Both merges are clean.
cedd271is the plain merge of3699aa0and11f1212. Its tree is0b8f427, the tree contentauth#34's description names.9842d98is the plain merge ofcedd271and1a65d3a. Its tree is identical to1a65d3a, the head I approved on contentauth#33.
- The diff from
11f1212touches nine files:- contentauth#34's three:
deny.toml, the deadline step intier-1a.yml, anddocs/security/native-1.0.10-audit-exceptions.md; - contentauth#33's six:
CHANGELOG.md,docs/usage.md,sdk/src/assertions/mod.rs,soft_binding.rs,builder.rsandsdk/tests/v2_api_integration.rs.
- contentauth#34's three:
Cargo.lockis byte-identical (SHA-25610fcb5c1…). So no dependency changed, and contentauth#34's exception covers the graph it assessed.- Review:
- I approved contentauth#31 at
11f1212and contentauth#33 at1a65d3a, which are the merged heads. - contentauth#34 has no review on GitHub. It changes no library code: three
deny.tomlignores with reasons, a step that fails the audit job from 2026-12-04, and a document. It is the crypto-bigint exception I accepted on 5 November. I read all three files for this review. - So nothing unreviewed reaches the library.
- I approved contentauth#31 at
- The native's CI at
9842d98is green, including the license and vulnerability audit.
P3:
- The status lines are out of date.
- Where:
- "blocked on native review/merge":
README.md:131,docs/release-notes.md:7-8,docs/usage.md:33,docs/trusted-vsi-python-contract.md:21; - "does not manually build native code or dispatch qualification":
README.md:164-166,docs/release-notes.md:25-26,docs/trusted-vsi-python-contract.md:339-341.
- "blocked on native review/merge":
- Scenario:
- contentauth#31, contentauth#33 and contentauth#34 are merged, and so is #11, the draft PR these lines mean.
- This exact pair passed the paired job in a manual dispatch, run 42782411039. On the pull-request run, the paired job was skipped again, as on #11.
- Fix: say the native is merged. Name run 42782411039 as the paired run for
a50223f+9842d98. Say what remains: the non-publishing release run on the branch tip after merge, then the tag. If this merges without it, please record it in an issue so it isn't lost.
- Where:
- Nothing in this repository checks the soft-binding change the release text announces.
- Where:
scripts/castlabs_release.py:49-50(RELEASE_BODY);tests/. - Scenario:
- No test in
tests/signs or reads a soft binding. - Your paired run gives the same counts on Linux and Windows as the earlier receipt (run 41531470285): 288 focused, 933 non-threaded, 54 threaded, and 288 for the installed wheel.
- I ran this head's focused and non-threaded tests against a native built from
11f1212, which has no contentauth#33. They pass as well: 288 focused and 933 non-threaded, the same tests with the same outcomes as on the9842d98native.
- No test in
- Impact: the wheel's own qualification would pass a native without contentauth#33. Only signer contentauth#94 catches it, through its installed-native test and its runtime check, and only after the signer repins.
- Fix: add one test to the qualification set. It signs a
c2pa.soft-bindingwhose value is[0, 128, 255]and requires the stored value to be the byte string00 80 ff. Signer contentauth#94's check does exactly this, so it can be copied.
- Where:
- The audit sentence still has no advisory IDs (carried over from my #11 review, P3 2).
- Where:
RELEASE_BODY(scripts/castlabs_release.py:54-55),README.md:123-124,docs/usage.md:35-36,docs/release-notes.md:20-21,docs/trusted-vsi-python-contract.md:18-19. - Scenario: they all say "
crypto-bigint0.5.5 remains unfixed and the existing RSAcargo-denyignore remains". Since contentauth#34, the native has a written record for both, with the IDs and the review date. - Fix: in
RELEASE_BODY, name RUSTSEC-2026-0387 (accepted until review on 2026-12-04) and RUSTSEC-2023-0071, and say both are in the bundled native library. Have the four docs link to c2pa-rsdocs/security/native-1.0.10-audit-exceptions.mdinstead of repeating the sentence.
- Where:
Release: this is the 1.0.10 native agreed for the byte-value change. After it merges, the steps are:
- the non-publishing release run on the branch tip, then the
castlabs-v0.37.13+signer.1.0.10tag; - then signer contentauth#94 moves its pin to this wheel, together with the complete-asset exact-version check;
- then CLI contentauth#44 and demo contentauth#78 repin.
No 1.0.10 tag or release exists yet (the latest is castlabs-v0.37.13+signer.1.0.9). So reusing the version for the new native relabels nothing.
What I checked:
- The diff: 11 files, one commit on the current base
2c35184.merge-treeis clean,git diff --checkis clean, and no file has CR line endings. - Pins:
9842d981997840ff8787005b8146a2f07a58431cis in all of these: the lock, both schemas,RUST_COMMIT, the three native checkouts in the release workflow, the paired workflow, the tooling test and the docs.11f1212appears nowhere in the tree.- Version
0.37.13+signer.1.0.10is unchanged and the same inpyproject.toml:7,src/c2pa/c2pa.py:14, the lock, the schemas and the workflows (tag filter, wheel and bundle names, expected version).
- Release tooling:
validate-lockpasses.validate-sourcesfor a tag event passes against a real checkout of9842d98. That covers the commit, theCargo.lockdigest, the workspace version0.92.0-devand the Python version.- For a manual event it refuses, as designed, until this head is the branch tip.
- The tooling and build tests pass: 68 at the base, 68 here.
- Mutation: I put
11f1212back into one place at a time:- each of the three release-workflow checkouts;
- the paired workflow;
- each schema, the lock and the constant.
- Each mutant fails at least one tooling test.
- Native build:
c2pa-c-ffifrom9842d98, debug,--locked, Rust 1.96.0,--no-default-featureswith the lock's features (rust_native_crypto,http,add_thumbnails,file_io,unstable_live_video). - Native identified by behaviour. I signed with my own throwaway key and read the stored CBOR with my own JUMBF reader, using this PR's Python source:
9842d98:[0,128,255]is stored as the byte string00 80 ff."00ff"stays text."b64'AID/'"becomes bytes.11f1212: an integer array, text and text.
- Signer contentauth#94's check (signer
0a7aad5, this PR's Python source, test-only shim for the complete-asset version check, loaded library checked in each run):- New native:
test_installed_native_passes_the_byte_string_probepasses. Withtests/test_soft_binding_native_guard.py, 6 passed. 11f1212native: that test fails with "the installed c2pa native would not write soft-binding values as CBOR byte strings", as it should. The other 5 pass.- Signer contentauth#94's soft-binding, session, parent, spec, complete-asset, VSI and trusted-VSI files on the new native: 1980 passed, 167 skipped. By node ID, that is identical to my run yesterday on the native built from contentauth#33's head.
- New native:
- This repository's suites, Python 3.12.3, in the paired workflow's environment, compared by node ID:
- This head with the
9842d98native: 288 focused, the ladder harness, 933 non-threaded (with the release smoke required) and 54 threaded, all passed. - The base
2c35184with the11f1212native: the same counts. No test changes outcome.
- This head with the
- CI: your dispatch, run 42782411039, ran the paired job for exactly
a50223fand9842d98(the job log records both SHAs).- Linux and Windows: 288 focused, the ladder harness, 933 non-threaded, 54 threaded.
- It also built the wheel and qualified the installed wheel: 288 passed.
- On the pull-request runs, release tooling, format and version reading pass. The paired, wheel and unit jobs were skipped.
- AL1 security architecture (signer contentauth#114): nothing here makes a statement in it wrong. Its component table describes signer 1.0.8 with c2pa-python
0.37.13+signer.1.0.8/ native6021100. When the filing moves to 1.0.10, that row becomes0.37.13+signer.1.0.10/9842d98. - Not run: the release-profile manylinux build; on my side, Windows and the wheel build with the installed-wheel check (your run covers them); Python 3.10, 3.11 and 3.13, and the publishing release run.
…ent status and advisory IDs - Release smoke signs a soft binding with value [0, 128, 255] and requires the stored CBOR byte string h'0080ff' (castlabs/c2pa-rs contentauth#33); an older native stores the integer array and fails. - Status text: native merged, paired run 42782411039, tag push creates the draft release. - Audit sentence names RUSTSEC-2026-0387 (review 2026-12-04) and RUSTSEC-2023-0071 and links the native audit exceptions.
|
@BibinBaby444 Your three P3s are fixed in
Paired run for |
Moves the signer 1.0.10 native pin from
11f1212to9842d98, thefeat/trusted-vsi-functionalhead of castlabs/c2pa-rs. It adds castlabs/c2pa-rs#33 [fix(sdk): Adopt upstream soft-binding byte normalization]: JSON soft-binding byte arrays andb64'…'values are stored as CBOR byte strings, which signer contentauth#94, CLI contentauth#44 and demo contentauth#78 need. Plus castlabs/c2pa-rs#34's audit exceptions, which are CI policy only.Cargo.lockis byte-identical (SHA-25610fcb5c1…), so Performance improvement when signing using file paths. contentauth/c2pa-python#34's time-boxed crypto-bigint exception, which expires 2026-12-04, still matches the assessed lock.Next: after merge, a manual non-publishing
Castlabs VSI releaserun on the branch tip builds and tests both wheels. Thecastlabs-v0.37.13+signer.1.0.10tag, which creates the draft release, is a separate step.