Skip to content
EasyToPaste

One-Time Secret Alternative: Where the Encryption Key Actually Lives

One-Time Secret is open source and self-hostable, and its server holds the key that decrypts your secret. That difference decides which tool you should use.

EasyToPaste Team Published 5 min read
  • comparison
  • alternatives
  • zero-knowledge
  • encryption

Short answer: One-Time Secret decrypts on the server; we never receive the key. Both tools do the same visible thing — paste a secret, get a link that works once — and they make opposite architectural choices underneath. Which one you should use follows from that, not from the feature list.

Our side in one sentence: the key is generated on your device, the ciphertext is uploaded, and the key travels only in the URL fragment, the part after the # that browsers do not include in requests. How It Works has the detail.

What One-Time Secret gets right, and it is a lot

  • It is open source. MIT licence, code on a public repository. You can read what it does instead of believing a page that says what it does.
  • It is self-hostable. Docker and Docker Compose images, with a self-hosting guide. On your own hardware there is no third party in the path at all.
  • It has been doing this for years and has an optional passphrase, which genuinely raises the bar for anyone holding a stolen database.

If you run your own instance, that combination is hard to beat and we will not pretend otherwise. The comparison below is about the hosted case.

The architectural difference

One-Time Secret stores the secret as an encrypted field and decrypts it on the server when the link is opened: its secret model declares encrypted_field :ciphertext and reveals that field in Ruby, in the application. Its README tells operators to back up the SECRET key because losing it “makes existing secrets unreadable” — which is only possible if that server-side key is what decrypts the record. (Checked against the public repository on 17 November 2026.)

So on a hosted instance, a secret with no passphrase can be read by whoever holds both the stored data and the server key. That is not an accusation about anyone’s conduct; it is a statement about what the system is capable of. A passphrase changes it: the reader must supply something the record does not contain.

EasyToPaste removes the capability rather than the intent. The browser generates a random key, encrypts with AES-256-GCM via the Web Crypto API, and uploads only ciphertext. The key is in the fragment, so it is not in any request, not in any access log, and not in any backup of ours. We can see that a secret exists, how big it is, when it was created, and whether it is still live. We cannot see what it says. We also do not keep a read receipt: when a one-time secret is read, or when any secret expires, the record is deleted rather than marked, so the sender learns that it is gone and not which of the two ended it.

The honest cost of our design: the link is the secret. Whoever reads the link can open it once. That is why a one-time read, a short expiry and revocation matter, and why a high-value secret should have part of it delivered by a different channel. The full comparison of the two models is in zero-knowledge vs end-to-end encryption.

Side by side

One-Time SecretEasyToPaste
Open sourceyes, MITno
Where encryption happensserveryour browser
Does the server receive the keyyes — your own server if self-hostedno, it is in the URL fragment
Can the host decrypt the stored copyyes, without a passphrase; self-hosted, the host is youno
Optional passphraseyesnot yet — Code + Passphrase is unshipped
One-time readyesyes
Expiry you chooseyesyes, 1 day default, 30 days max
Revoke before it is read—yes, when signed in
File attachmentsyesyes, encrypted before upload
Ops work for younone hosted; uptime, upgrades and key backup if self-hostednone
Third-party scripts while you send or read a secretnot checked by usnone, gated on every deploy

Which to choose

Self-host One-Time Secret if you have a place to run it and a person to keep it patched, and you would rather own the whole path than evaluate anyone’s claims. That is the strongest answer available and it costs operational time.

Use EasyToPaste if you want nobody to be able to read the secret, including us, without taking on a service to run. The key never arrives here, so there is no key for us to protect, lose or be compelled to hand over.

Use a hosted One-Time Secret instance with a passphrase if you are already there and the passphrase can travel by a different channel. It is a real improvement over sending the credential in a chat message, which is the thing most of this category is actually competing with — and that is worth reading about on its own.

The other comparisons

Sources: the One-Time Secret public repository, read on 17 November 2026 — README and lib/onetime/models/secret.rb.

Common questions

What is the difference between One-Time Secret and EasyToPaste?
Where the encryption key lives. One-Time Secret stores the secret encrypted and decrypts it on the server when the link is opened; its own README warns that losing the server's SECRET key makes existing secrets unreadable, which is only true if the server holds the key material. EasyToPaste generates the key in your browser and keeps it in the URL fragment, so the server receives ciphertext and never the key.
Can the operator of One-Time Secret read my secret?
On a self-hosted instance you are the operator, so the question answers itself. On a hosted instance, the server performs the decryption, so whoever holds the server key and the stored data has what is needed to read a secret that has no passphrase set. Adding a passphrase, which the service supports, means the reader must supply something the stored record does not contain.
Should I self-host One-Time Secret instead?
If you have somewhere to run it and someone to patch it, yes, that is a genuinely good answer: it is MIT-licensed, it has Docker images, and running it yourself removes the third party entirely. What you take on is uptime, upgrades and the key backup its README warns about. If nobody on the team wants that job, a tool whose server cannot read the secret is the next best thing.
Is a passphrase the same as client-side encryption?
No. A passphrase adds something an attacker holding the database still has to guess, which is a real improvement. Client-side encryption changes what the database contains at all: the key never arrives, so there is nothing on the server to combine with a stolen copy.
Does EasyToPaste support file attachments like One-Time Secret?
Yes. Files are encrypted in the browser before upload, so the server stores ciphertext and can see only the size, type and timestamps. Limits are 20 MB per file signed in on the free plan, 1 MB without an account, and 100 MB on Plus.

All articles