how-to
How to check whether a signed PDF has been altered
Step-by-step ways to verify a signed PDF in Adobe Acrobat, in the browser and on the command line, and what each warning about validity, identity and changes means.
Someone sends you a signed contract. It has signatures on the last page and looks right. Has anyone changed a figure since it was signed? The signatures you can see on the page cannot tell you. A digital signature inside the file can, if there is one, and if you know where to look.
This guide shows how to check a signed PDF with tools you probably already have, and how to read the results, including the confusing ones.
First: does the PDF have a digital signature at all?
Many "signed" PDFs only contain an image of a signature. To find out:
- In Adobe Acrobat or Acrobat Reader, a blue bar under the toolbar saying "Signed and all signatures are valid" or "At least one signature has problems" means there is a digital signature. You can also open the Signature Panel, shown as a pen icon in the side bar, or find it under All tools › Use a certificate in recent versions.
- In Preview on macOS and most browser PDF viewers, digital signatures are not checked or not shown. Their absence there means nothing.
- On signer.tools/verify, drop the file on the page. The check runs in your browser and tells you whether any digital signatures were found.
If there is no digital signature, the file cannot prove its own integrity. Ask the sender for the version produced by their signing service, or for a copy they sealed.
What verification actually checks
For each digital signature, a verifier works through a series of checks. Understanding them makes the results easy to read.
- Integrity. It hashes the parts of the file covered by the signature and compares the result with the hash stored inside the signature. If they differ, the signed content has been changed.
- Signature. It checks the signature value with the public key in the signer's certificate. If that fails, the signature is broken or forged.
- Trust. It tries to build a chain from the signer's certificate to a root certificate it trusts, and may check whether the certificate was revoked.
- Coverage. It checks whether the signature covers the whole file or whether content was appended afterwards, which PDF allows through incremental updates.
- Time. It looks for a trusted timestamp to establish when the signature was made, which matters when the certificate has since expired.
Our article on PAdES explains the file structures behind these checks.
Reading Adobe Acrobat's messages
Acrobat's wording has changed between versions, but the results fall into a few groups.
| What Acrobat says | What it means | What to do |
|---|---|---|
| Signed and all signatures are valid | The file is unchanged since signing, and every signer's certificate chains to a certificate Acrobat trusts | Nothing; this is the best result |
| Signature validity is unknown, or the signer's identity is unknown | The file is unchanged, but Acrobat does not trust the certificate, for example because it is self-signed or from a private authority | Check the certificate details and compare them with what the signer or service publishes |
| The document has been modified since this signature was applied, or the signature is invalid | The signed content was changed after signing | Do not rely on this copy; ask for the original |
| Signed, with subsequent changes allowed, such as form filling or another signature | Content was appended after this signature, of a kind the signer permitted | Open the signature's properties and review what changed |
To see details, open the Signature Panel, expand a signature and choose Signature Properties. Show Signer's Certificate displays who the certificate was issued to, by whom, and its fingerprint.
Checking a signature in the browser
On signer.tools/verify, choose or drop the PDF. The file is read and checked in your browser; it is not uploaded. For each signature the page shows:
- whether the signed bytes are intact,
- whether the signature value is mathematically valid,
- the certificate's subject and fingerprint,
- whether anything was added after the signature,
- for documents sealed by signer.tools, whether the seal matches our published certificate and our record of sealed fingerprints. Only the signature's hash is sent for that lookup.
This is useful when you do not have Acrobat, or when Acrobat reports "validity unknown" for a signer.tools seal: the verify page can confirm the seal came from us.
Checking on the command line
If you have the Poppler utilities installed, which most Linux distributions package and Homebrew provides on macOS, run:
pdfsig contract.pdf
It lists every signature with the signer's certificate name, the signing time, whether the signature is valid, and whether the certificate is trusted by your system. Add -dump to save the raw signature containers for closer inspection with OpenSSL.
For EU qualified and advanced signatures, the European Commission publishes a demonstration validation service built on its open-source DSS library. It validates against the EU Trusted Lists and produces a detailed report, but it requires uploading the file, so avoid it for confidential documents and run DSS locally instead if you need that level of checking regularly.
When verification fails
- Do not edit or "repair" the file. Saving it again in some PDF tools adds a new revision and makes things harder to diagnose.
- Ask for the original directly from the signing service or the other party, through a channel you trust.
- Compare fingerprints. The certificate page of a signed document often lists a SHA-256 hash. On macOS or Linux,
shasum -a 256 file.pdfprints the hash of your copy. On Windows, usecertutil -hashfile file.pdf SHA256. - Check the audit trail for when the document was completed and sealed, as described in what an e-signature audit trail should record.
A "modified" result is not always malicious. Some email gateways and document management systems rewrite PDFs automatically, for example to add a banner, which breaks the signature. Still, the safe assumption is that a copy which fails verification is not the signed document.
For senders: make your PDFs easy to verify
- Use a service that seals the finished document, not one that only stamps signature images onto pages. signer.tools seals both self-signed PDFs and completed signature requests.
- Send the sealed file itself. Printing it to a new PDF, or opening and saving it in another editor, removes or breaks the seal.
- Tell recipients how to check it. A line such as "you can verify this document at signer.tools/verify" removes most of the doubt.
Written by
Abdessamad Bettal
Abdessamad designs and builds signer.tools, including its in-browser encryption, PDF sealing and verification. These guides explain how electronic signatures work underneath, in plain language, with the same care for accuracy that goes into the product.