Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Bring claim_v2 branch up to date with main branch #809

Merged
merged 284 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
284 commits
Select commit Hold shift + click to select a range
c4a06bf
Fix Make release script & update readme (contentauth/c2patool#55)
gpeacock Aug 19, 2022
bf8ce46
Updates publish workflow to upload binaries to github (contentauth/c2…
jackfarzan Aug 26, 2022
f9dbb15
chore: Update README.md (contentauth/c2patool#54)
crandmck Sep 2, 2022
d909a28
Add --info option (contentauth/c2patool#65)
gpeacock Sep 14, 2022
8d82e74
chore: Fix publish CI workflow (contentauth/c2patool#67)
scouten-adobe Sep 15, 2022
8abf901
chore: Fix a couple more spots where step renaming was missed
scouten-adobe Sep 15, 2022
2a631d5
chore: Also, we need an admin token to later push back to the repo
scouten-adobe Sep 15, 2022
2915d66
chore: Move GitHub release step into repo-prep workflow
scouten-adobe Sep 15, 2022
3619651
chore: Fix tagging step
scouten-adobe Sep 15, 2022
0efb134
Prepare 0.3.1 release
scouten-adobe Sep 15, 2022
8d8a658
chore: Publish from the newly-created commit
scouten-adobe Sep 15, 2022
70bf13e
Upgrade cpufeatures to non-yanked version (contentauth/c2patool#68)
scouten-adobe Sep 15, 2022
8206eb9
Prepare 0.3.2 release
scouten-adobe Sep 15, 2022
0897e8f
Fix name mismatch that caused binary publish to fail
scouten-adobe Sep 15, 2022
240f995
Prepare 0.3.3 release
scouten-adobe Sep 15, 2022
d02191e
Put the binary outputs in the correct release
scouten-adobe Sep 15, 2022
6c5eb57
Prepare 0.3.4 release
scouten-adobe Sep 15, 2022
b05130d
Fix reference to previous version tag
scouten-adobe Sep 15, 2022
9c7995a
Prepare 0.3.5 release
scouten-adobe Sep 15, 2022
69e4507
chore: Remove changelog history for partial releases
scouten-adobe Sep 15, 2022
ad8abc9
Update Cargo.lock to 0.3.5
gpeacock Sep 15, 2022
c8dc171
chore: update readme --info (contentauth/c2patool#70)
gpeacock Sep 15, 2022
c0d46c3
Update Cargo.lock when publishing crate (contentauth/c2patool#71)
scouten-adobe Sep 15, 2022
25dd9aa
Prepare 0.3.6 release
scouten-adobe Sep 16, 2022
b12a5a0
Fetch remote manifests for --info (contentauth/c2patool#75)
gpeacock Sep 22, 2022
a267c1c
Treat a source asset with a manifest store as a default parent (conte…
gpeacock Sep 22, 2022
f74f656
Prepare 0.3.7 release
gpeacock Sep 22, 2022
a2fc69a
Readme updates (contentauth/c2patool#62)
gpeacock Oct 25, 2022
b83be49
Fix new Clippy warning in Rust 1.65 (contentauth/c2patool#84)
scouten-adobe Nov 5, 2022
2f75426
Build infrastructure improvements (contentauth/c2patool#85)
scouten-adobe Nov 5, 2022
4172565
Bump c2pa from 0.13.2 to 0.15.0 (contentauth/c2patool#87)
gpeacock Nov 9, 2022
616b91d
Prepare 0.3.8 release
gpeacock Nov 9, 2022
d84f6e2
allows clients to output manifest report to specified directory (cont…
dyro Dec 3, 2022
72751ca
update to c2pa-rs 0.16.0
gpeacock Dec 6, 2022
e7f12ea
Prepare 0.3.9 release
gpeacock Dec 6, 2022
2926f76
Update for Clippy in Rust 1.67 (contentauth/c2patool#101)
scouten-adobe Feb 1, 2023
a6f4850
update to cp2pa 0.17.0 (contentauth/c2patool#105)
gpeacock Feb 28, 2023
db54bca
feat: Add --certs and --tree options (contentauth/c2patool#106)
gpeacock Mar 1, 2023
278351d
Prepare 0.4.0 release
gpeacock Mar 1, 2023
a775962
chore: Fix a warning flagged by Clippy in Rust 1.68 (contentauth/c2pa…
scouten-adobe Mar 9, 2023
f8d8e51
Leverage new Manifest & Ingredient, add Ingredient creation. (content…
gpeacock Mar 16, 2023
115469c
feat: New ingredient support and c2pa file formats (contentauth/c2pat…
gpeacock Mar 28, 2023
8c2b246
Prepare 0.5.0 release
gpeacock Mar 28, 2023
74ed300
Update expired sample certs (contentauth/c2patool#113)
mauricefisher64 Apr 4, 2023
b6f09b1
chore: Change relative links to absolute to fix doc build (contentaut…
crandmck Apr 6, 2023
8600f95
Update README.md (contentauth/c2patool#118)
crandmck Apr 6, 2023
cbc6cfb
chore: Update README.md (contentauth/c2patool#119)
crandmck Apr 6, 2023
b5287e4
Prepare 0.5.1 release
gpeacock Apr 10, 2023
898e0a6
Ingredient thumbnails, extension cleanup, toolkit update (contentauth…
gpeacock Apr 18, 2023
74499bb
Prepare 0.5.2 release
gpeacock Apr 19, 2023
9e16981
Parent Ingredient JSON (contentauth/c2patool#123)
gpeacock May 4, 2023
d6ccd96
Prepare 0.5.3 release
gpeacock May 4, 2023
67b5b27
Update README.md (contentauth/c2patool#124)
crandmck May 24, 2023
f369bff
c2pa-rs 23.0 + updated test
gpeacock Jun 10, 2023
df5fbd8
Merge branch 'main' of https://github.com/contentauth/c2patool
gpeacock Jun 10, 2023
805ef51
integrate c2pa 23.0 bump version (contentauth/c2patool#126)
gpeacock Jun 13, 2023
d2d7fca
Prepare 0.5.4 release
gpeacock Jun 13, 2023
639ff3a
feat: update to c2pa-rs 0.24.0 (contentauth/c2patool#127)
gpeacock Jun 22, 2023
582279d
Prepare 0.6.0 release
gpeacock Jun 22, 2023
f44ae25
use compress-archive instead of tar (contentauth/c2patool#130)
jackfarzan Jul 24, 2023
37eacfa
Prepare 0.6.1 release
jackfarzan Jul 24, 2023
c973e09
Fix windows release (contentauth/c2patool#132)
jackfarzan Jul 25, 2023
7a8fbb0
chore: Update README.md (contentauth/c2patool#131)
crandmck Jul 27, 2023
e93034e
Updates to c2pa-rs 0.25.1 (contentauth/c2patool#128)
gpeacock Jul 27, 2023
cfcecce
chore: Split README into several files in new docs dir (contentauth/c…
crandmck Aug 23, 2023
af46e6b
Fix issue with docusaurus styling and fix broken links (contentauth/c…
crandmck Aug 24, 2023
1e4382f
chore: Add nightly build process (contentauth/c2patool#139)
scouten-adobe Aug 31, 2023
0322704
chore: Update CI/CD actions (contentauth/c2patool#140)
scouten-adobe Sep 1, 2023
9d017dc
chore: Update chrono dep to 0.4.28, which satisfies latest nightly c2…
scouten-adobe Sep 1, 2023
efd5531
Upgrade to c2pa-rs 0.26.0 (contentauth/c2patool#143)
scouten-adobe Sep 15, 2023
7d78c0d
chore: Fix link to nightly build docs in README.md (contentauth/c2pat…
crandmck Sep 15, 2023
f36cd93
chore: Apply same rustfmt configuration as c2pa-rs (contentauth/c2pat…
scouten-adobe Oct 4, 2023
769a26d
Add Do not train example
gpeacock Oct 4, 2023
64ec807
Merge branch 'main' of https://github.com/contentauth/c2patool
gpeacock Oct 4, 2023
53c083f
update to c2pa 0.27.1 (contentauth/c2patool#146)
gpeacock Oct 5, 2023
838a41d
chore: Fix bugs in publish workflow related to change in GH Actions A…
scouten-adobe Oct 5, 2023
b33fc94
Prepare 0.6.2 release
gpeacock Oct 5, 2023
139adc6
chore: Doc update for manifest docs (contentauth/c2patool#148)
crandmck Oct 18, 2023
ab7e140
Update to c2pa-rs 0.28.1
gpeacock Nov 21, 2023
2f52e31
feat: updates to c2pa-rs v0.28.2 (contentauth/c2patool#153)
dyro Nov 21, 2023
e669b84
Prepare 0.7.0 release
gpeacock Nov 22, 2023
65ed850
adds version to c2patool artifact names (contentauth/c2patool#158)
jackfarzan Dec 20, 2023
95dac91
Add trust and verification options to c2pa_tool (contentauth/c2patool…
mauricefisher64 Mar 14, 2024
707aa62
feat: allow clients to sign with a process outside of c2patool (conte…
dyro Mar 20, 2024
f1355fd
Prepare 0.8.0 release
dyro Mar 20, 2024
fc5b416
use c2pa-rs 0.31.1 for actions.changes support (contentauth/c2patool#…
gpeacock Mar 25, 2024
59a3156
Prepare 0.8.1 release
gpeacock Mar 25, 2024
ec0dbbf
fixed c2patool asset name (contentauth/c2patool#171)
jackfarzan Mar 28, 2024
11574df
Prepare 0.8.2 release
jackfarzan Mar 28, 2024
c35457a
feat: Add HTTP source option for trust config (contentauth/c2patool#174)
Apr 30, 2024
bc2dd0a
Integrate with c2pa-rs 0.32.0, various test case fixes. (contentauth/…
gpeacock May 7, 2024
55433e8
Prepare 0.9.0 release
gpeacock May 7, 2024
efac9d1
Add better support for cargo-binstall (contentauth/c2patool#177)
May 22, 2024
4347fc3
Prepare 0.9.1 release
dkozma May 22, 2024
bf7b2a7
Remove integration tests for now due to extraneous binaries (contenta…
May 24, 2024
2f813a2
Prepare 0.9.2 release
dkozma May 24, 2024
78ea76e
Remove binary modules (contentauth/c2patool#179)
May 24, 2024
4bc8948
Prepare 0.9.3 release
dkozma May 29, 2024
3dbf39a
Document how to specify an icon (contentauth/c2patool#182)
crandmck Jun 17, 2024
dba230a
Match c2pa-rs minimum toolchain version and test in CI (contentauth/c…
ok-nick Jun 19, 2024
6d7c164
Update c2patool (contentauth/c2patool#190)
mauricefisher64 Jun 25, 2024
5c79a54
Prepare 0.9.4 release
mauricefisher64 Jun 25, 2024
165f4cd
added security.md (contentauth/c2patool#196)
jackfarzan Jul 18, 2024
d1f365e
Update to lastest c2pa-rs (contentauth/c2patool#197)
mauricefisher64 Jul 18, 2024
977907a
Prepare 0.9.5 release
mauricefisher64 Jul 18, 2024
5d8988a
chore: Clarify use of test cert/key and general doc edits (contentaut…
crandmck Jul 22, 2024
dbc60ed
Updates cargo packages and cargo.deny file. (contentauth/c2patool#200)
gpeacock Jul 22, 2024
90300ea
chore: Simplify nightly workflow and make it more like the one in c2p…
scouten-adobe Jul 23, 2024
3e0fa30
Bump env_logger from 0.10.2 to 0.11.4 (contentauth/c2patool#204)
dependabot[bot] Jul 24, 2024
b5ae210
only run tests/clippy if labeled (contentauth/c2patool#205)
jackfarzan Jul 26, 2024
c1a22e0
Pull latest c2pa-rs bug fixes into c2patool (contentauth/c2patool#212)
mauricefisher64 Jul 30, 2024
a6f8a43
Prepare 0.9.6 release
mauricefisher64 Jul 30, 2024
c3c786e
Update security guidance to link to SECURITY.md (contentauth/c2patool…
crandmck Aug 5, 2024
54b2cd9
Remove rust toolchain version lock (contentauth/c2patool#221)
ok-nick Aug 15, 2024
384af83
Update to latest c2pa SDK (contentauth/c2patool#222)
mauricefisher64 Aug 15, 2024
2c7634f
Prepare 0.9.7 release
mauricefisher64 Aug 15, 2024
05a3ad6
Add warning about accessing a private key directly (contentauth/c2pat…
crandmck Aug 26, 2024
4de5f8f
Initial fragment support (contentauth/c2patool#230)
mauricefisher64 Aug 30, 2024
7c054ed
Prepare 0.9.8 release
mauricefisher64 Aug 30, 2024
f67096a
Remove no-longer-maintained clippy-check action (contentauth/c2patool…
scouten-adobe Sep 13, 2024
af03f43
chore: Debug which branch we're pulling

scouten-adobe Sep 13, 2024
517581d
Bump actions/checkout from 3 to 4 (contentauth/c2patool#243)
dependabot[bot] Sep 16, 2024
1f08208
Switch back to using `pull_request` instead of `pull_request_target` …
scouten-adobe Sep 16, 2024
b6f66b1
chore: Fix current Clippy warnings (contentauth/c2patool#244)
scouten-adobe Sep 16, 2024
20d09c2
Document fragment subcommand (contentauth/c2patool#236)
crandmck Sep 16, 2024
21874eb
Pull in latest bug fixes (contentauth/c2patool#237)
mauricefisher64 Sep 17, 2024
cee9c94
Prepare 0.9.9 release
mauricefisher64 Sep 17, 2024
02a7483
Update c2ptool to use latest c2pa-rs (contentauth/c2patool#258)
mauricefisher64 Oct 7, 2024
f451a4a
Prepare 0.9.10 release
mauricefisher64 Oct 7, 2024
a9b27ae
Merge hardening bug fixes (contentauth/c2patool#260)
mauricefisher64 Oct 16, 2024
c36f443
Prepare 0.9.11 release
mauricefisher64 Oct 16, 2024
1c40fe6
chore: Adjust conditions for running CI jobs (contentauth/c2patool#261)
scouten-adobe Oct 16, 2024
274ec5f
Bump EmbarkStudios/cargo-deny-action from 1 to 2 (contentauth/c2patoo…
dependabot[bot] Oct 16, 2024
40dd955
chore: Skip CodeCov upload for non-member PRs (contentauth/c2patool#263)
scouten-adobe Oct 16, 2024
fb6328d
chore: Debug action context
scouten-adobe Oct 17, 2024
e2de75b
chore: Retry debug
scouten-adobe Oct 17, 2024
ea81d06
chore: Don't skip CI jobs for non-pull-request events
scouten-adobe Oct 17, 2024
90a2573
chore: Format for consistency with c2pa-rs CI workflow (contentauth/c…
scouten-adobe Oct 17, 2024
5efbae3
chore: Debug CI again
scouten-adobe Oct 17, 2024
c7980b6
chore: Run all CI jobs when user is dependabot[bot]
scouten-adobe Oct 17, 2024
90cdd06
Bump codecov/codecov-action from 3 to 4 (contentauth/c2patool#242)
dependabot[bot] Oct 17, 2024
5ff32f0
Fix broken link that was causing os site workflow to fail (contentaut…
crandmck Oct 17, 2024
3dc391d
fix: Update c2pa-rs for RegionOfInterest support. (contentauth/c2pato…
gpeacock Oct 18, 2024
bba4ca3
Prepare 0.9.12 release
gpeacock Oct 18, 2024
78f9f76
enlarged description of c2pa command-line behavior (contentauth/c2pat…
timbray Nov 16, 2024
322dddf
chore: uploads sbom as artifact (contentauth/c2patool#293)
dyro Nov 20, 2024
427143e
feat: Updates c2patool to use only the new Builder/Reader API (conten…
gpeacock Nov 30, 2024
226ee7a
doc: Update Contributing guide, misc minor edits (contentauth/c2patoo…
crandmck Dec 3, 2024
cdb0fb2
chore: ignore warnings for RUSTSEC-2024-0399" (contentauth/c2patool#300)
gpeacock Dec 3, 2024
8264832
chore: bump MarcoIeni/release-plz-action from 0.5.83 to 0.5.85 (#700)
dependabot[bot] Dec 5, 2024
ce2975b
chore: Move SHA-256 hash fn into c2pa-crypto (#708)
scouten-adobe Dec 5, 2024
a9220ca
chore: Move `parse_ec_der_sig` to `c2pa-crypto` (#710)
scouten-adobe Dec 5, 2024
25cd972
chore: To do list for c2pa-crypto migration of cose_validator.rs
scouten-adobe Dec 5, 2024
75112e9
chore: Remove `cose_validator` dep on `validation_status` (#712)
scouten-adobe Dec 5, 2024
2710169
chore: bump codecov/codecov-action from 4 to 5 (#686)
dependabot[bot] Dec 5, 2024
b738cc0
chore: Move `fn gt_to_datetime` to `cose_validator.rs` (last place th…
scouten-adobe Dec 5, 2024
a254623
chore: Move `sigTst` handling into `c2pa-crypto` (#715)
scouten-adobe Dec 5, 2024
f110ea8
fix: Remove `c2pa::Signer` dependency on `c2pa_crypto::TimeStampProvi…
scouten-adobe Dec 6, 2024
82ff07f
Merge commit 'f110ea8d0fb02720d36593ed483a4fddb5c4aedb' into claim_v2…
scouten-adobe Dec 7, 2024
f2ee9e3
chore: Move `ValidationInfo` to `c2pa-crypto` (#721)
emensch Dec 9, 2024
3c578a1
Merge branch 'c2patool-main' into c2patool-merge
scouten-adobe Dec 10, 2024
f787002
Start to merge c2patool binary release process into release-plz workflow
scouten-adobe Dec 10, 2024
36a1384
Remove redundant .gitignore file
scouten-adobe Dec 10, 2024
7a74ff7
Fix formatting of cli/CHANGELOG.md
scouten-adobe Dec 10, 2024
c910541
Remove code of conduct, etc., which also appear at workspace root
scouten-adobe Dec 10, 2024
90898ab
Merge deny.toml settings
scouten-adobe Dec 10, 2024
dd0094d
Update repository link in cli/Cargo.toml
scouten-adobe Dec 10, 2024
b87588b
Fix README links
scouten-adobe Dec 10, 2024
1adf5da
Rename Unit tests (libraries) back to Unit tests for consistency
scouten-adobe Dec 10, 2024
1620b14
Move profile settings to workspace Cargo.toml
scouten-adobe Dec 10, 2024
623f41d
Fix path references for nightly publish
scouten-adobe Dec 10, 2024
8facb08
Disable nightly binaries publish for the moment
scouten-adobe Dec 10, 2024
2a65756
chore: Merge c2patool repo into c2pa-rs (#723)
scouten-adobe Dec 10, 2024
d5df782
Merge commit '2a6575668fb535d7a3d70fc2a03050333e025aac' into claim_v2…
scouten-adobe Dec 11, 2024
52124e5
feat: Add `RawSigner` trait to `c2pa-crypto` (derived from `c2pa::Sig…
scouten-adobe Dec 11, 2024
bb3d66e
chore: Update Cargo.lock and remove from .gitignore
scouten-adobe Dec 11, 2024
60b8ab5
update: update zip requirement from 0.6.6 to 2.2.1 in /sdk (#698)
dependabot[bot] Dec 11, 2024
380e201
fix: Verbose assertions for `is_none()` (#704)
kornelski Dec 11, 2024
1da8358
chore: Fix c2patool CI configuration (#759)
scouten-adobe Dec 11, 2024
5d30585
chore: bump MarcoIeni/release-plz-action from 0.5.85 to 0.5.86 (#720)
dependabot[bot] Dec 11, 2024
91ebac9
chore: Adapt for the myriad Dependabot PR title patterns (argh!)
scouten-adobe Dec 11, 2024
93dcd7c
chore: Remove version edit warning in c2patool Cargo.toml
scouten-adobe Dec 11, 2024
e746a19
chore: Update cli/CHANGELOG.md preamble
scouten-adobe Dec 11, 2024
04e125c
update: bump mockall requirement from 0.11.2 to 0.13.1 in /sdk (#685)
dependabot[bot] Dec 11, 2024
99c29f4
update: bump asn1-rs from 0.5.2 to 0.6.2 (#724)
dependabot[bot] Dec 11, 2024
cd47a94
update: bump chrono from 0.4.38 to 0.4.39 (#763)
dependabot[bot] Dec 11, 2024
02ee889
chore: release (#761)
scouten-adobe Dec 11, 2024
8781241
chore: Fix release-plz configuration
scouten-adobe Dec 11, 2024
612a8a8
chore: Inspect release-plz `releases` output
scouten-adobe Dec 11, 2024
dac8c05
chore: Rebuild c2patool binary release process
scouten-adobe Dec 11, 2024
b69415e
feat: Move `validation_codes` from `c2pa-crypto` to `c2pa-status-trac…
scouten-adobe Dec 11, 2024
5931f00
chore: Revert previous release attempt
scouten-adobe Dec 11, 2024
05be7b4
chore: release (#767)
scouten-adobe Dec 12, 2024
2390938
fix: Compile `c2pa-crypto` with `cargo check` (#768)
scouten-adobe Dec 12, 2024
a2cb9db
chore: release (#769)
scouten-adobe Dec 12, 2024
e17fef7
fix: Binary release process for c2patool
scouten-adobe Dec 12, 2024
9b825f5
chore: Use `cargo check` to preflight `cargo publish` (i.e. default f…
scouten-adobe Dec 12, 2024
c863408
fix: No-op change to trigger new c2patool release
scouten-adobe Dec 12, 2024
2ba4706
chore(c2patool): release v0.10.1 (#772)
scouten-adobe Dec 12, 2024
a628a7d
fix: Update makefile for c2patool's new location in c2pa-rs workspace
scouten-adobe Dec 12, 2024
fc7d0f9
fix: No-op change to trigger new c2patool build
scouten-adobe Dec 12, 2024
0f5271c
chore(c2patool): release v0.10.2 (#773)
scouten-adobe Dec 12, 2024
11e2c0d
chore: Fix broken CI workflow file
scouten-adobe Dec 12, 2024
3b2f611
Merge commit '11e2c0daa1ece49f278ac6284f03e36906e731ad' into claim_v2…
scouten-adobe Dec 12, 2024
e91bab0
update: bump thiserror from 1.0.69 to 2.0.6 (#770)
dependabot[bot] Dec 12, 2024
46522e2
fix: Resolve new Clippy issues (#776)
scouten-adobe Dec 13, 2024
84e836f
fix: Possible overflow for TIFF (#760)
cdmurph32 Dec 16, 2024
fe4d6e0
fix: Add support XMP in SVG (#771)
mauricefisher64 Dec 16, 2024
8c2e98c
feat: Bump MSRV to 1.81.0 (#781)
scouten-adobe Dec 16, 2024
2092c7f
fix: JPEG `write_cai` OOB insertion (#762)
cdmurph32 Dec 16, 2024
8005133
doc: Post move cleanup (#778)
crandmck Dec 16, 2024
6f72b2c
fix: Prevent negative length value for SVG object locations (#766)
cdmurph32 Dec 17, 2024
d34846d
fix: OOB read attempt in jpeg_io asset handler in get_cai_segments fu…
cdmurph32 Dec 17, 2024
37b274c
fix: Improve usage of `#[cfg]` directives (#783)
scouten-adobe Dec 17, 2024
4c7e4e8
feat: Introduce `c2pa_crypto::CertificateAcceptancePolicy` (#779)
scouten-adobe Dec 17, 2024
7518649
Merge commit '4c7e4e8717bfc251d24d1f0aa87799d2b52c97fe' into claim_v2…
scouten-adobe Dec 18, 2024
56229d2
update: bump rasn from 0.18.0 to 0.22.0 (#727)
dependabot[bot] Dec 18, 2024
906bbca
update: bump thiserror from 2.0.6 to 2.0.8 (#787)
dependabot[bot] Dec 19, 2024
e00dff1
update: bump serde-wasm-bindgen from 0.5.0 to 0.6.5 (#786)
dependabot[bot] Dec 19, 2024
d05c31d
fix: Obscure glob error message for missing files
gpeacock Dec 19, 2024
438d022
Merge branch 'main' of https://github.com/contentauth/c2pa-rs
gpeacock Dec 19, 2024
259a212
update: bump jfifdump from 0.5.1 to 0.6.0 (#785)
dependabot[bot] Dec 19, 2024
dbf64a6
feat: Move `verify_trust` into `c2pa_crypto` (#784)
scouten-adobe Dec 20, 2024
1ccac24
Merge commit 'dbf64a6311e811baa12f4c2667771515b7c0661f' into claim_v2…
scouten-adobe Dec 20, 2024
d8ce409
Merge commit '5b13bb271f1c052dadf2168e9f88df8e6441492f' into claim_v2…
scouten-adobe Dec 20, 2024
eea9068
feat: Move COSE OCSP support into c2pa-crypto (#793)
scouten-adobe Dec 23, 2024
f8ba3fb
feat: Move `get_cose_sign1` into `c2pa-crypto` crate (#794)
scouten-adobe Dec 23, 2024
fed4478
feat: Move `signing_alg_from_sign1` into `c2pa-crypto` (#795)
scouten-adobe Dec 23, 2024
5b13bb2
feat: Consolidate implementations of `cert_chain_from_sign1` in `c2pa…
scouten-adobe Dec 23, 2024
f1f356b
feat: Introduce `c2pa_crypto::cose::Verifier` (#797)
scouten-adobe Dec 23, 2024
be23bdc
feat: Introduce `c2pa_crypto::Verifier::verify_trust` (#798)
scouten-adobe Dec 24, 2024
690ed5c
chore: Move `check_ocsp_response` (the one that uses settings) to `cl…
scouten-adobe Dec 24, 2024
d7e2978
Merge commit '690ed5cf7265d1734d889e63474788c39e799ca5' into claim_v2…
scouten-adobe Dec 24, 2024
1ca698d
feat: Make `AsyncRawSignatureValidator` available on all platforms (#…
scouten-adobe Dec 24, 2024
66b57b5
feat: Move COSE signature verification into `c2pa_crypto` (#801)
scouten-adobe Dec 26, 2024
25c89ed
feat: Move COSE timestamp generation into `c2pa_crypto` (#803)
scouten-adobe Dec 29, 2024
34b7139
feat: Move COSE signing into `c2pa_crypto` crate (#807)
scouten-adobe Dec 30, 2024
79e6014
fix: Bring `claim_v2` changes from #707 into `c2pa_crypto` (#811)
scouten-adobe Jan 2, 2025
cac55ab
Merge branch 'main' into claim_v2+c2pa_crypto
scouten-adobe Jan 2, 2025
1c861b9
feat: Add new function `c2pa_crypto::cose::signing_time_from_sign1` (…
scouten-adobe Jan 2, 2025
7a87e11
feat: Review `c2pa-crypto` crate API (#813)
scouten-adobe Jan 3, 2025
d42f488
Merge branch 'main' into claim_v2+c2pa_crypto
scouten-adobe Jan 3, 2025
ea9a3e8
Merge branch 'claim_v2' into claim_v2+c2pa_crypto
gpeacock Jan 7, 2025
f86a101
Merge branch 'claim_v2' into claim_v2+c2pa_crypto
gpeacock Jan 14, 2025
f562600
Merge branch 'claim_v2' into claim_v2+c2pa_crypto
gpeacock Jan 14, 2025
eef13c5
fix: c2patool upgrades to API change in Ingredient.title()
gpeacock Jan 14, 2025
a022505
chore: PR comment cleanup
gpeacock Jan 14, 2025
9d3400a
chore: clippy fixes
gpeacock Jan 14, 2025
35f69f7
feat: Add ingredient_url tracking for status.
gpeacock Jan 15, 2025
b8c9166
feat: Add ingredient tracking for status
gpeacock Jan 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .commitlintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ rules:
- export_schema
- make_test_images
- sdk
- c2patool

# Scope may be empty
# (NOTE: Disabled for now while we work around
Expand Down
16 changes: 1 addition & 15 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,7 @@
version: 2
updates:
- package-ecosystem: "cargo"
directory: "sdk"
schedule:
interval: "daily"
commit-message:
prefix: "update"

- package-ecosystem: "cargo"
directory: "export_schema"
schedule:
interval: "daily"
commit-message:
prefix: "update"

- package-ecosystem: "cargo"
directory: "make_test_images"
directory: "/"
schedule:
interval: "daily"
commit-message:
Expand Down
88 changes: 82 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
rust_version: [stable, 1.76.0]
rust_version: [stable, 1.81.0]

steps:
- name: Checkout repository
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Generate code coverage
env:
RUST_BACKTRACE: "1"
run: cargo llvm-cov --workspace --all-features --lcov --output-path lcov.info
run: cargo llvm-cov --lib --all-features --lcov --output-path lcov.info

# Tokens aren't available for PRs originating from forks,
# so we don't attempt to upload code coverage in that case.
Expand All @@ -62,7 +62,59 @@ jobs:
github.event.pull_request.author_association == 'COLLABORATOR' ||
github.event.pull_request.author_association == 'MEMBER' ||
github.event.pull_request.user.login == 'dependabot[bot]'
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true

tests-cli:
name: Unit tests (c2patool)
if: |
github.event_name != 'pull_request' ||
github.event.pull_request.author_association == 'COLLABORATOR' ||
github.event.pull_request.author_association == 'MEMBER' ||
github.event.pull_request.user.login == 'dependabot[bot]' ||
contains(github.event.pull_request.labels.*.name, 'safe to test')

runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
rust_version: [stable]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust_version }}
components: llvm-tools-preview

- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2

- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

- name: Generate code coverage
env:
RUST_BACKTRACE: "1"
run: cargo llvm-cov --bins --all-features --lcov --output-path lcov.info

# Tokens aren't available for PRs originating from forks,
# so we don't attempt to upload code coverage in that case.
- name: Upload code coverage results
if: |
github.event_name != 'pull_request' ||
github.event.pull_request.author_association == 'COLLABORATOR' ||
github.event.pull_request.author_association == 'MEMBER' ||
github.event.pull_request.user.login == 'dependabot[bot]'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
Expand Down Expand Up @@ -117,12 +169,36 @@ jobs:
github.event.pull_request.author_association == 'COLLABORATOR' ||
github.event.pull_request.author_association == 'MEMBER' ||
github.event.pull_request.user.login == 'dependabot[bot]'
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true

cargo-check:
name: Default features build
if: |
github.event_name != 'pull_request' ||
github.event.pull_request.author_association == 'COLLABORATOR' ||
github.event.pull_request.author_association == 'MEMBER' ||
github.event.pull_request.user.login == 'dependabot[bot]' ||
contains(github.event.pull_request.labels.*.name, 'safe to test')

runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2

- name: "`cargo check` with default features"
run: cargo check

tests-cross:
name: Unit tests
if: |
Expand All @@ -138,7 +214,7 @@ jobs:
fail-fast: false
matrix:
target: [aarch64-unknown-linux-gnu]
rust_version: [stable, 1.76.0]
rust_version: [stable, 1.81.0]

steps:
- name: Checkout repository
Expand Down Expand Up @@ -292,7 +368,7 @@ jobs:
- name: Install nightly Rust toolchain
# Nightly is used here because the docs.rs build
# uses nightly and we use doc_cfg features that are
# not in stable Rust as of this writing (Rust 1.76).
# not in stable Rust as of this writing (Rust 1.81).
uses: dtolnay/rust-toolchain@nightly

- name: Run cargo docs
Expand Down
53 changes: 51 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,11 @@ jobs:
echo Will add nightly suffix $NIGHTLY_SUFFIX

sed -i "s/^version = \"\\(.*\\)\"/version = \"\\1$NIGHTLY_SUFFIX\"/" sdk/Cargo.toml

sed -i "s/path = \"..\/sdk\", version = \"\\(.*\\)\"/path = \"..\/sdk\", version = \"\\1$NIGHTLY_SUFFIX\"/" cli/Cargo.toml

cargo update -w
git add -f Cargo.lock
git add Cargo.lock
find . -name 'Cargo.toml' | xargs git add

echo
echo Proposed changes:
Expand All @@ -167,3 +169,50 @@ jobs:
commit_user_name: Adobe CAI Team
commit_user_email: [email protected]
create_branch: true

# ---- TO DO: Figure out how to run this job but only when nightly-snapshot changes the branch. ----
# publish-nightly-binaries:
# name: Publish c2patool nightly binaries
# runs-on: ${{ matrix.os }}
# needs: nightly-snapshot

# strategy:
# fail-fast: false
# matrix:
# os: [windows-latest, macos-latest, ubuntu-latest]
# include:
# - os: macos-latest
# artifact_name: c2patool_mac_universal.zip
# - os: ubuntu-latest
# artifact_name: c2patool_linux_intel.tar.gz
# - os: windows-latest
# artifact_name: c2patool_win_intel.zip

# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
# with:
# ref: nightly

# - name: Install Rust toolchain
# uses: dtolnay/rust-toolchain@stable

# - name: Cache Rust dependencies
# uses: Swatinem/rust-cache@v2

# - name: Run cargo check
# run: cd cli && cargo check

# - name: Run cargo test --all
# run: cd cli && cargo test --all

# - name: Build nightly release artifacts
# run: cd cli && make release

# - name: Upload build as artifact
# uses: actions/upload-artifact@v3
# with:
# path: target/${{ matrix.artifact_name }}
# name: ${{ matrix.artifact_name }}
# retention-days: 15
# if-no-files-found: error
11 changes: 11 additions & 0 deletions .github/workflows/pr_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
# these exact names:
#
# * sdk (The primary C2PA Rust SDK)
# * c2patool
# * export_schema
# * make_test_images
#
Expand Down Expand Up @@ -90,6 +91,16 @@ jobs:
exit 0;
fi

if echo "$PR_TITLE" | grep -E '^update: update '; then
echo "Exception / OK: Dependabot update pattern"
exit 0;
fi

if echo "$PR_TITLE" | grep -E '^update: bump '; then
echo "Exception / OK: Dependabot update pattern"
exit 0;
fi

echo "Installing commitlint-rs. Please wait 30-40 seconds ..."
cargo install --quiet commitlint-rs
set -e
Expand Down
84 changes: 83 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
name: Release-plz
runs-on: ubuntu-latest

outputs:
c2patool-release-tag: ${{ steps.sniff-c2patool-release-tag.outputs.tag }}

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -25,7 +28,8 @@ jobs:
uses: dtolnay/rust-toolchain@stable

- name: Run release-plz
uses: MarcoIeni/[email protected]
id: release-plz
uses: MarcoIeni/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_SECRET }}
Expand All @@ -38,3 +42,81 @@ jobs:
tail -n +2 |\
sed 's/origin\///' |\
xargs -I {} git push origin --delete {}

- name: Identify c2patool release
id: sniff-c2patool-release-tag
run: |
echo tag=`git tag --contains HEAD | grep '^c2patool-'` >> "$GITHUB_OUTPUT" || true

publish-c2patool-binaries:
name: Publish c2patool binaries
runs-on: ${{ matrix.os }}
needs: release-plz

strategy:
fail-fast: false
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
rust_version: [ stable ]
experimental: [ false ]
include:
- os: macos-latest
artifact_name: c2patool_mac_universal.zip
uploaded_asset_name: c2patool-${{ needs.release-plz.outputs.c2patool-release-tag }}-universal-apple-darwin.zip
- os: ubuntu-latest
artifact_name: c2patool_linux_intel.tar.gz
uploaded_asset_name: c2patool-${{ needs.release-plz.outputs.c2patool-release-tag }}-x86_64-unknown-linux-gnu.tar.gz
- os: windows-latest
artifact_name: c2patool_win_intel.zip
uploaded_asset_name: c2patool-${{ needs.release-plz.outputs.c2patool-release-tag }}-x86_64-pc-windows-msvc.zip

steps:
- name: Checkout repository
if: ${{ needs.release-plz.outputs.c2patool-release-tag }}
uses: actions/checkout@v4

- name: Install Rust toolchain
if: ${{ needs.release-plz.outputs.c2patool-release-tag }}
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust_version }}
components: llvm-tools-preview

- name: Install cargo-sbom
if: ${{ needs.release-plz.outputs.c2patool-release-tag }}
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-sbom
version: '0.9.1'

- name: Cache Rust dependencies
if: ${{ needs.release-plz.outputs.c2patool-release-tag }}
uses: Swatinem/rust-cache@v2

- name: Run make release
if: ${{ needs.release-plz.outputs.c2patool-release-tag }}
run: cd cli && make release

- name: Upload binary to GitHub
if: ${{ needs.release-plz.outputs.c2patool-release-tag }}
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/${{ matrix.artifact_name }}
asset_name: ${{ matrix.uploaded_asset_name }}
tag: ${{ needs.release-plz.outputs.c2patool-release-tag }}
overwrite: true

- name: Generate SBOM
if: ${{ needs.release-plz.outputs.c2patool-release-tag }}
run: cd cli && cargo sbom > c2patool.${{ matrix.os }}.sbom.json

- name: Upload SBOM to Github
if: ${{ needs.release-plz.outputs.c2patool-release-tag }}
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: cli/c2patool.${{ matrix.os }}.sbom.json
asset_name: c2patool-${{ needs.release-plz.outputs.c2patool-release-tag }}-sbom.json
tag: ${{ needs.release-plz.outputs.c2patool-release-tag }}
overwrite: true
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/target/

Cargo.lock

**/*.rs.bk

.DS_Store
Expand All @@ -11,3 +9,6 @@ Cargo.lock
.vscode

/semver-checks/target/

# Unit test output lands here. TO DO: Fix
cli/target
Loading
Loading