HumaDocs

Security and the audit record

How HumaDocs keeps documents private, records who signed what, and makes any later change visible.

A signed document is only useful if three things hold: nobody but the right people could see or sign it, there is a record of who signed and when, and nobody can change it afterwards without that showing. This page explains how HumaDocs does each.

  1. You, the senderStep 1

    Prepare the document

    A PDF, the roles who sign it, and the fields each role fills in. Only people with the right permission in the workspace can make, change or send it.

    Permission checked
  2. HumanikOSStep 2

    Send

    Each person gets their own private link, by email, text message, or handed over by you. We keep only a fingerprint to look the link up, and the current link encrypted so you can copy it.

    Secret linkAudit record
  3. The signerStep 3

    Open the link

    The link is checked: it must be the newest one for that person, the document must still be out, and in a signing order it must be their turn. Before filling anything in, they agree to sign electronically.

    Order enforcedConsent recordedAudit record
  4. The signerStep 4

    Fill in and sign

    Only their own fields are shown. Every value and every signature image is encrypted the moment it is saved, and can only be read back as part of this one document.

    Encrypted
  5. HumanikOSStep 5

    Check before accepting

    The server checks every required field again. The page only helps a person see a problem first; the server decides. The time, address, browser and time zone are recorded.

    Checked againAudit record
  6. HumanikOSStep 6

    Make the finished document

    Values and signatures are drawn onto the PDF, audit pages are added, the digital seal is applied, and the SHA-256 fingerprint of the result is recorded. The file is stored encrypted.

    Audit recordDigital sealSHA-256 fingerprintEncrypted
  7. Anyone with the fileStep 7

    Verify, at any time

    Any PDF reader checks the seal offline. The verify page checks the fingerprint, without the file leaving the computer. Change one byte and both checks fail.

    Digital sealSHA-256 fingerprint
Each step names who acts. The tags are the protections that apply at that step. Encryption covers every value and signature a signer enters, and the finished file.

Who can open a document

People in your workspace reach templates and documents only through permissions. Every request is checked against the workspace the document belongs to.

Signers reach a document only through their own link. A link is a long random value, 192 bits, so it cannot be guessed. It opens one document, for one person, and shows only that person's fields.

  • HumanikOS stores a SHA-256 fingerprint of each link to look it up. A fingerprint cannot be turned back into the link.
  • The current link is also kept encrypted, so a member with signing:send can copy it from the document page without breaking it.
  • Making a new link (Resend, New link) stops the previous one at once. A reminder sends the same link.
  • A link stops working when its person finishes or declines, and when the document is cancelled or expires.
  • In a signing order, every person has a link from the start, but a link can be used to sign only when it is that person's turn. Before that, the page shows only who signs first.
  • The signing pages limit how often each address and each link can be used.

The signing pages are not indexed by search engines, and they do not send the link to any other site the page loads from.

Encryption

Everything a signer enters is encrypted the moment it is saved:

EncryptedWhen
Every value a signer types or ticksOn each save
Every signature and initials imageWhen it is adopted or placed
Values the sender filled in before sendingWhen the draft is saved
Each person's current linkWhen the link is made
The finished documentWhen it is made

Encryption uses AES-256-GCM with a key kept apart from every other HumanikOS secret. Each encrypted value is bound to the document and the person it belongs to: copied anywhere else, it cannot be read, so one person's signature can never appear as someone else's. Anything that fails this check is refused, never shown and never drawn onto a document.

The PDF you upload, and each document's copy of it, are kept in private storage. They are not encrypted with the signing key, because they hold your own content and no signer's data.

The audit pages

Every finished document ends with audit pages, added after the last page of your PDF. They record:

  • the document name and its ID, the workspace, when it was created and when everyone signed
  • the original file: its name, page count and SHA-256 fingerprint
  • for each signer: name, email address and role, when they signed (in UTC and in their own time zone), the internet address and browser they signed from, when they agreed to sign electronically, and the exact words they agreed to
  • every event, in order: sent, opened, agreed, signed, reminded, declined, and how each link was delivered

The same record is on the document page in HumaDocs and through the API. Entries are added as things happen and are not edited afterwards.

The finished document's own fingerprint cannot be printed inside it, because printing it would change it. It is shown on the document page and in the email each signer receives.

The digital seal

The finished document carries a digital signature from HumanikOS, the kind a PDF reader shows in its signatures panel. We call it the seal.

HumanikOS

Making the seal

  1. 1Take the SHA-256 fingerprint of every byte of the finished PDF, except the space kept for the seal.
  2. 2Sign that fingerprint with the private key. The result is the seal.
  3. 3Put the seal and the public certificate into the PDF.
Anyone with the file

Checking it, offline

  1. 1The reader takes the fingerprint of the same bytes, itself.
  2. 2It uses the public certificate in the PDF to read the fingerprint inside the seal.
  3. 3The two match: unchanged. They differ: the file was changed after it was sealed.
Only HumanikOS holds the private key, so only HumanikOS can make a seal. The public certificate travels inside the PDF, so anyone can check it without contacting us.

What it proves. The file has not changed since HumanikOS made it. Change one byte, and the reader reports that the document was altered. Nobody can make a new seal for a changed file, because only HumanikOS holds the private key.

Checking it needs nothing from us. The public certificate travels inside the PDF, so a reader checks the seal offline. See Checking a finished document.

What a reader says about the signer. Adobe Reader reports whether the document changed. It may also say the signer's identity is unknown, because our certificate is not on Adobe's list of trusted certificates. That message is about who issued the certificate, not about whether the document is intact.

The time in the seal comes from the HumanikOS server. No outside timestamp service is used.

SHA-256 fingerprints

A SHA-256 fingerprint is a 64 character value worked out from every byte of a file. The same file always gives the same fingerprint, and changing even one byte gives a completely different one. It cannot be turned back into the file.

HumaDocs records the fingerprint of the original PDF and of the finished document. The finished document is checked against its fingerprint every time it is downloaded, and anyone can check a copy against it on the verify page.

Copies and deletion

Signers get the finished document through a download link that works for 30 days, never as an email attachment, so the signed file does not sit unencrypted in every mailbox along the way. Members with signing:read can download it from the document page at any time.

Deleting a document removes its files, its values, its signatures and its activity. A copy of a finished document can still be checked on the verify page afterwards, which shows that the sender has since deleted it.

HumaDocs records what is commonly used to show that an electronic signature is valid: that the signer agreed to sign electronically, the exact words they agreed to, that they acted to sign each field, who they were sent to, when and from where they signed, and a seal that shows the document has not changed since. Whether a signature is enforceable depends on where you are and on the kind of document. Some documents must still be signed on paper. Ask your own legal adviser if you are not sure.

On this page