-
Notifications
You must be signed in to change notification settings - Fork 58
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: Update c2patool to read CAWG data #907
base: main
Are you sure you want to change the base?
Conversation
* ci: Add debug statements * Omit additional paddings * feat: Omit more padding tags * ci: add explanation * ci: Catch result strings before they get returned * ci: sdk catch result string before returning them * ci: look into parsing stuff * ci: WIP for cawg display * ci: Replace signature with hash * ci: Replace signature with hash * ci: Clean up leftover debug code * ci: Parse cawg data in cli, introduce tokio * ci: WIP * ci: WIP * ci: Up some deps * ci: WIP * ci: WIP * feat: Add methods to reader to decorate the json * ci: Got the cleaned content signature * ci: Some clean up * ci: Some clean up * ci: WIP * feat: cawg parsing hack * feat: move display * feat: Refactor * feat: Refactor * feat: Refactor * ci: Tmp check all other tests * ci: Tmp check all other tests * Debug * fix: fix mistake of returning too early * fix: Remove debug file * fix: Remove debug file * fix: Change error handling
71cf103
to
cc6e7bd
Compare
1f0416c
to
aba1ef6
Compare
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.
I'd like to keep this on a branch until I figure out what changes are going into c2pa-rs related to this.
feat: c2patool to read cawg data with `--detailed` flag too (#909)
5ab845e
to
7d2418a
Compare
}; | ||
|
||
let isv = IcaSignatureVerifier {}; | ||
let ica_validated = tokio_runtime.block_on(identity_assertion.validate(manifest, &isv)); |
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.
we need to capture the validation results from this operation and add them to the rest of the validation results. Most of this logic belongs in CAWG.
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.
@scouten-adobe ^ FYI - for your APIS.
c2patool file_with_cawg_data.extension
c2patool --detailed file_with_cawg_data.extension