How do AI Disclosure, Content Credentials and C2PA Sign work together on a Drupal site, and what are they for under the AI Act?
Deep dive into the AI Disclosure project
An AI-generated image can reach a Drupal site with a digital signature attached, and leave it with another one. Three modules sit in between, and each does one job. Here I follow them one by one on a real image, the cover of this article made with ChatGPT, and I say what held up on my test site and where it broke. What an AI image carries and how AI Disclosure, the module I created on drupal.org within the Drupal AI Initiative, labels it is covered in the article on metadata and labels for AI images.
What do the three modules do, in one sentence each?
Content Credentials reads: it opens the signature of the files an editor uploads and, if it says the file was made with AI, proposes the grade in AI Disclosure. AI Disclosure declares: it keeps the grade the editor confirms, shows the label to readers where the law asks for it and writes the metadata into the copies. C2PA Sign signs: it gives the published copies a new signature, with the site's certificate, and includes the AI Disclosure declaration in it.
What is an image's C2PA signature?
The C2PA signature, known to the public as Content Credentials, is a digital ID card attached to the file. It says who produced it, with which tool and what happened to it afterwards, and it is signed with a certificate, so anyone can check that nobody tampered with it. ChatGPT adds one to every image: the one at the top of this article carries an OpenAI signature that says “created by a trained model”.
The signature covers only that file, byte for byte. Resizing the image, as Drupal does for every page, is enough to break the original signature: for the copy to carry a valid one, someone has to sign it again. That is what C2PA Sign does.
How does an image move from one module to the next?
The video follows the image through eight stages. It is born in ChatGPT, the editor uploads it, Content Credentials reads the signature, the editor confirms the grade, Drupal makes the copy for the page, AI Disclosure declares it and C2PA Sign signs it. At the last stage a reader downloads it, or takes a screenshot.
What happens to the signals of an AI image, step by step?
Watch the video or pick a stage, and compare Drupal on its own with Drupal and the three modules.
| What the image carries | 1. The editor uploads | 2. Content Credentials reads | 3. The editor confirms the grade | 4. Drupal makes the copy | 5. AI Disclosure declares | 6. C2PA Sign signs | The reader downloads the file | The reader takes a screenshot |
|---|---|---|---|---|---|---|---|---|
| C2PA signature | present (generator's signature) | present (generator's signature) | present (generator's signature) | lost (the copy does not carry it) | lost | without the modules: lost; with the modules: added (site signature) | without the modules: lost; with the modules: present (site signature, valid; trusted with a certificate from the trust list) | lost |
| IPTC digital source type | absent (it sits only inside the generator's signature) | absent | absent | absent | without the modules: absent; with the modules: added ("generated by a model") | without the modules: absent; with the modules: present | without the modules: absent; with the modules: present | absent |
| Declaration on the page | absent | absent | absent | absent | without the modules: absent; with the modules: added (machine-readable data; the EU icon on deep fakes) | without the modules: absent; with the modules: present | without the modules: absent; with the modules: lost (it stays on the page) | without the modules: absent; with the modules: lost (it stays on the page) |
| AI icon in the pixels (deep fake) | absent | absent | absent | absent | without the modules: absent; with the modules: added (burned into the copy) | without the modules: absent; with the modules: present | without the modules: absent; with the modules: present (deep fakes only) | without the modules: absent; with the modules: present (it stays in the pixels) |
| AI grade on the site | absent | without the modules: absent; with the modules: added (proposed, if the signature is on the C2PA trust list) | without the modules: absent; with the modules: added (confirmed) | without the modules: absent; with the modules: present | without the modules: absent; with the modules: present | without the modules: absent; with the modules: present | absent | absent |
The video shows the recommended setup, with C2PA Sign signing only the copies. Signing on upload, which breaks this chain in older releases, is covered below.
C2PA Sign: the fixes
Since 13 October I am a co-maintainer of C2PA Sign, alongside @jrglasgow (opens in a new tab), who created it. The fixes described below shipped on 20 October 2026 in release 1.5.0 (opens in a new tab), which needs the c2patool program 0.27 or later and the jrglasgow/c2patool PHP library 0.6.0: on Debian 12 images, build it with cargo. The latest release of the module is 1.5.1 (Drupal.org, as of ).
| What works | What it needs |
|---|---|
| Reading the OpenAI signature and proposing the grade | with the C2PA trust list, on the first cron run |
| Grade confirmation, XMP and JSON-LD from AI Disclosure | AI Disclosure 1.0.0-beta1 |
| EU icon burned into the deep fake | with both the deep fake grade and the medium "Deep fake image, audio or video" set |
| C2PA Sign signing on upload, on publication and on copies | C2PA Sign (opens in a new tab) from 1.5.0, latest release 1.5.1 (Drupal.org, as of ). The OpenAI signature stays as an ingredient |
| Download that keeps the signature | trusted with a certificate from the trust list |
| Grade proposed from the re-signed file | Content Credentials 1.0.0-alpha6 (opens in a new tab), pure-PHP verifier (provemark/c2pa-verifier 0.10), the site's certificate among the trusted ones |
What works today?
I ran the chain on a Drupal 11 test site and read every file with c2patool. The latest test is from 20 October 2026, on Drupal 11.4.8 with PHP 8.3, C2PA Sign 1.5.0 with the jrglasgow/c2patool PHP library 0.6.0, the c2patool program 0.28.2, Content Credentials 1.0.0-alpha1 with the pure-PHP verifier and AI Disclosure 1.0.0-beta1. The table shows Content Credentials 1.0.0-alpha6, which I have not retested.
Between the alpha1 of this test and 1.0.0-alpha6 (opens in a new tab), released on 10 November 2026, Content Credentials changed in four ways. It keeps the signature when Drupal scales the image, and waits for the reading service when it is slow to answer (alpha2). On the pure-PHP route it requires provemark/c2pa-verifier 0.10, which fixes six wrong “trusted” verdicts (alpha3). It adds an evidence archive, off by default (alpha4). Since alpha6 it requires AI Disclosure 1.0.0-beta1.
The outgoing side works. C2PA Sign signs the copies the site serves, and inside them is what AI Disclosure declared: the source type of the confirmed grade, for example "generated by a model", and on a deep fake with the icon burned in, a "modified" action (c2pa.edited) that describes the burned-in icon. The copy a reader downloads is identical byte for byte, and the signature stays valid. Reading works too: uploaded to another site that recognises my site's certificate, that signed copy produces a grade proposal in AI Disclosure, waiting for the editor to confirm it.
In the releases before 1.5.0 four things failed, and today all are solved: three by fixes in the modules, the fourth by the editor's confirmation. 1.4.11 requires c2patool 0.9, while in October 2026 c2patool is at 0.28.2, and 0.9 cannot read signatures in the C2PA 2.x format, like OpenAI's. With 0.9, when it signs the file that was just uploaded, it replaces the OpenAI signature with its own, which no longer says “this is AI”, and the original provenance disappears. That is issue #3596032 (opens in a new tab) of C2PA Sign. With the jrglasgow/c2patool PHP library, which includes my pull request #1 (opens in a new tab) for the icon, 1.5.0 keeps the OpenAI signature in the file as an ingredient, along with the action's title and creator (issue #3596036 (opens in a new tab)). Since 1.0.0-alpha1 Content Credentials also reads the origin in the ingredient: in my test it proposed the grade on the re-signed file with the site's certificate among the trusted ones, and flagged the file as untrusted without it.
In 1.4.11 the copies signed by C2PA Sign are created with permissions the web server cannot read: the first request goes through, from the second one the copy answers 403 and also disappears from the site's pages. On a deep fake with the icon burned in, anyone arriving after the first visit sees neither the image nor the label. The fix for issue #3596031 (opens in a new tab) is in 1.5.0, which serves the copy on every visit.
Finally, a deep fake reaches the other site as "generated autonomously", because the two grades share the same IPTC source type and the reader picks the first one: there the grade does not exist yet, and the editor corrects the proposal. Since AI Disclosure 1.0.0-beta1 a proposal no longer lowers a grade already chosen, so a deep fake already declared stays one (issue #106 (opens in a new tab)).
On my own site I also found a more mundane case. Among the covers made with ChatGPT, the OpenAI signature is still there only on those uploaded as they came out, in PNG: the ones converted to JPG before upload had already lost it. A signature can also get lost in the way a newsroom handles files, before they even reach Drupal.
How do they help with the AI Act?
For a publisher, the AI Act obligation is the visible label on deep fakes, under Article 50(4), and AI Disclosure adds it. The Commission's guidelines, in paragraph 117, say that on a deep fake a publisher cannot rely on the provider's marking: an intact signature does not replace the label. The AI Act does not ask publishers to keep the signature, although the Code asks providers to forbid its intentional removal in their terms of use.
Machine-readable marking is an obligation for providers of the systems that generate the images, under Article 50(2), and the C2PA signature is one of the techniques for it. The Code of Practice asks for signed metadata plus a watermark. A site that puts into service, under its own name, a system that generates images, for example one built with the Drupal AI module, can also be a provider: there C2PA Sign covers the signed metadata, and the Code also asks for a watermark.
For everyone else, Content Credentials saves the editor time and C2PA Sign adds evidence: it shows what the site declared and when, if a label is ever challenged.
Since 1.0.0-alpha4 Content Credentials can also keep an evidence archive, off by default and only on the pure-PHP verifier route: for every file it reads it stores the certificates, the time-stamp, the trust list and a hash of the bytes read, in chained records. That way the site can show what it read and when. Since alpha5 the archive has retention periods, and an administrator can erase a record's document by hand. The module states the limit itself: the chain makes a change visible but does not prevent it, because whoever can rewrite the table can recompute it. Thanks to Maurice van Loon (opens in a new tab), maintainer of Content Credentials, who pointed out the outdated parts of this article.
What makes a signature trusted?
A signature is trusted when the certificate that produced it comes from an authority on the C2PA trust list. The OpenAI signature on the cover is. My test site's one, made with a test certificate, is valid, but outside the test bench nobody recognises it. A real site needs a recognised certificate: the authorities on the list issue it to products that passed the C2PA conformance programme, and no source yet explains how an editorial site gets there.
The same goes for reading: Content Credentials proposes the grade only from a trusted signature, and treats as trusted the certificates on the list it is given: in the module, if it reads with the PHP extension or the pure-PHP verifier, or in the reading service. Set up with the official list, it reads the OpenAI signature as trusted. On a site that also uses C2PA Sign, the site's certificate has to be added to that list, otherwise every upload is flagged as untrusted. It must be a certificate whose private key only the site holds, never c2patool's sample one.
How do you set them up today, to keep the generator's signature?
With the versions I tested, and with Content Credentials 1.0.0-alpha6 for step 2, this is the combination:
- In C2PA Sign turn on signing for image style copies: the copies served to readers get the site's signature with the AI Disclosure data. Signing on upload and on publication is optional: since 1.5.0 it keeps the OpenAI signature as an ingredient, provided the site's certificate is among the trusted ones in Content Credentials (see above).
- In Content Credentials choose the content types to read, or the media types if the site uses Media, and use the official C2PA trust list, not the test one. That way the OpenAI signature produces the proposal on the first cron run after the upload: Content Credentials reads queued files. When Drupal scales the uploaded image, the module keeps the original in
temporary://until cron reads it: so cron has to run as the same PHP user that handled the upload, on a host that sharestemporary://. Otherwise it reads the scaled copy and proposes nothing. - In AI Disclosure the editor confirms or corrects the proposed grade: whether the image is a deep fake is for the editor to say, because the signature knows nothing about it.
How do you read an image's signature?
c2patool is all you need, a free program from the Content Authenticity Initiative. It works like a passport scanner: it tells you who made the file, with which program, what changes it went through and whether the signature is still intact. With a certificate, the same program signs a new file, and that is what C2PA Sign uses behind the scenes.
c2patool copertina.pngFor this cover it answers, in short, that the file is signed by OpenAI, created with ChatGPT by a trained model, converted, with a watermark declared in the pixels, and that the signature is valid.
Updates
- 10 November 2026: setup and table brought in line with Content Credentials 1.0.0-alpha6, based on the release notes and the maintainer's report; the test is still the one from 20 October. The cron requirement replaces the empty maximum resolution, and the AI Act section presents the evidence archive. Why: Maurice van Loon, maintainer of the module, pointed out that part of the article had been overtaken by the releases that came after the test.
Sources
Sources checked on 20 October 2026; sources 4 and 6, on Content Credentials, checked again on 10 November 2026.
- AI Disclosure (opens in a new tab), project on drupal.org, and its documentation: Labels on images, With C2PA Sign (opens in a new tab). Primary source.
- AI Disclosure, documentation: Suggestions, Reading C2PA content credentials (opens in a new tab). Primary source.
- C2PA Sign (opens in a new tab), project on drupal.org. Primary source.
- Content Credentials (opens in a new tab), project on drupal.org, and its releases (opens in a new tab) from 1.0.0-alpha2 to 1.0.0-alpha6. The latest release is 1.0.0-alpha7 (Drupal.org, as of ). Primary source.
- C2PA Explainer 2.3 (opens in a new tab), Coalition for Content Provenance and Authenticity. Signing, validation, trust. Primary source.
- c2patool (opens in a new tab), Content Authenticity Initiative, and the Content Credentials README (opens in a new tab) on re-signing and c2patool 0.9. Primary source.
- C2PA Conformance Program (opens in a new tab), trust list and certificates. Primary source.
- Code of Practice on Transparency of AI-Generated Content (opens in a new tab), European Commission. Marking for providers. Primary source.
- Guidelines on the transparency obligations of Article 50 (opens in a new tab), European Commission, C(2026) 5054. Paragraph 117. Primary source.
- My test on a Drupal 11 test site, with C2PA Sign, Content Credentials and AI Disclosure, read with c2patool. First-hand measurement.
This text was translated by AI.
How was AI used?
Translated from the Italian original with AI assistance, then read and corrected by a person, who holds editorial responsibility.