Without a way to know which organizations use post-quantum signatures, an attacker could simply delete the PDF-PQS signature from a signed contract, leave the older RSA signature behind, and hope the verifier treats it as a normal pre-quantum document.
PDF-PQS solves this with domain discovery, a lightweight mechanism inspired by email security standards like MTA-STS. Each signing organization publishes a small JSON policy document at a predictable HTTPS URL on its own domain. That file tells any verifier two critical things:
- Who is allowed to sign for this domain (the list of authorized Certificate Authorities and their revocation lists).
- When post-quantum signatures became mandatory (
pqcRequiredFrom), so verifiers can detect if a post-quantum signature was stripped from a recently signed PDF.
Where the policy document lives
For any signing domain (such as example.com), verifiers look for the policy document at:
https://pdfpqs.<domain>/.well-known/pdfpqs.jsonUsing a dedicated pdfpqs. subdomain makes rollout easy for IT and security teams. Your company can delegate pdfpqs.example.com to a signing provider or a dedicated service with a single DNS CNAME record, without ever giving that provider access to your main website (example.com). There is no underscore in pdfpqs because public Certificate Authorities do not issue TLS certificates for hostnames containing underscores.
To prevent spoofing, the server must serve the file over HTTPS with a valid certificate, and verifiers never follow redirects to a different hostname. Verifiers also check the exact signing domain in the certificate without falling back to a parent domain.
How verifiers use the policy document
Verifiers read the signing domain from the signer certificate’s subjectAltName extension (either the domain part of an email address, like example.com from signer@example.com, or a DNS name). A certificate belongs to that domain when it names the domain and chains back to one of the issuers listed in the domain’s policy.
The policy document powers two verification steps:
- Step 7 (Path validation without a central trust list). If a verifier does not already have the signer’s root CA in its local trust store, it can fall back to the
issuerslisted in the signing domain’s policy document. That produces avalid-domain-onlyresult with theW_DOMAIN_ONLYwarning, confirming the domain itself vouches for the issuer even without a third-party root CA. - Step 11 (Catching stripped signatures). If the policy sets a
pqcRequiredFromdate, every classical signature from that domain made on or after that date must be covered by a valid PDF-PQS signature from the same domain. If someone stripped off the post-quantum signature, the verifier rejects the file withE_PQC_REQUIRED_MISSING.
Security boundaries and caching
Even if a future quantum attacker intercepted HTTPS traffic and served a fake policy document, they still could not forge a valid (fully trusted) result, because valid always requires a certificate chain ending at the verifier’s own configured trust anchors. A forged policy could at most hide pqcRequiredFrom or introduce a valid-domain-only issuer.
To protect against downgrade attacks or temporary outages, verifiers should cache previously fetched policy documents and alert the user if pqcRequiredFrom ever disappears or moves to a later date.
Ready to set this up for your domain? Follow Publish a policy document. For the formal specification, see Section 7.