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

Add validation_state API #638

Open
gpeacock opened this issue Oct 22, 2024 · 0 comments
Open

Add validation_state API #638

gpeacock opened this issue Oct 22, 2024 · 0 comments

Comments

@gpeacock
Copy link
Collaborator

gpeacock commented Oct 22, 2024

Add a method to get a validation state from a Reader. We may also want to add this as a field to the report.
The state will be determined as outlined in https://c2pa.org/specifications/specifications/2.1/specs/C2PA_Specification.html#_validation_states

However, we also want to report these states for 1.x even though the spec does not clearly define that.
This is part of a migration strategy. Currently we consider a manifest store valid if the validation_status field is None/Null. But that will no longer be the case for 2.1. So to keep things compatible for old and new, the revised check would be for the validation state.

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

No branches or pull requests

1 participant