Encrypted in their browser. We never see your dropzone password.
They need no account
Just the request link, which works once.
One submission, collected once
Your password unlocks it once, then the keys are wiped.
The flow
Web app or CLI, file or text: it is the same protocol and the same crypto. Pick a view and the steps change to match.
Your browserYour terminalbeginfile_id + HBuzzdrop serverRecipient’s browser
Step 1 Upload, phase 1
Server sees: That an upload is starting
Never sees: The file or note, and the password
Who acts
Your browser, then the server.Your terminal (buzz), then the server.
What crosses the wire
A request to POST /upload/begin, signed in by your login session, with a CSRF token.A request to POST /upload/begin, signed in by your API token in Authorization: Bearer. The server answers with a fresh file_id and a random 32-byte key share H.
More detail
What the server sees
That your account is starting an upload. Nothing about the file or note yet.
Why
The file key needs H, so H has to exist before anything is encrypted. The server keeps it: this is the half of the key it will hand out exactly once. An upload begun and never finished is swept once it is over an hour old, at the next upload or restart.
Your browserYour terminalencrypting hereBuzzdrop serverRecipient’s browser
Step 2 Encrypt where you are
Server sees: Nothing
Never sees: The password, Kp and the content
Who acts
Your browser, in the page’s JavaScript, alone.Your terminal, in the buzz CLI, alone. Nothing crosses the wire.
What happens
You type a password, or have the page generate a 6-word passphrase.buzz generates a 6-word passphrase unless you pass one with -p, and zips a folder (or, with -z, a file) first. The password goes through PBKDF2 with 600,000 iterations; from the result come two keys, Kp for encrypting and a verifier V for proving the password later. The file key is HKDF(Kp ‖ H), so it needs both the password and the server’s share. A random receipt goes in front of the file, and AES-GCM encrypts the lot.A random receipt goes in front of the note, and AES-GCM encrypts the lot.
More detail
Where the code comes from
Our server sends it with the page. Subresource Integrity protects it in transit and in caches, not against a compromised server.You installed buzz once from GitHub Releases, so a compromised server can’t swap it during an upload.
What the server sees
Nothing. The password and Kp never leave your device.
Why
Ciphertext and H without the password can’t be decrypted, and neither can ciphertext and the password without H. The receipt is how the recipient will later prove they decrypted it.
Your browserYour terminalciphertext + Vnote_text + VlinkBuzzdrop serverRecipient’s browser
Step 3 Upload, phase 2
Server sees:Ciphertext, V, and the file’s extensionCiphertext, V
Never sees: The password, Kp and the content
Who acts
Your browser, then the server.Your terminal, then the server.
What crosses the wire
POST /upload with the ciphertext as a multipart file under a neutral drop.<ext> name, plus the file_id, V and SHA-256(receipt).POST /upload with the ciphertext, base64-encoded, in a note_text field, plus the file_id, V and SHA-256(receipt).It is signed in by your session and CSRF token, and only the account that ran phase 1 may finish it.It is signed in by your API token (Authorization: Bearer), and only the account that ran phase 1 may finish it.
More detail
What the server sees
The ciphertext and its approximate size, V, the receipt’s hash, the expiry you chose, an optional memo to yourself, and the file’s declared extension. Its name travels inside the ciphertext.The ciphertext and its approximate size, V, the receipt’s hash, the expiry you chose, an optional memo to yourself, and the label “Secret Note”. It stores the ciphertext and binds V to H.
Why
V lets the server check the password later without ever learning it, and it can’t be turned back into Kp.
Your browserYour terminalBuzzdrop serverRecipient’s browserlinkpassword, another way
Step 4 Share
Server sees: Nothing
Never sees: The password, and who you send the link to
Who acts
You.
What crosses the wire
Nothing to us. You send the link one way, and ideally the password another: a different app, a call.
More detail
What the server sees
Nothing. The link alone opens nothing: it names the drop, and the drop needs the password.
The one-click link
The success page also offers a link with the password after the #.buzz also offers a link with the password after the #. Browsers never send that part to a server, so we still don’t see the password. But anyone who has that link can open the drop, and chat history, link previews and exports keep a copy. It’s convenient; sending link and password separately is stronger.
Your browserYour terminalBuzzdrop serverVH, onceRecipient’s browser
Step 5 The recipient proves the password
Server sees:V and an IP address
Never sees: The password
Who acts
The recipient’s browser, then the server. The recipient needs no account, only the link and the password.
What crosses the wire
The browser derives V from the typed password and posts it to POST /release. Never the password.
More detail
What the server sees
V, and the recipient’s IP address, which it logs with a successful or wrong attempt. It compares V with the stored one in a single database transaction.
On a match
The server hands over H, once, and wipes H and V from its database. It keeps only a fingerprint of a one-time download ticket, which the browser works out from H.
On a wrong password
One wrong password locks the drop and destroys H, so nobody can open it after that, the recipient included. Self-hosted instances can set their own limit.
Why
This is what makes one time real. Without H the ciphertext is dead bytes, and H comes out exactly once, after the password has been proven, in a transaction only one requester can win.
Your browserYour terminalBuzzdrop serverticketciphertextRecipient’s browser
Step 6 Download once
Server sees: The ticket and an IP address
Never sees: The content, and who the recipient is
Who acts
The recipient’s browser, then the server.
What crosses the wire
GET /download with the ticket. The server streams the ciphertext back.
More detail
What the server sees
The ticket, and the recipient’s IP address, which it stores with the time of the download.
Then
The ticket is used up before the first byte goes out, and the ciphertext is deleted from storage once the stream ends, even if it broke off. A drop released but not downloaded within 10 minutes expires the same way.
Why
Only the browser that won the release can claim the ciphertext, and there is no second copy to come back for.
Your browserYour terminalBuzzdrop serverreceiptRecipient’s browsersaving fileshowing note
Step 7 Decrypt in the browser
Server sees: That decryption worked
Never sees: The content and the file key
Who acts
The recipient’s browser, then the server.
What happens
The browser builds the file key from Kp (from the password) and H, decrypts, and takes out the receipt. The file is saved as a download.The note is shown on the page, with a Copy button.
What crosses the wire
The receipt, to POST /report_decryption, so your list shows the drop as opened and, if you asked for it, you get an email that names the drop by your memo, if you set one.
More detail
What the server sees
The receipt, which only matches its stored hash if the drop was really decrypted. It learns that decryption worked, never the content.
Your browserYour terminalBuzzdrop serverRecipient’s browser
Step 8 Expiry and manual delete
Server sees:H destroyed, ciphertext deleted
Never sees: The content, then or ever
Who acts
The server, or you.
What happens
When a drop’s expiry passes, or you delete it from your list, H is destroyed and the ciphertext is deleted from storage. Expiry is checked whenever the link is opened and on a timer (every five minutes by default). The database overwrites what it deletes, which reduces, but doesn’t rule out, traces of H left in its file.
More detail
Why
H never outlives the drop. Even if deleting the ciphertext from storage failed, without H it can’t be decrypted.
Your browserYour terminalsalt + wS + V + SVrequest linkBuzzdrop serverResponder’s browser
Step 1 Create the dropzone and get a request link
Server sees: The salt, wS, V and SV
Never sees:s and the password
Who acts
Your browser, then the server.Your terminal (buzz), then the server.
What happens
Your browser draws a random dropzone secret s and derives two keys from the dropzone password: Kw for wrapping and a verifier V for proving the password later. It wraps s into wS and derives the submit verifier SV — proof that a submitter holds the link.buzz draws a random dropzone secret s and derives two keys from the dropzone password, typed at its prompt or passed with -p: Kw for wrapping and a verifier V for proving the password later. It wraps s into wS and derives the submit verifier SV — proof that a submitter holds the link.
What crosses the wire
POST /api/dropzones with the salt, wS, V and SV, signed in by your session or API token. The server answers with a dropzone_id.
More detail
What the server sees
The salt, wS, V, SV, an optional expiry, an optional memo and an optional notification address. Never s or the password.
Then
Your browser builds the request link /dropzone/<id>#s=…. s sits after the #, so it never reaches the server. One zone carries exactly one link; a dead link means a new zone.buzz prints the request link /dropzone/<id>#s=…. s sits after the #, so it never reaches the server. One zone carries exactly one link; a dead link means a new zone.
Your browserYour terminalBuzzdrop serverct + wK + svsubmittedResponder’s browser
Step 2 The responder submits, once
Server sees: Ciphertext, wK and sv
Never sees:s, K and the content
Who acts
The responder’s browser, then the server. The responder needs no account — only the request link.
What happens
The browser takes s from the link’s fragment, draws a fresh random key K, and encrypts the file or note. It wraps K under s into wK, and posts the ciphertext, wK, SHA-256(receipt) and its own SV to POST /dropzone/<id>/submit.
More detail
What the server sees
The ciphertext and its approximate size, wK, the receipt’s hash, sv and the responder’s IP address. It checks sv before consuming the link, in one transaction — so a bare dropzone_id can’t burn the link and racing submissions get exactly one winner.
Never sees
s, K and the content. The filename travels inside the ciphertext here too.
Then
The request link is consumed; a second submission is refused. If you asked for it, an email says a submission landed.
Your browserYour terminalVwSBuzzdrop serverResponder’s browser
Step 3 Prove the dropzone password
Server sees:V and an IP address
Never sees: The password
Who acts
Your browser, signed in, then the server.Your terminal (buzz), then the server.
What crosses the wire
The browser derives V from the typed dropzone password and posts it to POST /dropzones/<id>/release. Never the password.buzz derives V from the dropzone password and posts it to POST /dropzones/<id>/release. Never the password.
More detail
What the server sees
V, and your IP address, which it logs with a successful or wrong attempt. It compares V with the stored one in a single database transaction.
On a match
The server hands over wS, once, and wipes wS, V and SV from its database.
On a wrong password
After 3 wrong passwords the zone locks: the server refuses every later attempt but keeps the secrets. A locked zone strands the submission, as the responder’s link is already spent. Self-hosted instances can set their own limit.
Why
wS is the only way back to s, and s unwraps everything else. Password first, ciphertext second, exactly once.
Your browserYour terminalticketciphertextreceiptBuzzdrop serverResponder’s browser
Step 4 Collect once
Server sees: That it was collected, and an IP address
Never sees:s, K and the content
Who acts
Your browser, then the server.Your terminal, then the server.
What crosses the wire
GET /dropzones/<id>/submission, signed in as the zone’s owner, with a one-time collect ticket worked out from wS. The server streams the ciphertext back, once.
More detail
What the server sees
The collection, which it stores with the time and your IP address. Never s, K or the content.
Then
The ciphertext is deleted from storage once the stream ends, even if it broke off. A released zone nobody collects within 10 minutes expires the same way. Your browser unwraps s, unwraps K, decrypts and reports the receipt, so your list shows whether decryption worked.buzz unwraps s, unwraps K, decrypts and reports the receipt, so your list shows whether decryption worked.
Your browserYour terminalBuzzdrop serverResponder’s browser
Step 5 Expiry and delete
Server sees:wS, V and SV wiped, ciphertext deleted
Never sees: The content, then or ever
Who acts
The server, or you.
What happens
When a zone’s expiry passes before anything is submitted, or you delete the zone, wS, V and SV are wiped and any submission’s ciphertext is deleted from storage. A submission that landed in time outlives the deadline: expiry bounds submitting, not collecting. The zone’s record stays in your list until you delete it.
More detail
Why
Without wS the wrapped secret is unreachable, and without the ciphertext there is nothing to unwrap. A dropzone is spent after its first collection: one link, one submission, one collection.
8 steps
The details
What the server sees
Everything that reaches us, set against what never does.
Sees
Never sees
Content
Ciphertext and its approximate size
The plaintext
Password
V, a one-way fingerprint of it
The password, Kp, the file key
Name
The file’s extension and the label “File”The label “Secret Note”
The original filename, which travels inside the ciphertextAnything in the note
People
The sender’s account; the recipient’s IP address
Who the recipient is
Content
Ciphertext and its approximate size
The plaintext
Password
V, a one-way fingerprint of it
The dropzone password and Kw
Keys
Only wrapped or one-way: wS, wK and SV
The dropzone secret s and the key K
Name
Only that it’s a fileOnly that it’s a note
The filename, which travels inside the ciphertextAnything in the note
People
Your account; the responder’s IP address
Who the responder is
What we keep, and for how long
The ciphertext
Until opened
Until it is downloaded, it expires, or the sender deletes it. Then it is deleted from storage.
H and V
Until released
Until the release succeeds, the drop locks, it expires, or it is deleted, whichever comes first.
The drop’s record
Until you delete it
A neutral label (“File” or “Secret Note”), the sender’s account, when it was created, its expiry, when it was opened and from which IP address, whether decryption worked, the receipt’s hash, and the sender’s optional memo and notification address; also the language it was sent in, which the notification is written in. Beside it, what is left of the key share once H and V are gone: the password’s salt, the count of wrong attempts and when it was released. All of it stays in the sender’s list until the sender deletes it; nothing purges it automatically.
The submission’s ciphertext
Until collected
Until you collect it or delete the zone. Then it is deleted from storage. A submission released but not collected within 10 minutes is deleted the same way.
wS, V and SV
Until released
Until the release succeeds, the zone expires before anything is submitted, or you delete it, whichever comes first. A locked zone keeps them, refusing every attempt, until you delete it.
The dropzone’s record
Until you delete it
The requester’s account, when it was created, its expiry, when the request link was consumed, when it was released and collected and from which IP address, the count of wrong attempts, the password’s salt, and the optional memo, notification address and language. The submission’s record keeps its kind, wK, the receipt’s hash, the responder’s IP address and whether decryption worked. wS, V and SV are wiped as each step lands. All of it stays in the requester’s list until they delete the zone.
Server logs
Operator’s choice
Every successful or wrong password attempt is logged with the IP address it came from. How long logs are kept is up to whoever runs the server.
Limits
What Buzzdrop does not protect against. No design can fix these.
The recipient can keep a copy. Once a file or note is decrypted, it can be saved, copied or photographed. One time means the key is handed out once, not that the content can’t be kept.
Whoever runs the server controls the code. The web app’s encryption code comes from the server, and Subresource Integrity can’t help against the server itself: someone in control of it could serve code that leaks the password, or log V and H. The CLI’s code comes from GitHub Releases instead, but the recipient’s side always runs in a browser.
Weak passwords. Someone who steals the database while a drop is waiting to be opened can try passwords against its V offline; the stored files aren’t needed for that. 600,000 PBKDF2 iterations make every guess slow; a long passphrase makes the search hopeless, a short password doesn’t.
A one-click link is the key. Whoever has it can open the drop.
A wrong guess can destroy a drop. Anyone with the link can spend the attempt and lock it, and then the real recipient can’t open it either.
A request link is a pass, not an identity. Whoever holds it can submit, and nothing proves who they are. Someone who got the link could submit something false, such as a swapped bank account number, and it would arrive encrypted and once, like the real thing. Check what matters another way.
A leaked link can be used first. The first submission spends the link. A stranger who gets there first can’t read anything, but the real responder finds the link dead, and you need a new zone.
A forgotten password strands the submission. You get 3 tries at the dropzone password. After that, the submission can’t be collected, and the responder’s link is already spent: they have to submit again to a new zone.
One password guards the whole zone. Someone who steals the database while a submission waits to be collected can try passwords against the zone’s V offline. 600,000 PBKDF2 iterations make every guess slow; a long passphrase makes the search hopeless, a short password doesn’t.
The full technical account
The keys, requests and server routes behind every step are written up in docs/how-it-works.md, in the Buzzdrop repository.