Skip to content

Merge with trufoai#6

Closed
Ignasio-Qualabs wants to merge 2 commits into
ezdrmfrom
merge_with_trufoai
Closed

Merge with trufoai#6
Ignasio-Qualabs wants to merge 2 commits into
ezdrmfrom
merge_with_trufoai

Conversation

@Ignasio-Qualabs

Copy link
Copy Markdown

Changes in this pull request

Give a narrative description of what has been changed.

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.

ignasio-mux and others added 2 commits June 25, 2026 10:46
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>
@Ignasio-Qualabs
Ignasio-Qualabs deleted the branch ezdrm June 25, 2026 17:09
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.

2 participants