A PDF arrives with a seal on it. How does the person holding it check that seal without trusting the sender, and without uploading the document anywhere?
We needed an answer for the PDFs our office seals, so we wrote one down as a spec and built an open-source verifier around it: sealed-pdf-verify . It runs as a library (Node 20+ and browsers), a CLI, and a single HTML file that works from file:// with no network requests. This post walks through the five checks it makes, the one place WebCrypto was not enough, and what a "genuine" result does not prove.
What the holder receives
Two files: the PDF, and a small proof JSON next to it.…