Gehlvora DocsTact-VC gehlvora.com

Tact-VC / Technical explanations / Encryption

Forward secrecy

Why a key stolen later can't decrypt calls and messages you recorded earlier, and what it can still reach.

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

  1. Every handshake mixes your long-term key with fresh one-time keys made for that handshake only (see Encryption of calls and messages).
  2. The session keys come from both. Neither the long-term keys alone nor the recorded handshake are enough to rebuild them.
  3. Session keys and one-time keys live only in memory. When a session ends, they are gone.
  4. Sessions are replaced every 10 minutes, so a key taken from memory during a call only opens a short stretch of it.

Values

ItemValue
New sessionevery 10 minutes, and on every new connection
One-time keysX25519, made per handshake, never stored
Session keysmemory 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.

Updated