If someone records your encrypted traffic and later steals your private key, they still can't decrypt what they recorded. Each Tact-VC session uses keys that exist only while it runs and are thrown away after. What is stored on your computer is a separate matter.
How it works
- Every handshake mixes your long-term key with fresh one-time keys made for that handshake only (see Encryption of calls and messages).
- The session keys come from both. Neither the long-term keys alone nor the recorded handshake are enough to rebuild them.
- Session keys and one-time keys live only in memory. When a session ends, they are gone.
- Sessions are replaced every 10 minutes, so a key taken from memory during a call only opens a short stretch of it.
Values
| Item | Value |
|---|---|
| New session | every 10 minutes, and on every new connection |
| One-time keys | X25519, made per handshake, never stored |
| Session keys | memory only |
What others can see
Someone who steals your private key later:
- can't decrypt recorded calls, messages or files from earlier sessions,
- can connect to your friends as you from then on (see Where your private key is kept).
Someone who gets a running session's keys out of memory can read that session, at most its 10 minutes, not earlier or later ones.
Limits
- Forward secrecy covers traffic, not storage. Your chats, friends and received files are on your disk. Whoever can open Tact-VC's data folder as you can read them (see What's encrypted on disk). The same goes for your friends' copies.
- It doesn't help against a future quantum computer on its own. Breaking Curve25519 would expose the one-time keys too. That's what Post-quantum protection is for.
- Backups contain your long-term key. Keep them private (see The backup file).
Related: Encryption of calls and messages, Post-quantum protection.