Every connection between two Tact-VC apps is an encrypted session built with the Noise protocol framework, the same design WireGuard uses. Both sides prove who they are in the first round trip, and everything after the packet header is encrypted: audio, video, chat, files, names, pictures and control messages.
How it works
- Handshake start. The calling app already knows the other side's public key from the friend code. It sends the first handshake message, which carries its own public key encrypted to that key, plus a timestamp.
- Handshake answer. The other app decrypts it, checks that the caller is allowed to connect, and answers. Both sides now share session keys derived from their long-term keys and fresh one-time keys.
- Confirmation. The answering app starts sending only after the first data packet from the caller arrives, so a replayed handshake start never gives anyone a working session.
- Data. Each packet is encrypted and authenticated with ChaCha20-Poly1305 and numbered. Packets with a number already seen, or too old for the window, are dropped.
- Re-keying. The app that started the session makes a new one every 10 minutes. Each new session first runs a post-quantum key exchange (see Post-quantum protection).
A handshake start that isn't encrypted to your key can't be read, and Tact-VC doesn't answer it. To anyone without your friend code, the port looks closed.
Values
| Item | Value |
|---|---|
| Protocol | Noise_IK_25519_ChaChaPoly_BLAKE2s, and Noise_IKpsk2_25519_ChaChaPoly_BLAKE2s with the post-quantum key |
| Prologue | tact-vc/1 |
| Key exchange | X25519 |
| Cipher | ChaCha20-Poly1305, 16-byte tag |
| Hash | BLAKE2s |
| Re-key | every 10 minutes |
| Replay window | 1,024 packets |
| Old handshake starts | ignored unless their timestamp is newer than the last accepted one from that key |
| Session ends after | 35 seconds of silence (6 seconds in a call) |
Specification: The Noise Protocol Framework.
What others can see
- The network sees the packet header: a type byte, session numbers and a packet counter (see What your network provider can see). Not your public key: in the first message it is encrypted.
- Someone who knows your friend code can complete a handshake with you, but can then only send a friend request (see What a stranger can do).
- Blocked keys get no answer at all, so to them you look offline.
Limits
- Your friend's app sees everything in clear. End-to-end means between apps, not beyond what the other person's computer does with it.
- Authentication is only as good as the key exchange. If a friend code was swapped on the way, you're securely connected to the wrong key. Compare the Safety fingerprint to rule this out.
- The header and packet sizes aren't hidden. See What the shape of your traffic reveals.
How to check it
In a packet capture, filter for UDP on Tact-VC's port (Settings → Network → UDP port, default 47100). Only the first byte (0xA1–0xA4) and the numbers after it are readable.
Related: Post-quantum protection, Forward secrecy.