Skip to content

chore(release): prepare signer 1.0.10 with receiver-time VSI validation - #11

Merged
mstattma merged 2 commits into
feat/trusted-vsi-functionalfrom
release/signer-1.0.10
Nov 7, 2026
Merged

mstattma merged 2 commits into
feat/trusted-vsi-functionalfrom
release/signer-1.0.10

Conversation

@mstattma

@mstattma mstattma commented Nov 2, 2026 •

Copy link
Copy Markdown

Integration Status

Merged as 2c351845ebcedabf285af589063b9fab0ab3fde6 under the operator's explicit
merge authorization, preserving reviewed Python head 6c0562d and native pin
11f121244a2e063b2f0535554ae3d761c4b015d6. Native integration and the separate
time-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.10 for the receiver-time VSI validator correction
in castlabs/c2pa-rs contentauth#31. Current Python source: 6c0562d9.

  • Pin native 11f121244a2e063b2f0535554ae3d761c4b015d6 and Cargo.lock SHA-256
    10fcb5c1c096ed573f687faef9a104eeff6d4883484a45efb843624c16606a48 consistently
    across the lock, schemas, release helper, workflow checkouts, tests and current docs.
  • Native patches rustls-webpki 0.103.16, webpki-roots 1.0.10 and tokio 1.53.3.
    crypto-bigint remains unpatched; the existing RSA cargo-deny exemption is unchanged.
  • Preserve Python's public API/base version, Rust 1.96.0, native 0.92.0-dev,
    features, ABI revision 3/mask 63 and release safety controls.
  • Receiver lifetime uses validation time with inclusive bounds, not claimed iat.
    Python verify.validation_time is not a VSI lifetime override. Existing sender
    refusal/fixture tests do not substitute for native receiver boundary validation.

Verification

  • validate-lock passed; direct comparison confirms the native checkout HEAD and
    actual lock digest equal the selected inputs.
  • 68 release-tooling/source-build-identity tests passed, no skips/failures.
    They do not compile native code or qualify an installed native artifact.
  • Opus 5.5 static review (fallback disabled) found no findings. Historical/current
    source identities remain distinct, with no fabricated binary or wheel hashes.
  • Bibin approved this exact head and checked its paired Linux native and wheel.
  • The operator's current merge/verification task launched non-publishing run
    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
4619e789f932945cc587e60863558f476b4c93ba and native
f7a95223d61257c80c2e49909b4643482b95662c. Both resolved checkout SHAs were
verified 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.

@mstattma

mstattma commented Nov 2, 2026

Copy link
Copy Markdown
Author

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

@mstattma

mstattma commented Nov 2, 2026

Copy link
Copy Markdown
Author

@cl-percy review

@mstattma

mstattma commented Nov 4, 2026

Copy link
Copy Markdown
Author

