Need to comply with the EU AI Act by 2 December 2026? New users can start with Trufo's AI Labeling Service or C2PA Certificates with your first month free.

New users: AI Labeling Service or C2PA Certificates, first month free.

Learn C2PA

How to Verify C2PA Content Credentials

Three ways to check a Content Credential: a C2PA viewer in the browser, c2patool on the command line, or your own code.

Published November 28, 2026

Verifying a C2PA file answers three questions: is the signature cryptographically valid, is the signer on the trust list, and is the content unchanged since signing. You can check in a browser, on the command line, or in code.

In the Browser: a C2PA Viewer

The quickest check is a browser-based C2PA viewer. Open verify.trufo.ai, drop in a file, and inspect the result. It displays the signer, recorded actions, timestamp status, and whether the content matches its hard binding. If the embedded metadata was stripped but the file carries a PawPrint watermark, the validator resolves and displays the recovered credential automatically.

Offering a free public verification tool is also expected under both the EU Code of Practice and the California AI Transparency Act. See AI Labeling Compliance.

On the Command Line with c2patool

c2patool is the open-source command-line tool from the Content Authenticity Initiative. It prints a file’s manifest store as JSON:

c2patool signed.jpg

Add --detailed for the full structure with every assertion and hash:

c2patool signed.jpg --detailed

The output includes a validation section. An empty failure list means the signature and hashes verified. Whether the signer shows as trusted depends on the trust list configured in your copy of c2patool.

In Code

The open-source C2PA libraries read manifests from Rust, Python, JavaScript, C++, and other languages. In Python:

from c2pa import Reader

with Reader("signed.jpg") as reader:
    print(reader.json())

Check the c2pa-python release documentation for the exact constructor signature in your version. See also C2PA in Python and Trufo’s verification documentation.

Reading the Result

Validators emit standard C2PA status codes. The key ones to look for:

CodeMeaning
claimSignature.validatedThe signature over the claim is cryptographically valid
signingCredential.trustedThe certificate chains to the C2PA Trust List, so the signer is named
signingCredential.untrustedThe signature is valid, but the certificate is not on the trust list; source displays as unknown
timeStamp.trustedThe timestamp comes from a trusted TSA, so the credential outlives the certificate
assertion.dataHash.matchThe content is unchanged since signing
assertion.dataHash.mismatchThe content was modified after signing

A file can be validly signed and still untrusted — for example, when signed with a test or dummy certificate. Production output requires a certificate from an authority on the C2PA Trust List, such as Trufo CA.

When There Is No Credential

No manifest does not mean a file is real or fake; it means nothing was declared or the metadata was removed during transit. When the producer added an invisible watermark soft binding, a validator that supports that soft-binding algorithm can still recover the credential.

Verify What You Ship

Before releasing a signing pipeline to production, test it the way a downstream validator will:

  1. Sign a sample with your production key.
  2. Run it through verify.trufo.ai or c2patool and confirm signingCredential.trusted, timeStamp.trusted, and a passing hash match.
  3. Strip the metadata (or re-encode/screenshot), verify again, and confirm the watermark recovers the credential.

To generate a test file right away:

pip install trufo
trufo set-api-key c2pa-sign-test <your-api-key>
from pathlib import Path

from trufo import sign_c2pa_cloud_test
from trufo.util.credentials import TrufoAPIKey, load_api_key

api_key = load_api_key(TrufoAPIKey.C2PA_SIGN_TEST)

signed_bytes = sign_c2pa_cloud_test(api_key, Path("input.jpg").read_bytes())
Path("signed.jpg").write_bytes(signed_bytes)

Get Started Now

If you are ready, head over to app.trufo.ai to get started. If you have questions, feel free to contact support@trufo.ai or schedule a consultation with one of our experts.