Evidence

How verification works

What happens to the evidence at each step, from the moment a signer opens a document.

  1. The document is fixed before anyone signs

    For each signer, we record a SHA-256 hash of the exact document they were shown.

    If what a signer is about to sign does not match what they were shown, signing stops.

  2. Records are only ever added

    The audit trail is append-only in the database itself. Records cannot be updated, deleted or truncated, even by the application.

    Every audit record carries the hash of the one before it, so an altered or deleted record breaks the chain at the point it was changed.

  3. The chain is anchored outside signrs

    The head of the chain is periodically timestamped by an independent RFC 3161 timestamp authority, so the trail can be shown to have existed, unaltered, at that time.

  4. Every time comes from an outside timestamp authority

    If no timestamp authority can be reached, signing fails. signrs never substitutes its own clock.

  5. The signature goes into the PDF without disturbing it

    Signatures are applied as PDF incremental updates. Each one is appended after the bytes before it, which are never rewritten.

    Signatures follow PAdES, the standard for signatures inside PDF files, and embed an RFC 3161 timestamp.

  6. The evidence leaves with you

    A completed envelope exports as an evidence package: the signed document and its audit trail, in a form a verifier can check without contacting signrs.