@BibinBaby444 please review the current draft at 6c0562d97ce7a2cb4598e21234f8c9091a386d0e and provide a human review and disposition of the native audit hold. This update supersedes the older native-pin and qualification wording above and in the PR description.

  1. The exact native pin is now castlabs/c2pa-rs@11f121244a2e063b2f0535554ae3d761c4b015d6 (native PR #31), with Cargo.lock SHA-256 10fcb5c1c096ed573f687faef9a104eeff6d4883484a45efb843624c16606a48. The pin/hash and current GitHub native lock bytes agree. The latest Python repin updates 11 files consistently across the lock, schemas, tooling/tests, workflows, and current documentation; historical receipts retain their original identities.
  2. Recorded verification for this update: 68 tooling/build tests passed, scripts/castlabs_release.py validate-lock passed, and direct native-pin/hash checks passed. These checks were not rerun in this review-request operation and do not qualify native binaries or installed wheels. Current Actions release-tooling and formatting checks pass, but the paired-source job is skipped; a green workflow with skipped qualification is not qualification.
  3. Native changes are limited to the three dependency patches: rustls-webpki 0.103.16, tokio 1.53.3, and webpki-roots 1.0.10. The reported Opus 5.5 static review was clean, and full metadata resolution/updated crate checksums were verified. crypto-bigint 0.5.5 remains unpatched for RUSTSEC-2026-0387; plain cargo audit also reports RSA RUSTSEC-2023-0071, whose existing cargo-deny ignore is unchanged, plus the existing proc-macro-error warning (RUSTSEC-2024-0370). No new advisories were ignored and no audit-clean claim is made.
  4. Preserve historical paired receipt 41531470285 for the exact Python 4619e789f932945cc587e60863558f476b4c93ba / native f7a95223d61257c80c2e49909b4643482b95662c pair (old lock SHA-256 ff5cf2de2403ff491957fc8a2206c289203d2799a30425bd615f7c9e69974a8f). It is not qualification of this new Python/native pair, and must not be relabeled as such.
  5. The operator ALLOWED existing automatic qualification on normal pushes under unchanged author/label gates. No manual workflow dispatch, local native qualification, or release is authorized here. No automatic-qualification success, fresh paired qualification, artifact hash, or release readiness is claimed by this request.
  6. Please review the pin/hash propagation and preserved historical evidence, and provide a human decision on the outstanding native audit issues with Please add an example method for ES256 signing contentauth/c2pa-python#31. Keep both PRs DRAFT and unmerged; automated review does not substitute for your approval. No source edits, commits, merges, tags, or releases are part of this request.

@cl-percy start

@mstattma

mstattma commented Nov 4, 2026

Copy link
Copy Markdown
Author

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 BibinBaby444 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

  1. The "automatic" paired run didn't happen on this head.
    • Mechanism:
      • README.md:160-162 says normal PR sync "runs" the paired workflow under its gate. docs/release-notes.md:22-23 and docs/trusted-vsi-python-contract.md:338-340 say it "may" run it.
      • The gate (build.yml:29-38) needs the event's author_association to be COLLABORATOR or MEMBER, or a safe to test label.
      • Both pull_request runs at 6c0562d (41789573654 and 41790077797) skipped the job. The PR only has the percival label.
      • 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 test label. 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.
  2. 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-18 and scripts/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).
    • 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.

Checked:

  • Pins:
    • Native SHA 11f121244a2e063b2f0535554ae3d761c4b015d6 and lock SHA-256 10fcb5c1c096ed573f687faef9a104eeff6d4883484a45efb843624c16606a48 appear 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-91 ties 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.10 is the same in pyproject.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 / ff5cf2de strings are only historical text or negative test cases.
  • Delta from the qualified pair:
    • Python 4619e78..6c0562d changes only pins, docs, RELEASE_BODY and one tooling test.
    • Native f7a9522..11f1212 changes only Cargo.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.
  • Historical receipt:
    • Run 41531470285 is a workflow_dispatch of "Castlabs VSI release" with only the paired jobs running.
    • Its Linux log records 4619e78 and f7a9522, with 288, 933 and 54 passed.
    • The f7a9522 lock is ff5cf2de…, as the contract says (:307-318).
  • Signer scope doc: at fffa196, signer-1.0.10-complete-assets.md said "native code does not" change. Signer contentauth#89 merged as 133791e at 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.
  • 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 iat still fails;
    • the clock override is test-only;
    • verify.validation_time doesn't apply.
    • The expert-mode wording now says native checks the typed payload and the iat window before signing. That matches the native contract.
    • The float-iat question in my contentauth#31 review (P3 3) applies to "malformed iat still fails" here too.
  • Fixture clock: the tests now sample the current time once per module:
    • test_trusted_vsi_api.py:40-41: window IAT ± 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-lock passes. validate-sources refuses the PR head by design, because it requires the release-branch tip, so it can only pass after merge.
  • Merge: the base 98ccd6d hasn't moved. git merge-tree is clean and git diff --check is 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.py and tests/test_trusted_vsi_build.py: 68 passed.
  • Native build: I built c2pa-c-ffi (debug) from 11f1212 with --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 as trusted-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.
    • 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.py built c2pa_python-0.37.13+signer.1.0.10-py3-none-linux_x86_64.whl and the sdist.
    • Installed-wheel qualification: qualify_trusted_vsi_functional.py passed (288 passed, 18 subtests).
    • These counts match the historical receipt.
  • 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.

@mstattma
mstattma marked this pull request as ready for review November 7, 2026 05:19
@mstattma
mstattma merged commit 2c35184 into feat/trusted-vsi-functional Nov 7, 2026
44 checks passed
@mstattma

mstattma commented Nov 7, 2026

Copy link
Copy Markdown
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

percival Percival automated PR review watch mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants