Werk24 Moves End-to-End Encryption to Post-Quantum Cryptography
TL;DR
- End-to-end encryption at Werk24 now uses a post-quantum hybrid key exchange: X25519 combined with ML-KEM-768, the NIST standard FIPS 203. It is the same combination modern browsers and TLS 1.3 use.
- It is available today. The Werk24 Python client from version 2.11.0 uses it automatically.
- We will retire the older RSA and X25519-only key exchanges at the end of February 2027.
- This only matters if you use end-to-end encryption. Every connection to Werk24 is already encrypted with TLS, and every drawing and result is encrypted at rest. If you do not use end-to-end encryption, nothing changes for you.
Why change something that works?
Technical drawings are some of the most sensitive files a manufacturer has. They describe products years before they reach the market, and many of them stay confidential for a decade or more.
Today's public-key cryptography (RSA and elliptic curves such as X25519) is secure against every computer that exists. It is not secure against a large enough quantum computer. Nobody can say exactly when such a machine will exist, but the risk is already real today, because of a strategy called "harvest now, decrypt later": an attacker who records encrypted data today can keep it and decrypt it once the quantum computer arrives.
For a file that has to stay secret for ten years, the question is not whether quantum computers exist today. It is whether they could exist within those ten years. That is why we are switching now, not later.
Three layers of protection
It helps to separate the three ways your data is protected at Werk24, because only one of them changes.
1. In transit: TLS. Every connection between your systems and Werk24 is encrypted with TLS. This applies to every customer, always.
2. At rest: AWS KMS. Every drawing and every result we store is encrypted with AES-256 keys managed in AWS Key Management Service. On our higher service levels, each account gets its own dedicated key. AES-256 is a symmetric cipher, and quantum computers do not break it in practice.
3. End to end: your option, and the layer we are upgrading. If you turn on end-to-end encryption, the client encrypts the drawing itself before it leaves your network, so that only the reading service can open it. Results such as redacted PDFs and exports are encrypted to your public key, so that only you can open them. Nobody in between, including the storage layer, sees the content.
The file content in this third layer is already protected with AES-256-GCM. What changes is how the AES key is agreed between the two sides. Until now that was RSA or X25519, both of which a quantum computer could break. From today it is a hybrid that also holds against one.
How the hybrid works
We combine two key exchanges and use both at the same time:
- X25519, the well-proven elliptic-curve exchange, and
- ML-KEM-768, the lattice-based Module-Lattice Key Encapsulation Mechanism that NIST standardized in 2024 as FIPS 203.
Both produce a secret. We feed both secrets together into HKDF-SHA256 to derive the AES-256 key. That key stays secret as long as either of the two methods holds. If a quantum computer breaks X25519, ML-KEM still protects you. If someone ever finds a flaw in the newer ML-KEM, X25519 still protects you. This is the same "belt and braces" approach that TLS 1.3 uses in all major browsers today (as X25519MLKEM768).
It is also fast. Creating a hybrid key takes about a tenth of a millisecond, several hundred times faster than creating an RSA-2048 key. Each encrypted file gets about one kilobyte larger, which is negligible next to a technical drawing.
What you need to do
If you do not use end-to-end encryption: nothing. Your data is protected in transit by TLS and at rest by KMS as before.
If you use end-to-end encryption with the Werk24 Python client:
Update to werk24 2.11.0 or later:
pip install --upgrade werk24.Make sure your
cryptographypackage supports ML-KEM. The standard wheels from PyPI do. Some Linux distribution packages built against an older system OpenSSL (before 3.5) do not. You can check with:from werk24.utils.crypt import mlkem_supported print(mlkem_supported()) # must print TrueIf you have results encrypted to your own key, create a new key pair and use its public key from now on.
generate_new_key_paircreates a hybrid pair by default:from werk24.utils.crypt import generate_new_key_pair private_key_pem, public_key_pem = generate_new_key_pair(b"your passphrase")Keep your old private key: you still need it to open results you received in the past.
If you call the API without our client (for example over HTTP from another language), see the updated end-to-end encryption documentation for the key format.
Timeline
| Date | What happens |
|---|---|
| Today, 4 December 2026 | The post-quantum hybrid is available and preferred whenever your client offers it. RSA and X25519 keep working. |
| Until 28 February 2027 | Transition period. The client logs a warning whenever it still uses RSA or X25519. |
| 1 March 2027 | End-to-end requests that do not offer the hybrid, and results keys that are not hybrid keys, are refused with a clear error message. |
Reads without end-to-end encryption are not affected at any point.
Questions?
If you are not sure whether you use end-to-end encryption, or you need help with the switch, contact us at info@werk24.io. We are happy to help you check your setup.