Someone could record your encrypted traffic today and wait for a quantum computer able to break Curve25519. Tact-VC defends against this by mixing a post-quantum key exchange, ML-KEM-768, into its sessions. Recorded calls and messages then stay protected even if Curve25519 falls later.
How it works
- Two friends' apps connect with a normal Noise IK handshake (see Encryption of calls and messages).
- Inside that session, the app that started it sends an ML-KEM-768 public key. The other app answers with a ciphertext. Both now share a secret that only they know.
- Right away, the apps make a new session with Noise
IKpsk2, using that secret as an extra key. From then on, breaking the session needs both Curve25519 and ML-KEM-768 broken. - About 30 seconds before every 10-minute re-key, the apps run a fresh ML-KEM exchange, so each new session gets a new secret.
The shared secrets exist only in memory. They are never saved, shown, logged or put into reports.
Values
| Item | Value |
|---|---|
| Algorithm | ML-KEM-768 (NIST FIPS 203) |
| Public key / ciphertext | 1,184 / 1,088 bytes |
| Handshake with the secret | Noise_IKpsk2_25519_ChaChaPoly_BLAKE2s, packet type 0xA4 |
| Fresh exchange | before every re-key (every 10 minutes) |
| Unanswered post-quantum re-key | falls back to a plain handshake after 5 seconds |
| Used with | friends and group members, never with strangers or Vides |
Specification: FIPS 203.
Limits
- The first moments of a connection aren't covered. Until the first exchange completes, a few network round trips, the session is protected by Curve25519 only. Anything sent then could be decrypted later by someone able to break Curve25519.
- After a restart, it starts over. The secrets are in memory only, so the first handshake after either app restarts is a plain one again.
- It protects recordings, not live attacks. It doesn't help against someone who can already break Curve25519 while the exchange runs: they could take over the session before the post-quantum secret is in place.
- An attacker who blocks packets can force plain re-keys. If a post-quantum re-key goes unanswered, Tact-VC falls back to a plain one rather than dropping the call. The session is then still protected by Curve25519, just without the extra layer.
- Your identity keys aren't post-quantum. The long-term keys and signatures (friends, groups) use Curve25519.
How to check it
In a packet capture, after a connection is made, handshake starts with type byte 0xA4 show sessions using the post-quantum secret. 0xA1 is a plain one.
Related: Encryption of calls and messages, Forward secrecy.