Privacy for C2PA signers revisited
In a previous post, I described why the signers of C2PA content may need privacy and compared a few strategies for providing it: pseudonymous and one-use certificates, unlinkable signatures, and zero-knowledge proofs over X.509 certificates. I ended with two early prototypes and a list of open questions.
Since that post, a lot has happened in the C2PA. We created a Zero-Knowledge Proof Task Force, which I co-chair, to study how these technologies can address provenance security and privacy needs.
In parallel, I focused on the last strategy, zero-knowledge proofs over the X.509 signatures that devices already produce, and pushed it to a first milestone: anonymizing real content, signed by a production device under the official C2PA trust list, and verifying it against the official lists. This post describes what changed, what works today, and what remains. The details are in a white paper and in the project’s repository.
Where we left off
The first prototype (which I now call Milestone 0) worked but was far from deployable. The signer proved, in zero knowledge, that it held a key certified by a trusted CA, and bound the proof to a digest of the asset. That required the signer’s cooperation and key, relied on a time chosen by the signer, and supported only a test PKI using P-256 keys (most CAs use P-384; a few use RSA or P-521). And anonymizing one asset took over ten minutes and 11 GB of memory.
Anonymizing after the fact
The main change is who anonymizes. In Milestone 1, any party holding a signed asset can anonymize it, without the signer’s key and without any change to the signing device. Instead of proving possession of a key, the anonymizer proves that the asset’s original signature is valid:
- The issuing CA signed a certificate for C2PA claim signing, valid when the content was time-stamped.
- That certificate’s key signed this exact claim.
- A trusted time-stamp authority (TSA) time-stamped that signature.
The proof then replaces the original signature in place: the anonymized file keeps its size, and the claim and its assertions (including the hard binding to the content) are untouched. A verifier checks the claim and the hard binding as it would for any C2PA asset and verifies the 196-byte proof in about 30 milliseconds.
This design has a few nice properties. It works for content signed in the past. It can be offered by a service (a publishing platform, for example) without the signer’s involvement, or by the creator’s own tools. And the verifier, not the anonymizer, decides which trust lists, and which versions of them, it accepts.
An important note is that the proof currently performs only a subset of the checks performed by a full C2PA and X.509 validator. It verifies what matters for the trust decision (the CA’s signature, the certificate’s purpose and non-CA status, and its validity at the attested time), but it doesn’t check the full certificate profile or revocation1.
Hiding more than the signer
Removing the signer’s certificate isn’t always enough. A signed asset discloses its signer in several places, and each one can identify the source on its own:
- the issuing CA: many CAs are run per organization, often per product line;
- the time-stamp token: it names the TSA and gives the exact time, to the second, and the TSA can match it to its records;
- the claim: its generator names the signing software, and its actions can name the product;
- the metadata outside the hard binding (EXIF and XMP): make, model, capture time, and sometimes location.
So the prototype offers three modes, each a separate zero-knowledge statement:
| Mode | What it hides |
|---|---|
| Disclosed issuer | The signer’s certificate and signature |
| Hidden issuer | Also the issuing CA |
| Hidden issuer and time stamp | Also the TSA and the exact time (only the day is disclosed) |
Hiding the issuer works by proving that the issuing CA is in a Merkle tree of the trust list’s eligible CAs, which the verifier rebuilds from list versions it approves. It costs almost nothing. Hiding the time stamp means verifying the TSA’s token inside the proof and disclosing only an aligned time window (a UTC day by default); it costs about 28% more. In any mode, the anonymizer can also scrub the unsigned EXIF and XMP data.
Testing on real content revealed something the test fixtures didn’t: hiding the issuer alone can hide very little. In the deployment I tested, the same organization runs the CA, the TSA, and the signing software, so with the issuer hidden, the visible time-stamp token still names the organization. Hiding the issuer alone helps when the CA is the most identifying element, as it might be for a newsroom with its own CA, common signing software, and a shared TSA. For vertically integrated deployments, the time stamp must go too.
Real content
Showing that the approach works on real content was my second goal. I examined the official trust lists and real signed photos from a production deployment2, and both shaped the design: P-384 CAs signing P-256 device certificates, sigTst2 time stamps whose authority has the same certificate shape, and issuing CAs listed directly on the trust list (which the hidden-issuer tree requires).
The photos were anonymized and verified against the official lists with unchanged tools, in all three modes, including one photo whose signer certificate had since expired (the proof checks validity at the time-stamped time, as C2PA validation does). Some content is rejected by design for now: edited assets with several manifests (anonymizing a provenance chain is harder than replacing one signature), raw images whose format can’t be rewritten at the same size, and assets using unsupported signature algorithms (such as RSA) or older time stamps.
Performance
Milestone 1 moved from circom to gnark (still using Groth16), which handles the P-384 arithmetic and the hashing of real certificates much more efficiently. On my laptop, with a test asset mirroring the deployment’s certificates:
- anonymizing takes 71–91 seconds per asset, depending on the mode, and 7–9 GB of memory, compared with 611 seconds and 11 GB for Milestone 0;
- most of that time is spent loading the 1.2–1.5 GB proving key; with an opt-in fast-loading path, the disclosed-issuer mode drops to 28 seconds;
- the real photos took between 75 and 141 seconds (single runs);
- verification takes about 30 milliseconds for the proof and up to 0.1 seconds for the full verifier.
That’s fine for a service or a desktop tool, but not yet for a phone: memory use would need to drop several-fold.
What it doesn’t do (yet)
The prototype hides the signing credentials; it doesn’t guarantee that the source can’t be inferred. The main remaining disclosure is the claim itself: its generator and actions can name the software and product, and its identifiers are unique to the asset. The content’s hash also links the anonymized asset to the original, so anonymization protects the signer only if the original isn’t published elsewhere.
I also want to list the assumptions: the keys come from a single-party trusted setup (a deployment would need a ceremony, or a proof system without one); the anonymizer is trusted by the signer (it sees what it hides); and revocation isn’t checked. The white paper lists these, along with what the proof does and doesn’t establish.
Next steps
Hiding the claim is the obvious next step, but it can’t be done with C2PA’s redaction mechanism: a claim can’t redact its own assertions, and actions can never be redacted. I designed an alternative that keeps the signed claim private and proves that it references the disclosed assertions; its core costs about 8% more in the proof. But it produces a visible claim that the original signer didn’t sign, which departs from C2PA’s current model. I’m hoping to explore this design within the coalition.
On the technical side, the roadmap includes cheaper trust models (a published tree of signer keys, or proof-friendly credentials), the full certificate profile, revocation, RSA and P-521 CAs, and provenance chains. I’ll also rerun the results publicly once shareable reference assets are available from the conformance program.
As before, I’d love to hear about the scenarios where signer privacy matters to you, and which disclosures you can live with. The code, design notes, and measurements are all public.
Footnotes
-
Unsupported encodings are refused, but some semantics within the supported profile go unchecked (unknown critical extensions, for example). The white paper’s Section 3 and Appendix B give the exact profile. ↩
-
The samples were shared privately, so the white paper describes them generically, and the real-content runs can’t yet be reproduced independently; the test-fixture results can. I will publish more assets in the GitHub repository once some are made available publicly by the C2PA. ↩