Home
/
News
/
Autocrypt v2 - Post-Quantum and Reliable Deletion
Autocrypt v2 - Post-Quantum and Reliable Deletion
Summary
Autocrypt v2 introduces post-quantum encryption and reliable deletion for decentralized messaging, using hybrid ML-KEM-768 and X25519 keys with automatic key rotation and destruction.
<p><a href="https://lobste.rs/s/esy9xh/autocrypt_v2_post_quantum_reliable">Comments</a></p>
0
Like
0
Add to favorites
Original Article
Export to Word
Export to PDF
View Cached Full Text
Cached at:
06/29/26, 10:27 AM
# Autocrypt v2 - Post-Quantum and Reliable Deletion
Source: [https://autocrypt2.org/](https://autocrypt2.org/)
**Post\-Quantum Cryptography & Reliable Deletion**

## What is Autocrypt v2?
π Modern OpenPGP v6 certificate for messaging
π‘οΈ Post\-quantum resistant encryption
ποΈ Reliable deletion \(βforward secrecyβ\)
π Designed for decentralized delay\-tolerant messaging systems
## Protection against βdecrypt laterβ attacks
π‘**Today:**Adversaries collect in\-transit encrypted messages
β months to years
ππ±**Later:**Obtain secret keys β decrypt deleted/collected messages
β years to decades
π₯οΈβοΈ**Much later:**Quantum computers β decrypt all collected messages
**Autocrypt v2 protects against both decrypt\-later attack scenarios**
## Reliable Deletion: what matters for users
π‘οΈ Deletion works against decrypt\-later attacks
π Reliable in fragmented/splintering networks
π βReliable Deletionβ \> βForward Secrecyβ \(clearer term\)
## Autocrypt v2: A Simpler Path
### Traditional Reliable Deletion
Network sync required π€―
Central servers needed π
Multi\-device complexity π΅
### Autocrypt v2 solution
β Clock\-time based
πΏ Works offline
ποΈ Zero coordination
## Autocrypt v1 β v2: What Changed?
### v1 \(Email\-focused\)
π§ Bound to email address
π·οΈ Email as identity layer
β
### v2 \(Universal\)
π Transport agnostic
π Pure cryptographic identity
**Same goal:**Automatic, standards\-based, interoperable E2E encryption
## Autocrypt v2 Key Technical Features
- **Post\-Quantum**: Hybrid ML\-KEM\-768 \+ X25519
- **Reliable Deletion**: Automatic key expiration & destruction
- **Compact**: Fixed 2938\-byte certificates
- **Interoperable**: Standard OpenPGP v6 \(RFC 9580\)
- **Easy**: See rPGP and Python examples
## Autocrypt v2 Certificate \(6 Packets\)
π A\. Primary Key \(Ed25519\)β’ Signing & Certification
**B\.**Direct Key Signature\(defines features, no expiry\)
C\. Fallback Subkey \(ML\-KEM\-768 \+ X25519\)β’ Long\-term encryption
**D\.**Subkey Binding\(no expiry\)
E\. Rotating Subkey \(ML\-KEM\-768 \+ X25519\)β’ Short\-term encryption
**F\.**Subkey Binding\(expires: max\_rd=10d\)
π¦ Fixed Size: 2938 bytes
## Key Rotation Schedule
β±οΈ Rotating subkey: Valid for`max\_rd`\(default: 10 days\)
π New generation: At`min\_rd`before expiry
π¬ Delivery delay: 10 days assumed
ποΈ Auto\-delete: After max\_rd \+ 10 days
## Autocrypt v2 Key Ratcheting Algorithm
π Deterministic key derivation from previous subkey
π Uses HKDF with SHA2\-512 for cryptographic ratcheting
β±οΈ Time\-based rotation synchronized across all devices
π― No network coordination needed
## Key Ratcheting
```
prior rotating
subkey secret βββ> normalize_x25519
| |
(inputs) |
info | salt | IKM
| | | |
v v v v
βββββββββββββββββββββββββββββββββββ
β β
β HKDF (SHA2-512, L=160) β
β β
ββββββββββββββββ¬βββββββββββββββββββ
|
|
βββββββββββ΄ββββββββββ
v v
64 bytes 96 bytes
| |
| |
v v
SHA2-512 normalize_x25519
| |
| |
v v
16-byte salt next rotating
(for binding) subkey secret
```
## Two Encryption Subkeys: Fallback vs Rotating
- **Fallback Subkey**: Long\-term hybrid encryption key- Used when no rotating subkey valid - β οΈ NOT reliably deletable
- **Rotating Subkey**: Short\-term hybrid encryption key- Must be used if valid - Rotates every 5 days \(see`min\_rd`in spec\) - Auto\-destroyed after expiry - β
Reliably deletable messages
## Peer Certificate Management
π₯ Incoming certs merged into local cache
π§Ή Pruning: Remove expired keys
π Encryption priority:
1. Valid rotating subkey? β Use it
2. Pick earliest expiry \(faster deletion\)
3. Never use fallback if rotating available
## Beware of coordinated deletion
π Need to delete all copies on all devices
πΎ What about backups & offline devices?
β οΈ Out of scope for Autocrypt v2
[Delta Chat](https://delta.chat/),[Signal](https://signal.org/)and other apps offer coordinated deletion\.
## Hybrid Cryptography Explained
- **ML\-KEM\-768**: Post\-quantum algorithm \(NIST standard\)
- **X25519**: Classical elliptic curve
- **Hybrid approach**: Security if either algorithm is secure
- Protection against both classical and quantum attacks
- Future\-proof encryption
**π Autocrypt v2 = ML\-KEM\-768 β X25519**
## Autocrypt v2 Practical Benefits
ποΈ Deleted messages = gone forever
π€ Fully automatic \(no user action\)
π Works with existing Internet messaging infrastructure
π‘ No network sync required \(fewer failures\)
## Comparisons with other E2EE efforts
FeatureAutocrypt v2SignalMatrixMLSPost\-Quantumβ
β
π In\-devβ
Reliable Deletionβ
β
β
\+ UTDβ
Minimal metadataβ
β οΈ Bindingβ οΈ serversβ οΈ BindingDecentralizedβ
ββ
π in\-devFormal specificationβ
ββ
β
Simple implementationβ
βββ
## Autocrypt v2 status and roadmap
π οΈ
**Q2 2026** Implementation
β
**Q3 2026** Testing & Polish
## Get involved: other implementers welcome\!



Experienced Rust developer? Interested in chatmail and Delta Chat? Talk to us :\)
Similar Articles
Lobsters Hottest
A detailed overview of the ongoing transition to post-quantum cryptography, covering NIST's standardization of ML-KEM and ML-DSA, the 'harvest now, decrypt later' threat, hybrid key exchange adoption, and the fragmentation of PKI into MTC and X.509 with ML-DSA.
Hacker News Top
Let's Encrypt announces plans to adopt Merkle Tree Certificates for post-quantum authentication, addressing the growing urgency to migrate to post-quantum signatures in the Web PKI.
Hacker News Top
Coldkey is a command-line tool that generates post-quantum age encryption keys and creates printable HTML backups with QR codes for secure offline storage.
Simon Willison's Blog
Matthew Green discusses the historic transition to post-quantum cryptography and the potential for AI to advance cryptanalysis, particularly in the context of Anthropic's recent work.
Lobsters Hottest
Signal introduces automatic key verification, a feature built on key transparency that provides a streamlined way to confirm there is no unexpected party in an end-to-end encrypted session, complementing the existing safety number system.