# Precedents for signed documents

Digitally signed data has been printed on documents as barcodes since the 1990s, in one system on more than two billion documents. This note describes these systems and the alternatives to them, and states what is known of their scale, incidents and effect.

Research note, 27 October 2026.

## Overview

This note covers three kinds of system: those that print digitally signed data on documents as a
machine-readable code, those that verify documents by a query to the issuer or to a central
database, and DKIM, which publishes the keys that sign e-mail in the DNS. For each system it gives
the operator, the documents concerned, the scale, the trust model, revocation and documented
incidents. The sources are specifications, regulations, figures of the operators, press reports and
independent security research. Figures stated by an operator about its own system are marked as
such. The relation of these systems to DKDS is described in
[a section of its own](#relation-to-dkds).

Four findings recur across the systems:

- The systems that reached national or international scale each had a legal mandate, a single state
  issuer or a public health emergency.
- Every large system has a means of establishing who may issue: a trust list, a certificate
  authority or a directory of issuers.
- The documented incidents concern the misuse of issuing systems and weak keys, not broken
  cryptography.
- No system publishes how often relying parties verify, and no independent measurement of an effect
  on fraud was found.

## Signed codes

| System | Region | Since | Documents | Scale | Trust model |
|---|---|---|---|---|---|
| 2D-Doc | France | 2012 | Tax notices, proofs of address, bank details | 177 signing certificates, 62 of them valid (January 2025); volume not published | Certification authorities and a trust list of ANTS |
| ICAO visible digital seal | Worldwide | 2018 | Visas, residence and arrival documents | Visas of all EU member states by May 2022 (ICAO) | Country signing authorities of the passport infrastructure |
| EU Digital COVID Certificate | EU, then worldwide | 2021 | Vaccination, test and recovery certificates | More than 2.3 billion certificates (European Commission) | Central trust list of national keys |
| SMART Health Cards | United States, Canada | 2021 | Vaccination and test records | More than 500 issuers (operator) | Keys on the issuer's domain, with a directory of approved issuers |
| GST e-invoice | India | 2020 | Invoices between businesses above a threshold | Not published | Signature of a government-authorised registration portal |
| ZATCA e-invoice | Saudi Arabia | 2023 | Invoices | Not published | Certificates issued by the tax authority |

### 2D-Doc

The 2D-Doc was specified in 2012 by the Agence nationale des titres sécurisés (ANTS), now France
Titres. It is a Data Matrix code that contains selected data of a document and an ECDSA signature.
The code identifies the certification authority and the certificate of the signer but does not
contain the certificate, for reasons of size. A verifier obtains the certificate from a trust list
that ANTS publishes and, according to the certification policy, updates every three months. Issuers
must be referenced by ANTS; verification is open to anyone.

Documents that carry a 2D-Doc include proofs of address such as energy bills, bank account details
and tax notices. Income tax notices have carried one since April 2022. ANTS publishes no count of
codes issued. A list of certificates credited to ANTS, dated January 2025, names 177 signing
certificates, 62 of them valid, under five certification authorities; a list of March 2023 named
133. The issuers named include the Banque de France, EDF and Engie. The state rental platform
DossierFacile checks each uploaded tax notice by its 2D-Doc. No count of verifications by landlords
or banks is published. Guidance to tenants and landlords pairs the code with SVAIR, the tax
administration's online service for verifying a tax notice, since the code does not show that a
notice is the latest one. A code is valid regardless of the printed text beside it, which the reader
compares with the code.

### Visible digital seals

Part 13 of ICAO Doc 9303 defines a visible digital seal for travel documents without a chip. The
seal is signed by a barcode signer whose certificate is issued by the country signing certificate
authority of the state, the infrastructure that also signs electronic passports. Profiles exist for
visas and emergency travel documents; ICAO stated that all EU member states would issue visas with a
seal by May 2022. The German technical guideline BSI TR-03137 adds national profiles, among them the
supplementary sheet of the residence permit and the arrival certificate. An interoperability test by
the Joint Research Centre of the European Commission found ambiguities between the ICAO documents,
for example in certificate serial numbers. A variant for proofs of vaccination and testing, the
VDS-NC, was defined in 2021; no current use was found.

ISO 22376, published in August 2023, defines a general format for visible digital seals, derived from
the French and European work on the 2D-Doc. It leaves the governance of issuers to a "trust service
operator". Its adoption cannot be measured from public sources.

### EU Digital COVID Certificate

The certificate was created by Regulation (EU) 2021/953, which applied from 1 July 2021 to 30 June
2023. Its data are encoded in CBOR, signed as COSE with ECDSA or RSA-PSS, compressed with zlib and
encoded in Base45 behind the prefix `HC1:` in a QR code. Each country's signing authority certifies
the keys that sign certificates, and a gateway of the European Commission distributes the list of
these keys to verifiers. A key is revoked by its omission from the list. The Commission reports more
than 2.3 billion certificates issued. Verification was routine where national rules required a
certificate for travel or entry to venues; no figures of verification across the EU were found.

In October 2021, certificates in the name of Adolf Hitler, born 1 January 1900, verified as valid in
the Italian and German verifier apps, and forged certificates were offered for sale online. The keys
involved were withdrawn from the list within days; verifier apps accepted the certificates for some
time afterwards. The French and Polish authorities reported no compromise of the cryptography. The
reports point to the misuse of access to national issuing systems rather than to leaked private keys,
although the incident was widely reported as a key leak. Withdrawing the keys also invalidated the
genuine certificates signed with them. The eHealth Network later added lists for revoking individual
certificates. On 1 July 2023 the system was transferred to the World Health Organization as the first
part of its Global Digital Health Certification Network, which in 2023 connected the EU member states
and 51 other countries and territories.

### SMART Health Cards

SMART Health Cards were developed in 2021 by the VCI coalition for records of COVID-19 vaccination and
testing in the United States and Canada. A card is a FHIR record, compressed and signed with ECDSA,
in a QR code. The issuer publishes its public keys at `/.well-known/jwks.json` on its own domain. The
specification first located keys through decentralised identifiers (DIDs) and replaced them with
these hosted key sets.

Because a card with a valid signature "can technically be issued by anyone", VCI keeps a directory of
issuers. Admission requires a registration, an attestation and a check by The Commons Project, and is
limited to health systems, pharmacy chains, laboratories, insurers and governments. Verifiers are
asked to check cards against the directory. VCI publishes a daily snapshot of the keys of all issuers,
so that verifiers need not contact the issuers' domains, and asks issuers to keep their keys online for
as long as their record-keeping obligations last. Keys are revoked by removing them; revocation of
individual cards was added later. VCI states that more than 500 organisations issue cards and that
more than 200 million people in the United States have access to them; these are statements of reach,
not counts of cards issued. No figures of use after 2022 were found. The specification continues as an
HL7 FHIR implementation guide.

### Signed e-invoices

**India.** Since October 2020, invoices between businesses above a turnover threshold are registered
with an invoice registration portal, which returns a signed QR code in the form of a JSON Web Token.
The code contains the tax identification numbers of supplier and buyer, the number, date and value of
the invoice, the number of items, the main product code and the invoice reference number. It is
signed by the portal, not by the supplier. Since 2023, private operators have been authorised as
portals beside the government's National Informatics Centre, so that a verifier trusts several keys.

**Saudi Arabia.** Since 2023, in phases, invoices carry a QR code that includes a hash of the invoice,
an ECDSA signature, the public key and the signature of the taxpayer's certificate, which the tax
authority ZATCA issues. Invoices between businesses are cleared by ZATCA before they reach the buyer.
Since the code carries its own public key, a check against that key alone shows only that the code is
consistent; its origin rests on the certificate chain.

**Mexico.** The electronic invoice (CFDI) is sealed by the issuer and stamped by a certification
provider authorised by the tax administration, SAT. The QR code on its printed copy contains the
address of SAT's verification service, the invoice's identifier, the tax identification numbers, the
total and the last eight characters of the seal. It is a key for a lookup, not a signed record.

### Other signed codes

- **Aadhaar.** The Aadhaar letter and card issued by the Unique Identification Authority of India
  carry a Secure QR code with the holder's name, date of birth, gender, address and photograph,
  signed with a single RSA key of the authority and verifiable offline. Every reader of the code sees
  these data.
- **Postage.** The Information-Based Indicia Program of the United States Postal Service introduced
  signed two-dimensional barcodes for postage printed by computer in the 1990s.
- **Rail tickets.** Under UIC 918.3, tickets printed at home carry a signed Aztec code; the keys of the
  rail operators are exchanged through the International Union of Railways. The Flexible Content
  Barcode succeeds it.
- **Boarding passes.** Version 3 of the IATA bar-coded boarding pass, of 2009, added an optional field
  for a digital signature, used where local security requires it. No figures of its use were found. A
  forged boarding pass gives no right to travel, since boarding is checked against the passenger list.
- **Official decisions.** Under the Austrian E-Government Act, official decisions carry a visual mark,
  the Amtssignatur, with information that allows a printout to be verified. No figures of its use
  were found.

## Unsigned payment codes

The Swiss QR-bill, the only payment slip accepted in Switzerland since 1 October 2022, and the EPC QR
code of the European Payments Council standardise payment data without authenticating it. The Swiss
National Cyber Security Centre has documented cases of business e-mail compromise in which both the
IBAN and the QR code of an invoice were altered, with payment to a Swiss account. Its advice is to
compare the account with details known from earlier payments.

## Verification by lookup

In a lookup, the relying party queries the issuer or a central database about a document. A lookup
shows the current status of a document, including its withdrawal or replacement, which a signature
does not. It requires the database to be online and complete, and the operator learns who checks
which document.

- **HEDD.** The Higher Education Degree Datacheck, run in the United Kingdom by Prospects and Jisc
  since 2011, routes employers' degree checks to universities. Prospects reports more than 1.75
  million verifications (2025), and states that HEDD has investigated 400 fake universities and
  helped to close 85. It also states that 20% of employers check degrees; no survey behind this figure
  was found.
- **EU medicines verification.** Since February 2019, under the Falsified Medicines Directive, each
  pack of prescription medicine carries a unique identifier in an unsigned Data Matrix code, which the
  pharmacy checks against national repositories connected to a European hub. In January 2024 the
  system connected 2,800 pharmaceutical companies, 110,000 pharmacies and 6,000 hospital pharmacies.
  In its first months about one check in 33 raised an alert, nearly all of them false. Reported alert
  rates later fell below 1%, against a target of 0.05% set by the European Medicines Verification
  Organisation. Manufacturers of generic medicines stated that the costs could not be absorbed for many
  low-cost medicines.
- **Other registers.** France offers SVAIR for tax notices, the Netherlands a register of diplomas
  kept by DUO, and China a national service for verifying invoices (fapiao). No data on their
  coverage, cost or failure rates were found.

## Keys in the DNS

DKIM, specified in RFC 6376 (2011), lets the domain of a sender sign e-mail with a key published in a
DNS TXT record at `<selector>._domainkey.<domain>`. RFC 8301 (2018) prohibits keys shorter than 1,024
bits and RFC 8463 (2018) adds Ed25519. There is no registry: a signature establishes which domain
signed, and receivers decide whether to trust the domain by their own reputation systems. The large
mailbox providers made DKIM a condition for delivering bulk mail.

A scan of the one million most visited domains in 2024 found 476,617 DKIM records, of which 1,726
held keys shorter than 1,024 bits. The researchers factored one 512-bit key in 88 hours on a rented
server, for less than $8, and several mail providers accepted messages signed with it. A key is
retired by removing or emptying its record, after which messages signed with it can no longer be
verified.

W3C Verifiable Credentials can locate an issuer's keys on its domain through the did:web method. No
deployment for printed documents at scale was found.

## Comparison

### Adoption

The systems that reached national or international scale, namely the EU Digital COVID Certificate, the
Indian, Saudi and Mexican e-invoices, the Aadhaar code, the EU medicines verification system and the
visas with visible digital seals, each had a legal mandate or a single state issuer. The largest use
of the 2D-Doc, on income tax notices, has a single state issuer; its private issuers adopted it
voluntarily and number in the tens. Of the voluntary schemes, DKIM and SMART Health Cards grew where a
dominant party required them: the mailbox providers, and the states and venues that required proof of
vaccination. The signature field of boarding passes and the checking of degrees by employers, both
left to the choice of each party, show low or unknown use. No voluntary scheme for signed printed
documents that grew without a mandate or a dominant party requiring it was found.

### Trust models

| Model | Systems | What it establishes | Limitations |
|---|---|---|---|
| Central trust list | EU Digital COVID Certificate, 2D-Doc | Which issuers are recognised; keys can be withdrawn centrally | The list vouches for the issuer, not for each issuance, as in 2021; admission costs and a single point of governance |
| State certificate authority | ICAO seals, Saudi and Indian e-invoices | That the signer is authorised by the state | Several authorised signers widen the set of trusted keys |
| Keys on the issuer's domain | SMART Health Cards, DKIM | Which domain signed | Not whether the domain is a legitimate issuer of the document; SMART Health Cards added a directory, and DKIM leaves the question to receivers; key quality varies |
| Lookup | HEDD, EU medicines verification, SVAIR, CFDI | The current status of a document, including withdrawal and replacement | The database must be online and complete; the operator learns who checks; operating costs and false alerts |

### Verification in practice

No system publishes how often its codes are verified. Verification became routine where it was part
of a procedure that someone was obliged to perform: border control, dispensing in pharmacies, entry to
venues during the pandemic, tax inspection and the automatic check of DossierFacile. Where it was left
to each relying party, the available figure is the operator's statement that 20% of employers in the
United Kingdom check degrees.

### Revocation

Withdrawing a key invalidates every document signed with it, as it did for the genuine certificates
signed with the keys withdrawn in 2021. The EU Digital COVID Certificate and SMART Health Cards later
added revocation of individual documents. A document can be verified after it was relied on only while
its key remains retrievable; SMART Health Cards ask issuers to keep keys online for their
record-keeping periods.

### Evidence of effect

No independent measurement of an effect on fraud was found for any of the systems. The quantified
outcomes are operational, such as alert rates, numbers of verifications and fake universities closed,
or are statements of the operators.

## Relation to DKDS

DKDS combines elements of several of these systems. Its stamps are QR codes whose text is encoded in
Base45, as in the EU Digital COVID Certificate. Its keys are published in DNS TXT records under the
issuer's domain, as in DKIM, and a verifier retrieves the key from that domain, as for a SMART Health
Card. Unlike the systems that reached large scale, it has no mandate, no single issuer and no list of
approved issuers. The findings above bear on it as follows.

| Finding | Systems | DKDS |
|---|---|---|
| Large systems establish who may issue | EU Digital COVID Certificate, 2D-Doc, ICAO seals, SMART Health Cards | No list of issuers. A verifier reports the domain, which the reader compares with the domain on record for the issuer ([Receiving documents](https://dkds.org/docs/receiving#domain)) |
| Voluntary schemes without a mandate or a dominant party requiring them have not been shown to reach scale | Boarding passes, private 2D-Doc issuers, degree checks | Adoption is voluntary; the effect of partial adoption is modelled in [Shrinking the haystack](https://dkds.org/research/partial-adoption) |
| Withdrawing a key invalidates every document signed with it | EU Digital COVID Certificate | The same: an empty key record invalidates every stamp of the key ([section 7.4](https://dkds.org/docs/specification#7-4-revocation)) |
| Later verification requires the key to remain retrievable | SMART Health Cards, DKIM | The same: a stamp verifies only while its key record is published |
| Compromises occurred inside centrally governed systems | EU Digital COVID Certificate | Each issuer holds its own key; a compromise affects the stamps of that issuer only |
| Weak keys and verifiers that accept them | DKIM | One algorithm, Ed25519, with a fixed key size; the conformance of verifiers is tested with the [test vectors](https://dkds.org/docs/specification#test-vectors) |
| Keys on the issuer's domain work without a registry or fees | DKIM, SMART Health Cards | The same mechanism |
| A signature does not show that a document is the latest version | 2D-Doc, with SVAIR | Not addressed by the protocol; the field *Replaces* identifies a correcting document ([Field conventions](https://dkds.org/docs/field-conventions#common-additions)) |
| Verification offline, with a stored trust list | EU Digital COVID Certificate, 2D-Doc, ICAO seals | Verification requires a DNS query |
| Signed data is readable by anyone who reads the code | Aadhaar, 2D-Doc | The same: every field can be read; issuers include only facts that the document prints ([Issuing documents](https://dkds.org/docs/issuing#choosing-the-fields)) |
| Admission to a trust list has costs | 2D-Doc: 177 signing certificates after 13 years | No admission; whether its absence affects adoption is not established |

## Limits of the evidence

- The number of documents issued is not published for the 2D-Doc and the e-invoice systems, and the
  number of verifications is not published for any system.
- The technical details of the Saudi and Mexican e-invoices and the alert rates of the EU medicines
  verification system rest on implementation guides and reports by vendors.
- The count of 2D-Doc certificates comes from a list credited to ANTS but published outside its
  website.
- The accounts of the incidents of 2021 rest on press reports; no official report on them was found.
- The postage, rail ticket, boarding pass and Amtssignatur systems are described from general
  documentation; the absence of figures for them means that none were found, not that none exist.

## Sources

Specifications and legislation:

- ANTS. *Spécifications techniques des codes à barres 2D-Doc*; certification policy of the authority
  FR01.
- BSI. Technische Richtlinie TR-03137, *Digital Seal*.
- Commission Delegated Regulation (EU) 2016/161 and Directive 2011/62/EU, on falsified medicines.
- Council Recommendation (EU) 2023/1339, on joining the WHO Global Digital Health Certification
  Network.
- eHealth Network (2021). Guidelines on the technical specifications of EU Digital COVID Certificates;
  guidelines on revocation.
- GSTN. Frequently asked questions on e-invoicing; advisory of 4 March 2023 on additional invoice
  registration portals.
- IATA (2016). *Bar Coded Boarding Pass Implementation Guide*, fifth edition.
- ICAO. Doc 9303, *Machine Readable Travel Documents*, Part 13: Visible Digital Seals.
- ISO 22376:2023. Visible digital seal data format for the authentication of physical documents.
- [Regulation (EU) 2021/953](https://eur-lex.europa.eu/eli/reg/2021/953/oj), on the EU Digital COVID
  Certificate.
- [RFC 6376](https://www.rfc-editor.org/rfc/rfc6376), [RFC 8301](https://www.rfc-editor.org/rfc/rfc8301)
  and [RFC 8463](https://www.rfc-editor.org/rfc/rfc8463), on DKIM.
- SAT. Annex 20 of the Resolución Miscelánea Fiscal, on the CFDI.
- [SMART Health Cards Framework](https://spec.smarthealth.cards/); VCI Directory of issuers.
- UIDAI. Specification of the Aadhaar Secure QR code.
- ZATCA. Requirements of the second phase of e-invoicing.

Figures, incidents and assessments:

- BleepingComputer and Threatpost (2021). Reports of October 2021 on forged EU Digital COVID
  Certificates.
- Google and Yahoo (2023). Requirements for senders of bulk e-mail, in force from February 2024.
- Économie.gouv.fr. Guidance on verifying tax notices with the 2D-Doc and SVAIR; DossierFacile.
- European Commission (2023). Joint release with the World Health Organization of 5 June 2023.
- European Commission, Joint Research Centre. Report JRC128183 on the interoperability of visible
  digital seals.
- European Medicines Verification Organisation, as published by the Latvian medicines verification
  organisation (2024); EFPIA and Medicines for Europe, statements on the medicines verification
  system; TraceLink, reports of alert rates.
- National Cyber Security Centre of Switzerland. Reports on business e-mail compromise with altered
  QR-bills.
- Prospects (2016, 2025). Statements on HEDD.
- Vaccination Credential Initiative. Statements on issuers and reach of SMART Health Cards.
- Wulf, A. (2024). Scan of DKIM keys among the one million most visited domains, as reported by Heise.
- World Health Organization (2023). Global Digital Health Certification Network.
