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.
Lobsters Hottest
Filippo Valsorda 更新了经典的《Cryptographic Right Answers》指南,为开发者给出面向后量子时代的加密推荐,包括 ML-KEM-768+X25519 密钥交换、ML-DSA-44 签名以及 XAES-256-GCM/XChaCha20Poly1305 数据加密,并强调 2029 年前完成后量子迁移的紧迫性。
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.
arXiv cs.LG
An academic paper proposing correlated private quantization for communication-efficient, locally differentially private federated reinforcement learning in vehicular networks, coupled with post-quantum authentication; it reports 92.4% smaller authenticated uplink sizes and 14.3% lower mean travel time versus independent quantization.
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.