Security

Confidential mode: document texts the server cannot read

Item descriptions and notes are encrypted in your browser. The server gets only an encrypted string and has no key for it. You can try it and check it yourself here.

Try it

No sign-in needed. The page encrypts your sentence with the same code as the app and really sends it to the server. You see side by side what you typed, what was sent and what the server got.

The key is made for this page only and is never sent. It is gone when you reload.

Check it yourself in your browser tools

  1. Press F12 (Cmd+Option+I on a Mac) and open the Network tab.
  2. Click Encrypt and send again.
  3. Click the "echo" request in the list and open Payload and Response.
  4. You will see only an enc:v1:… string, not your sentence. Ctrl+F in the Network tab searches every request: try to find a word from your sentence.

How it works

  1. 1

    The key is made on your side

    When the mode is switched on, the browser creates a random AES-256 key. The server gets only copies of it locked with your password, passkey or recovery code.

  2. 2

    Encrypted before it is sent

    An item description or a note is encrypted before it leaves the browser. The server stores an enc:v1:… string and does nothing with it.

  3. 3

    Decrypted only on your side

    After unlocking, the browser holds the key so that the page can use it but cannot read its contents.

What the server does not see

  • Item descriptions
  • Text above and below the items
  • Internal notes
  • The key or the password that unlocks it

What the server sees and why

  • Amounts and VAT – for calculations, tax returns and matching payments
  • Issue and due dates – for reminders
  • Document number and payment reference
  • The customer and their e-mail – so the document can be sent

The browser controls where the page may send data

The app, document links and this page are served with a Content-Security-Policy header that contains connect-src 'self'. The browser itself then refuses any request from such a page to another server, even if a script tried. Decrypted text cannot leave that way.

Anyone can read the header: in your browser tools (F12, Network tab) click the first request, the page itself, and find Content-Security-Policy in the response headers.

Where the limits are

  • Our server delivers the app code. If it were compromised, it could deliver different code. Publishing the code and the hashes makes such a change detectable, but does not prevent it by itself.
  • When you e-mail an encrypted document with its PDF, its texts pass through the server once, because that is where e-mail is sent from. The app tells you first, and the server does not store or log them. If you send only the link, the server never gets the texts.
  • The mode does not encrypt amounts, dates, numbers or customers, see above.
  • For encrypted documents the server makes no ISDOC or other machine-readable formats.
  • The connect-src rule applies to a page loaded directly. If you move into the app from the public site without a reload, the rule of the page you came from applies until you reload.
  • Anyone with access to your unlocked browser can see the texts. The mode protects against the server, not against someone at your computer.
  • If you forget both the password and the recovery code and have no passkey, nobody can recover the texts, not even us.

Code check

Every build writes the SHA-256 hashes of the encryption code into a public file. Your browser can recompute them right here.

Code check

Every build of the app records the SHA-256 hashes of the encryption code and of the files that contain it.

  • We will publish the encryption code (one file with no dependencies) in its own GitHub repository, so the hashes can be compared with your own build.
  • An independent review of the code is planned.