How Shredkey protects you.

Short version: we store noise. Everything that could reveal a secret stays on your device or in the part of the link after the #, which browsers never send. The full reference implementation is public and readable in one sitting: /sk-crypto.js.

Sharing a secret

  1. Your browser draws a random 256-bit link key and a 128-bit salt.
  2. If you set a passphrase, it is stretched with PBKDF2-SHA-256 (310,000 iterations) and mixed with the link key.
  3. HKDF-SHA-256 derives two independent keys: one encrypts (AES-256-GCM), the other is an access proof. The server stores only the SHA-256 of that proof.
  4. To read, the recipient’s browser recomputes the proof. Without the full link (and the passphrase), the server refuses to hand over the ciphertext. After 5 wrong attempts, it is destroyed.
  5. At the last allowed view, the ciphertext is erased (SQLite secure_delete). Only the read time remains, 7 days, for the sender’s receipt.

Requesting a secret

The requester generates an ECDH P-256 key pair. The private key is wrapped with a random inbox key that lives only in the inbox link. The person who answers checks the public key fingerprint carried by their link (so we could not swap the key), derives a shared secret with an ephemeral key, and encrypts with AES-256-GCM. The answer can be opened once.

What our server sees

  • Ciphertext, salt, IV, proof hash, size, expiry, number of views.
  • The label of a request (written by the requester, in clear: do not put secrets in it).
  • Read receipts store a truncated IP (/24 or /48). No raw IP logs, no analytics on secret pages.

Remote MCP vs local

The remote MCP endpoint receives the secret from your agent to encrypt it, so for a few milliseconds it exists in our server memory (never written, never logged). For strict zero-knowledge, use the local CLI/MCP: encryption happens on your machine and our server only ever sees ciphertext.

Hardening

  • Zero runtime dependency: Node.js standard library only, no npm supply chain.
  • Strict Content-Security-Policy, no inline script, no third-party script on secret pages, HSTS, no-referrer, frame-ancestors none, no-store caching.
  • Hosted in the European Union (Hostinger, France/Lithuania). Report a vulnerability: security@shredkey.com (security.txt).

Limits, honestly

Anyone who gets the full link before your recipient can read the secret: you would see it in the status page, and your recipient would find it destroyed. Add a passphrase sent through another channel for sensitive secrets. A compromised device (yours or theirs) defeats any end-to-end encryption.