-
Notifications
You must be signed in to change notification settings - Fork 62
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
feat: Adds reader.post_validate
method for CAWG validation support
#976
Conversation
This accepts an implentation of the PostValidate trait It enables CAWG validation but can be used for other assertion types. validation_results.add_status no longer requires a manifest_label. manifest_assertions now use the unique assigned label rather than the base_label Ingredients have a new label field for their assigned unique label status_tracker has a new ingredient_uri method to return the ingredient_uri.
move DynamicAssertion declartions to the dynamic_assertion module.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #976 +/- ##
==========================================
- Coverage 78.84% 78.55% -0.30%
==========================================
Files 146 147 +1
Lines 35243 35569 +326
==========================================
+ Hits 27787 27940 +153
- Misses 7456 7629 +173 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
reader.post_validate
method for CAWG validation support
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple suggestions, but looking really good!
…th/c2pa-rs into gpeacock/post_validate
…th/c2pa-rs into gpeacock/post_validate
StatusTracker can keep track of the current_uri for logging. Added log_current_item c2pa_tool supports CAWG validation
cawg_identity/src/tests/identity_assertion/validation_method/continue_when_possible.rs
Show resolved
Hide resolved
cawg_identity/src/tests/identity_assertion/validation_method/continue_when_possible.rs
Show resolved
Hide resolved
cawg_identity/src/tests/identity_assertion/validation_method/continue_when_possible.rs
Outdated
Show resolved
Hide resolved
cawg_identity/src/tests/identity_assertion/validation_method/continue_when_possible.rs
Outdated
Show resolved
Hide resolved
cawg_identity/src/tests/identity_assertion/validation_method/stop_on_error.rs
Show resolved
Hide resolved
PostValidatorAsync renamed to AsyncPostValidator for consistency Uses correct cawg success code
feat: Adds Reader PostValidate method + PostValidator trait.
feat: Rename PreliminaryClaim to PartialClaim
feat: put RemoteSigner behind v1_api
feat: adds builder.sign_file_async()
feat: Adds reader.post_validate_async _ AsyncPostValidator trait.
chore: Adds cawg.rs example for cawg sign and validate.
feat: adds cawg validate to c2patool
feat: adds CawgValidator for post validating cawg content.