Repository navigation
chore(release): prepare signer 1.0.10 with receiver-time VSI validation - #11
Conversation
|
Final preparation review at 4619e78 used openai/gpt-6.1-sol, high effort, fallback disabled, as authorized by the operator. No substantiated findings. This does not qualify artifacts or resolve native audit failures; paired Linux/Windows run 41531470285 remains a required check. No tags/releases/publication authorized. @cl-percy review |
|
@cl-percy review |
|
@BibinBaby444 please review the current draft at
@cl-percy start |
|
Coordination for the operator-requested 1.0.10 soft-binding correction: companion native contentauth#32 (stacked on contentauth#31) now converts strict JSON byte arrays to raw CBOR byte strings. Signer contentauth#94 / CLI contentauth#44 + provider contentauth#45 / demo contentauth#78 migrate castLabs.watermark.1 and actual byte-report decoding, intentionally without legacy names/hex-text compatibility. Please include the reviewed contentauth#32 native selection in the eventual exact Python/native artifact tuple; existing native pins do not supply this fix. No pin/facts edits, publication or release are performed by this comment. Native final-head CI and nonpublishing qualification are running; do not assume them green yet. |
BibinBaby444
left a comment
There was a problem hiding this comment.
Approve at 6c0562d. Every pin agrees with native 11f1212 and its lock. I built the native library from 11f1212 with the wheel's feature set, and the full paired Linux suite passes against it, including the installed-wheel step. The audit hold is a native decision; my disposition is in the c2pa-rs contentauth#31 review. If the exception is accepted, this PR's audit text stays true; if crypto-bigint is fixed instead, the native head moves and this PR repins anyway. I have two P3s.
P3s:
- The "automatic" paired run didn't happen on this head.
- Mechanism:
README.md:160-162says normal PR sync "runs" the paired workflow under its gate.docs/release-notes.md:22-23anddocs/trusted-vsi-python-contract.md:338-340say it "may" run it.- The gate (
build.yml:29-38) needs the event'sauthor_associationto be COLLABORATOR or MEMBER, or asafe to testlabel. - Both
pull_requestruns at6c0562d(41789573654 and 41790077797) skipped the job. The PR only has thepercivallabel. - The only paired receipt is manual run 41531470285, for the older pair.
- Impact: the qualification the description expects from ordinary pushes never ran for this exact pair. The docs make it sound automatic.
- Fix:
- Add the
safe to testlabel. The existing gate already allows it, so it runs on the next sync with no manual dispatch. - Or get the operator to authorize a dispatch.
- Either way, say in the three places that the gate can skip PRs.
- Add the
- Mechanism:
- The audit sentence appears in five places, and none of them gives the advisory IDs.
- Mechanism:
- The same text, "crypto-bigint 0.5.5 remains unfixed and the existing RSA cargo-deny ignore remains; this is not an audit-clean claim", appears at
README.md:119-120,docs/usage.md:35-36,docs/release-notes.md:17-18,docs/trusted-vsi-python-contract.md:17-18andscripts/castlabs_release.py:53-54. - The last one is
RELEASE_BODY, which the release job publishes as the GitHub release text (castlabs-vsi-release.yml:584).
- The same text, "crypto-bigint 0.5.5 remains unfixed and the existing RSA cargo-deny ignore remains; this is not an audit-clean claim", appears at
- Impact:
- Customers read the release body, and "the existing RSA cargo-deny ignore" means nothing to them.
- Their scanners match on RUSTSEC IDs, not crate names.
- Once the disposition is recorded, there are five copies to keep in step.
- Fix:
- In
RELEASE_BODY, name RUSTSEC-2026-0387 and RUSTSEC-2023-0071 and the recorded disposition, and say both are in the bundled native library. - Have the four docs point to one place instead of restating it.
- In
- Mechanism:
Checked:
- Pins:
- Native SHA
11f121244a2e063b2f0535554ae3d761c4b015d6and lock SHA-25610fcb5c1c096ed573f687faef9a104eeff6d4883484a45efb843624c16606a48appear in:release/castlabs-vsi-inputs.lock.json:16-18;- both schemas (
castlabs-vsi-inputs.schema.json:51-53,castlabs-release-evidence.schema.json:52-54); scripts/castlabs_release.py:30-31;- the three native checkouts in
castlabs-vsi-release.yml(:75,:126,:281); trusted-vsi-paired.yml:57;tests/test_castlabs_release_tooling.py:75-77.
- The new test at
:87-91ties the schema constants to the lock. - I recomputed the lock hash from the native commit, and it matches.
- Version
0.37.13+signer.1.0.10is the same inpyproject.toml:7,src/c2pa/c2pa.py:14, the lock, the schemas, the tag filter, the wheel names and the expected-version variables. - No wheel or binary digests are claimed.
- The remaining
signer.1.0.9/6021100c/ff5cf2destrings are only historical text or negative test cases.
- Native SHA
- Delta from the qualified pair:
- Python
4619e78..6c0562dchanges only pins, docs,RELEASE_BODYand one tooling test. - Native
f7a9522..11f1212changes onlyCargo.lock. - So the historical receipt covers all the test code, and the untested gap is the three crate bumps. My local run closes that gap on Linux.
- Python
- Historical receipt:
- Run 41531470285 is a
workflow_dispatchof "Castlabs VSI release" with only the paired jobs running. - Its Linux log records
4619e78andf7a9522, with 288, 933 and 54 passed. - The
f7a9522lock isff5cf2de…, as the contract says (:307-318).
- Run 41531470285 is a
- Signer scope doc: at
fffa196,signer-1.0.10-complete-assets.mdsaid "native code does not" change. Signer contentauth#89 merged as133791eat 07:06Z today. That merge made this repin a mandatory 1.0.10 gate, so the contradiction is gone on master.- Its status lines still show contentauth#31 at
f7a95223. - Its handoff checkbox for recording the contentauth#31 and #11 commits is still open. That's for the signer to update.
- Its status lines still show contentauth#31 at
- Docs vs code: the receiver text in
README.md,docs/usage.md:58-65, the contract's "Receiver lifetime" bullet and the release notes matches native behaviour:- inclusive bounds;
livevideo.segment.invalid;- a malformed
iatstill fails; - the clock override is test-only;
verify.validation_timedoesn't apply.- The expert-mode wording now says native checks the typed payload and the
iatwindow before signing. That matches the native contract. - The float-
iatquestion in my contentauth#31 review (P3 3) applies to "malformediatstill fails" here too.
- Fixture clock: the tests now sample the current time once per module:
test_trusted_vsi_api.py:40-41: windowIAT ± 12 h;- smoke
:283,:353:createdAt= now − 60 s. - Everything in them is sender-side, and Python has no receiver, so nothing depends on the receiver clock.
- The new
test_paired_expired_key_refused_at_explicit_signing_time(:1357-1365) checks that the sender refuses before any callback.
- Tooling:
validate-lockpasses.validate-sourcesrefuses the PR head by design, because it requires the release-branch tip, so it can only pass after merge. - Merge: the base
98ccd6dhasn't moved.git merge-treeis clean andgit diff --checkis clean. No CRs. - CI at
6c0562d: release tooling, format and version reading pass. Paired, wheel and unit jobs were skipped (see P3 1).
Tests: Python 3.12.3, Linux x86-64.
tests/test_castlabs_release_tooling.pyandtests/test_trusted_vsi_build.py: 68 passed.- Native build: I built
c2pa-c-ffi(debug) from11f1212with--locked, Rust 1.96.0 and the lock's features:rust_native_crypto,http,add_thumbnails,file_io,unstable_live_video. It compiled tokio 1.53.3, rustls-webpki 0.103.16 and webpki-roots 1.0.10. I set the same environment astrusted-vsi-paired.yml.- Focused set (trusted VSI API, fragmented files, sign ladder, native ownership): 288 passed.
- Five subprocess tests first failed because my harness didn't set
PYTHONPATH. They passed when rerun with it.
- Five subprocess tests first failed because my harness didn't set
- Ladder harness, candidate lane: all six checks passed.
- Non-threaded suite with
CASTLABS_RELEASE_SMOKE_REQUIRED=1: 933 passed, counting the same five reruns. - Threaded suite: 54 passed.
- Wheel build:
build_trusted_vsi_functional.pybuiltc2pa_python-0.37.13+signer.1.0.10-py3-none-linux_x86_64.whland the sdist. - Installed-wheel qualification:
qualify_trusted_vsi_functional.pypassed (288 passed, 18 subtests). - These counts match the historical receipt.
- Focused set (trusted VSI API, fragmented files, sign ladder, native ownership): 288 passed.
- Not run:
- Windows;
- the release-profile manylinux build;
- Python 3.10, 3.11 and 3.13.
- My wheel is a local, non-release build, not evidence for publication.
|
Operator-authorized merge completed at exact reviewed head 6c0562d, merge 2c35184. Non-publishing paired run 42341232938 passed Linux and Windows focused API/ladder, non-threaded/threaded and isolated installed-wheel checks; all release jobs were skipped. Native 11f1212 and lock 10fcb5c1c096ed573f687faef9a104eeff6d4883484a45efb843624c16606a48 are unchanged. Native integration and time-boxed audit policy are merged; this preparation does not publish artifacts or qualify the later soft-binding/consumer tuple. Nonblocking release-text/doc follow-ups remain recorded for final preparation. |
Integration Status
Merged as
2c351845ebcedabf285af589063b9fab0ab3fde6under the operator's explicitmerge authorization, preserving reviewed Python head
6c0562dand native pin11f121244a2e063b2f0535554ae3d761c4b015d6. Native integration and the separatetime-boxed audit policy are merged.
The policy accepts residual RUSTSEC-2026-0387/local EC private-key exposure,
retains RUSTSEC-2023-0071/RSA and build-only RUSTSEC-2024-0370 dispositions,
and requires review on 2026-12-04 UTC. This is not remediation or a universal
unaffected claim for local private-key modes.
Summary
Prepare
0.37.13+signer.1.0.10for the receiver-time VSI validator correctionin castlabs/c2pa-rs contentauth#31. Current Python source:
6c0562d9.11f121244a2e063b2f0535554ae3d761c4b015d6and Cargo.lock SHA-25610fcb5c1c096ed573f687faef9a104eeff6d4883484a45efb843624c16606a48consistentlyacross the lock, schemas, release helper, workflow checkouts, tests and current docs.
crypto-bigint remains unpatched; the existing RSA cargo-deny exemption is unchanged.
features, ABI revision 3/mask 63 and release safety controls.
Python verify.validation_time is not a VSI lifetime override. Existing sender
refusal/fixture tests do not substitute for native receiver boundary validation.
Verification
actual lock digest equal the selected inputs.
They do not compile native code or qualify an installed native artifact.
source identities remain distinct, with no fabricated binary or wheel hashes.
42341232938
for the exact current pair. Linux and Windows passed focused API/ladder,
non-threaded/threaded and isolated installed-wheel qualification. Prepare,
release-profile artifact builds and release jobs were skipped. This does not
change the ordinary PR gate or imply that it cannot skip other events.
Historical Receipt
Non-publishing paired Linux/Windows run 41531470285 passed with Python
4619e789f932945cc587e60863558f476b4c93baand nativef7a95223d61257c80c2e49909b4643482b95662c. Both resolved checkout SHAs wereverified from the jobs' source-identity logs. This receipt does not qualify
the updated lock, native commit or Python head. Release-profile publication jobs
were skipped in that run.
Remaining Release Work
This is merged preparation, not immutable release-profile qualification or
publication. No tag, release, upload or deployment was performed. Published
1.0.9 and earlier evidence remain immutable. The later soft-binding correction
and JS/player/signer adoption still require the final reviewed native tuple and
real artifacts/evidence; historical bytes cannot be relabelled as 1.0.10.
Bibin's nonblocking release-text follow-ups (explicit advisory/disposition IDs,
documentation deduplication and wording that ordinary paired gates can skip)
remain final-preparation work. The exact-pair hosted qualification gap is closed
by the new receipt above, not by assuming every ordinary PR gate now runs.