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

Support validating remote and external manifest stores #108

Merged
merged 40 commits into from
Aug 12, 2022

Conversation

mauricefisher64
Copy link
Collaborator

Changes in this pull request

The PR adds the ability to validate external .c2pa files and fetching and validating remote manifest stores. Includes
small amount of code cleanup.

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.

Support for more BMFF container types
Handle bad FourCC names
Add bad signer unit test
…ternal_manifest

* 'main' of https://github.com/contentauth/c2pa-rs:
  Fix for `sign_claim` masking error (#96)

# Conflicts:
#	sdk/src/cose_sign.rs
Bug fixes
Slight speed up
Auto cleanup temp content
…ternal_manifest

* 'main' of https://github.com/contentauth/c2pa-rs:
  (IGNORE) Format `use` statements consistently (#99)
  (IGNORE) Clean up changelog formatting
  Prepare 0.11.3 release
  Remove inadvertent 1.0.0 release from changelog (#97)
  Prepare 1.0.0 release
  Treat 'meta' box as standard container (#95)

# Conflicts:
#	sdk/src/asset_handlers/c2pa_io.rs
#	sdk/src/claim.rs
#	sdk/src/store.rs
Put remote manifest behind xmp_write feature
Split external manifest into two functions
…ternal_manifest

* 'main' of https://github.com/contentauth/c2pa-rs:
  (IGNORE) Proofreading in README file
…ternal_manifest

* 'main' of https://github.com/contentauth/c2pa-rs:
  Fix box order for BMFF (#104)
  Added support for external manifests (#101)
…ternal_manifest

* 'main' of https://github.com/contentauth/c2pa-rs:
  (IGNORE) Update makefile test to use nightly fmt and add fmt script (#103)
…ternal_manifest

* 'main' of https://github.com/contentauth/c2pa-rs:
  Fix build error when xmp_write is not defined (#105)
Add support for embedding manifest and external reference into same file
Remove obsolete XMP usages
Code cleanup
@gpeacock gpeacock changed the title Support validating remote and external manifest storess Support validating remote and external manifest stores Aug 11, 2022
sdk/Cargo.toml Show resolved Hide resolved
sdk/src/claim.rs Show resolved Hide resolved
sdk/src/store.rs Show resolved Hide resolved
sdk/src/store.rs Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Aug 11, 2022

Codecov Report

Merging #108 (7b74683) into main (af59b42) will decrease coverage by 0.41%.
The diff coverage is 54.79%.

@@            Coverage Diff             @@
##             main     #108      +/-   ##
==========================================
- Coverage   77.23%   76.82%   -0.42%     
==========================================
  Files          66       66              
  Lines       14084    14108      +24     
==========================================
- Hits        10878    10838      -40     
- Misses       3206     3270      +64     
Impacted Files Coverage Δ
sdk/src/asn1/rfc3161.rs 41.39% <0.00%> (ø)
sdk/src/error.rs 14.28% <ø> (ø)
sdk/src/lib.rs 100.00% <ø> (ø)
sdk/src/utils/cbor_types.rs 32.30% <0.00%> (ø)
sdk/src/manifest.rs 89.18% <16.66%> (-2.83%) ⬇️
sdk/src/store.rs 82.93% <47.48%> (-1.08%) ⬇️
sdk/src/assertions/metadata.rs 77.14% <80.00%> (ø)
sdk/src/assertions/bmff_hash.rs 62.72% <87.50%> (+1.66%) ⬆️
sdk/src/assertion.rs 77.47% <100.00%> (ø)
sdk/src/assertions/actions.rs 92.28% <100.00%> (ø)
... and 19 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mauricefisher64 mauricefisher64 merged commit aa0b276 into main Aug 12, 2022
@mauricefisher64 mauricefisher64 deleted the external_manifest branch August 12, 2022 01:45
mauricefisher64 added a commit that referenced this pull request Aug 18, 2022
…b_test

* 'main' of https://github.com/contentauth/c2pa-rs:
  Prepare 0.12.0 release
  Update C2PA manifest store mime type (#112)
  (IGNORE) (MINOR) PR #108 contained significant changes; bump version (#111)
  Updates Manifest API to support remote and external manifests (#107)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants