Encryption, engineering and the occasional opinion.
Notes from building an end-to-end encrypted document platform in Europe.
-
The RSA rumour, the lattice papers, and why we wrap keys twice
A weekend rumour said an AI lab had broken RSA-2048. It had not. The papers that followed concern the mathematics behind ML-KEM instead. What happened, and what it means for stored keys.
-
How much longer can you afford plaintext at the cloud provider?
Exploits arrive before patches and intruders move in minutes, while fixing still takes weeks. If response cannot win the race, the question is what a system holds when it is breached.
-
Quantum-safe data exchange: a post-quantum connection is not enough
Hybrid TLS protects bytes for the seconds they travel. The keys that unlock a shared document are stored for years. Why ML-KEM must replace RSA and elliptic curves where files are shared.
-
Professional secrecy and the cloud: lawyers, tax advisors, doctors
Section 203 of the German Criminal Code lets you use service providers only if secrets stay secret. What end-to-end encryption changes in that test, what it does not, and the paperwork that remains.
-
Your tenant, your bucket
Every customer gets a deployment of their own, and the encrypted files can live in a bucket you own. What that isolates, what a bucket operator sees, and how moving between buckets works.
-
The threat model, in one page
Who we defend your documents against, who we do not, and the residual risks we would rather state than hide. The whole model on one page, for a reviewer with ten minutes.
-
Your password never leaves your device: how login works
A password proves who you are and unlocks your keys. If one secret does both, the server sees the key to your files. How Sapherbox derives two keys from one password.
-
Sapherbox as a virtual data room
Due diligence, audits, financing rounds: a data room needs controlled access, a closing date and proof of who saw what. How to set one up in Sapherbox, and where a dedicated data room still wins.
-
Compute: sums, averages and medians over encrypted spreadsheets and forms, in your browser
A folder of spreadsheets or forms. Compute reads the files in your browser, aggregates or lists one value per file, and writes only the result back. The server never sees the data.
-
Who has access to what: the access review a supervisor asks for
Regulated companies must show who can open which data, prove it is reviewed, and export the evidence. What the tenant reports give you, and what they do not.
-
NIS2 and DORA: the audit log they expect
Neither law hands you a log format. Both say what a log must be able to do once an incident is on the clock. What NIS2 and DORA ask of an audit trail, and how Sapherbox's answers.
-
Make.com and Zapier: automations that never see your files
Integration platforms are glue, and glue usually gets to read everything. With Sapherbox it gets events, identifiers and masked names, never content.
-
Passkeys, MFA and single sign-on in an end-to-end encrypted product
Signing in has two jobs in Sapherbox: proving who you are, and opening your keys on your device. How passwords, a second factor, passkeys and Entra ID each handle both.
-
Why adding someone takes two steps
Inviting a person who has no account yet is an invitation first and a key handover later. The gap between the two is not bureaucracy: the key they need does not exist until they register.
-
Large files, encrypted in the browser: how a 20 GB upload works without trusting the server
Chunked encryption with constant memory, S3 multipart behind the backend, per-chunk integrity, and a download path that streams straight to disk. The engineering behind big files in Sapherbox.
-
Post-quantum security: who has already written the requirements, and what they ask of you
NIST, the EU, BSI, ANSSI, the UK NCSC and the NSA have all published post-quantum timelines. What they agree on, where the dates fall, and how to read them for an encrypted document platform.
-
Workflows on encrypted data: what automation can do when the server is blind
Alerts, retention, webhooks and scheduled computation on files the server cannot read. What a workflow sees, what runs where, and the two actions that need your device.
-
An audit trail that cannot be quietly edited
An audit log is only evidence if nobody can rewrite it. Sapherbox links every entry to the one before with an HMAC chain, and one button recomputes it all. Here is the design, and its limits.
-
Deletion and recovery: what comes back, and what is gone for good
Deleting a file in an encrypted system has two sides: the person who wants it back and the organisation that needs it gone. How the recycle bin, versions, scheduled deletion and backups fit together.
-
Desktop sync that stays encrypted
Encryption that only works in a browser gets bypassed the moment someone needs a file in Explorer or Finder. The Sapherbox sync client brings the same keys and the same rules to a normal folder.
-
How sharing hands over a key on your device
Sharing a folder in an end-to-end encrypted system means handing someone a key without the server ever holding it. Here is how Sapherbox seals, signs and pins that handover.
-
Who may do what: roles and permission levels
Sapherbox answers the permissions question three times over: what you may do with a folder, for a group, and to the tenant. Here is each layer, and why they are kept apart.
-
Service accounts with narrow scopes
Integrations should not log in as a person. Sapherbox gives them their own account, their own keys and an API key that can do exactly what you listed. Here is how that fits end-to-end encryption.
-
Why we encrypt file and folder names, not just contents
A file name is often the most sensitive thing about a file. Most encrypted drives leave names in the clear. Sapherbox does not, and the folder-key design is what makes that cheap enough to do.
-
Safe uploads without a server that reads them: content disarm and reconstruction
An end-to-end encrypted platform cannot scan files on the server. Sapherbox removes active content before encryption instead. What that covers, and where antivirus still belongs.
-
Links for people without an account
Sometimes the other side has no account and never will. Sapherbox's download and upload links keep end-to-end encryption intact anyway: the key travels in the URL, and the server never sees it.
-
Share with the group, not the person
Granting folder access one person at a time looks precise and ends up neither productive nor secure. Groups make membership a single fact to keep current, and the cryptography follows.
-
The right to erasure, without a ticket
GDPR gives everyone the right to have their data deleted. For guests on a Sapherbox tenant that right is a button on their own profile, not a ticket at someone else's helpdesk.
-
What our servers can and cannot see
End-to-end encryption hides content, not everything. Here is the complete list of what a Sapherbox server holds in plaintext, why each item is there, and what it cannot read.
-
Whoever shares is responsible
In Sapherbox the person who shares a folder answers for who can open it, inside or outside the organisation. That only works if they can see their own sharing. Here is what they see.
-
"Zero knowledge" is a design, not a policy
Many providers promise not to look at your data. Far fewer are built so that they cannot. The difference is structural, and it shows up in the details a vendor page leaves out.
-
Automatic classification, and why GDPR compliance depends on it
You cannot protect, report on or delete personal data you cannot find. How Sapherbox classifies documents on your device before encryption, and what that gives you under the GDPR.
-
Hybrid post-quantum key wrapping, explained for non-cryptographers
Every key that protects a Sapherbox file is locked twice, with a classical algorithm and a post-quantum one. Here is what that means, why both, and what it does not cover.
-
AI that never sees your documents: summaries, translations and questions on your own device
Sapherbox summarises, translates and answers questions about notes and documents, Word, Excel and PowerPoint included. The model runs inside your browser, so nothing leaves your device.
-
Password reset without a provider backdoor
If nobody but you holds your keys, nobody can reset them for you. Here is how Sapherbox handles forgotten passwords and departed employees without keeping a key of its own.
-
Revocation means changing the locks
Removing someone from a shared folder is easy to show in a user interface and hard to make true. Here is what Sapherbox does when access is taken away, and what no system can take back.
-
Searching encrypted documents: blind indexing
Full-text search over files the server cannot read sounds like a contradiction. Here is how Sapherbox does it, what the server learns from it, and where it stops.