client-side encrypted file transfer

Client-side encrypted file transfer

Client-side encryption means a file is sealed on the sender’s device and opened only on the recipient’s. This page walks through each step of a ZipPigeon transfer, for people who need to review the design before they trust it.

Step 1: the sender’s device makes the key

When you start a transfer, your browser or the CLI generates a random 256-bit payload key. The key is created on your device and is not sent to ZipPigeon in readable form.

Step 2: chunks are sealed before upload

The file is split into parts, and each part is encrypted with XChaCha20-Poly1305. It is an authenticated cipher, so a changed or corrupted part fails to decrypt instead of producing a silently altered file. The default encrypted part size is 16 MiB.

Step 3: the manifest is encrypted and signed

File names, the transfer title, and notes are written to a manifest that is encrypted on the client. In the v3 format, records are signed with both Ed25519 and ML-DSA-65, and both signatures must verify.

Step 4: the key is wrapped for the recipient

For an account recipient the payload key is sealed in an envelope to that recipient’s public key. Migrated v3 recipients use X-Wing HPKE, which combines X25519 with ML-KEM-768. Older formats stay readable during migration, and a v3-capable recipient is not silently downgraded. For a secure link, the key travels in the link fragment instead.

Step 5: the recipient decrypts locally

The recipient’s browser downloads the encrypted parts, recovers the key, and decrypts on the device. ZipPigeon serves ciphertext and records that a download happened. It does not see the opened file.

What a reviewer should still ask

Client-side encryption moves trust to the code that runs in the browser. ZipPigeon serves that code, so the model depends on it arriving intact; the production Content Security Policy narrows where scripts and connections can come from. Operational metadata is still processed. ZipPigeon does not claim an independent audit.

Frequently asked questions

Is client-side encryption the same as end-to-end encryption?

They overlap. Client-side encryption says where encryption happens: on the sender’s device. End-to-end adds that only the intended recipient can decrypt. ZipPigeon encrypts on the client and wraps the key for the recipient or the link holder.

Does the CLI encrypt the same way as the browser?

Yes. With a configured Pro service profile, the CLI encrypts files locally before upload and decrypts locally after download.

What does the server store?

Encrypted file parts, an encrypted manifest, recipient key envelopes, and the operational metadata needed for delivery, such as accounts, recipients, sizes, timestamps, and status.

Send the file. Keep control of the link.

Use ZipPigeon when a file needs to reach the right person without becoming another attachment or shared folder to clean up later.

Open signed-in sender