Merge with trufoai#6
Closed
Ignasio-Qualabs wants to merge 2 commits into
Closed
Conversation
Port of trufo-ai/c2pa-rs commit 556cda1 to the ezdrm branch. Distinguish an untrusted (or trusted) CAWG creator-identity credential from the C2PA claim signer by emitting cawg.identity.untrusted / cawg.identity.trusted instead of the signingCredential.* codes. - Add CredentialKind and Verifier::with_credential_kind so the shared COSE trust check selects the right status namespace; CAWG paths bind CredentialKind::CawgIdentity. - Add CAWG_IDENTITY_TRUSTED/UNTRUSTED constants and is_untrusted_failure helper; treat cawg.identity.untrusted like signingCredential.untrusted for validity (Valid, never Trusted). - Fix settings bug: validate_partial_claim used Context::new().settings() (default/empty trust anchors); replaced with crate::settings::get_thread_local_settings() which reads the settings actually loaded by the WASM reader. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Aligns with the version expected by c2pa-js/c2pa-wasm so the qualabs fork can be used as a Cargo patch instead of the trufo-ai branch. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes in this pull request
Give a narrative description of what has been changed.
Checklist
TO DOitems (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.