Secrets Security

Self Destruction

Every note submitted to the server will eventually be destroyed. All unread notes are destroyed after 30 days. All notes that have been viewed are destroyed immediately after viewing, and the browser will be redirected away from the note after 3 minutes. When the note is destroyed, it is overwritten with random data. This application does not make any assumptions about the underlying filesystem. Better safe than sorry, we say.

Single View

The note can be viewed only once. If someone attempts to view the note after the initial viewing, the note has been destroyed, so the client is redirected to a standard 404 error.

AES-256 Encrypted with HMAC-SHA512

Before storing the note on disk, every note is compressed with ZLIB, then encrypted with 256-bit AES in CTR mode using HMAC-SHA512 encryption. The AES-256 and HMAC-SHA512 keys are never stored on disk and are part of the URL.

Private Passphrase

The application uses a per note random key that is stored in the URL and is part of the encryption and decryption of the notes. The application supports using a custom passphrase to encrypt and decrypt the note. This custom passphrase is created using a password-based key derivation function (PBKDF2). The private passphrase is never stored to disk in the application.

Hashcash Protected

To prevent spammers from abusing the service, note submission is protected by the client solving a proof-of-work puzzle by minting a valid Hashcash token. As such, JavaScript is required to post a note. Hashcash tokens are stored on the server to prevent double-spending of the same token. Unfortunately, minting Hashcash tokens may take some additional time to submit the note with mobile browsers.

Anonymous Fingerprints

Part of Hashcash tokens is the ability to create a uniquely identifiable resource string. Typically, this is an email address. However, with this application, your browser fingerprint is used as the resource string. The browser fingerprint is a 32-bit MurmurHash number. By itself, it cannot identify who it belongs to.