The verification page answers your question by asking our server. This page is for when you would rather not take our word for it: the same check, running on your machine, against a key you already hold. It makes no network request.
About 150 lines of Python, plus two files copied byte-for-byte from the code that produces the seal. Read it before you run it — that is rather the point, and it is short enough to do.
Download coresign-verifier.tar.gz
Or read the source first: coresign-verify.py seal_verify.py canonical.py
The public half of the key every CoreSign seal is signed with: /api/v1/verification-key
⚠ The tool will not fetch this for you, deliberately. A verifier that downloads a key and then verifies against it will verify anything the key's supplier chooses to send. Fetch it once, by a means you trust, keep it, and compare it the next time you need it.
sealed.json is the sealed record of the
document. A signer downloads it from the page their completion email opens;
the sender downloads it from the document's page in their account.
tar -xzf coresign-verifier.tar.gz cd coresign-verifier python3 coresign-verify.py --payload sealed.json --key-hex <64 hex characters>
It exits 0 only when every check ran and passed. With
no key it still detects any modification to the document, but it cannot
tell you who sealed it — so it reports complete: false and
exits non-zero. Gate on complete, never on
ok: ok only means nothing that was
checked failed, which is also true when nothing was checked.
A test record. A document made with a CoreSign test key is
sealed like any other, and its record says "is_test": true inside
the seal. The checker then prints TEST — NOT A SIGNED AGREEMENT
instead of VERIFIED and exits 3: the seal is genuine, and it records
no agreement. Removing that line breaks the seal, and so does adding it to a
real record.
And the PDF you hold. The sealed record names the SHA-256 of
the signed PDF exactly as CoreSign produced it. Add --pdf and the
checker also confirms your copy is that exact file — still with nothing sent
anywhere:
python3 coresign-verify.py --payload sealed.json --key-hex <64 hex characters> --pdf signed.pdf
A copy that was opened and saved again, printed, or scanned is a different file and will not match. That does not make it forged; it means this cannot vouch for it.
It proves the document has not changed since it was sealed, and that the seal was made by the holder of that key. It does not prove who that holder is — that rests on obtaining the key from somewhere you trust.
⚠ Downloading the tool from this site means trusting this site for the tool. That is a smaller and different trust than believing our verdict about our own document, and it is not the same as no trust at all. The files are short and the two vendored ones are pinned byte-identical to what produces the seal, so you can check the tool rather than believe it.