Repository navigation
Releases
Releases · EncodeDotHost/vaporised
v2.0.0
Secrets are now encrypted in the browser. The server never has the key and cannot read any secret.
Breaking changes
- Database schema. Import
sql/schema.sqlagain. It drops and recreates thesecretstable.
Existing secrets are deleted, because the new code cannot read rows that the old server key encrypted. - Config.
master_keyis no longer used. Remove it from the config file. - JavaScript is required to read a secret, not only to create one.
Changes
- The browser makes a random 256-bit key, derives an AES-256-GCM key with HKDF-SHA256, and sends only ciphertext.
The key is the part of the share link after#, which browsers never send to a server. - A passphrase is mixed into the browser key and also stored as an Argon2id hash on the server,
so the incorrect-attempt limit still deletes the secret. - Create and reveal are JSON endpoints (
POST /secrets,POST /s/{token}) driven by the page script. - Requests for a host name other than
base_urlredirect to it, and public pages carry a canonical link. - The create form defaults to 3 views.
- A corner ribbon and a footer link point to the source code.
- README rewritten for self-hosters, with a section on what the design does not protect against.
- New
tests/crypto.jsruns the browser encryption code in Node.