Gehlvora DocsTact-VC gehlvora.com

Tact-VC / Technical explanations / Threat model and identity

What a friend code reveals

What's inside a TACT-VC- friend code, what anyone who sees it learns, and how to share it safely.

A friend code holds your public key, your name and the addresses your computer can be reached at. It isn't encrypted: anyone who sees it can read all three. Treat it like a phone number with your current location attached, and share it only with people you want to hear from.

How it works

The code is TACT-VC- followed by Base32 text. Decoded, it holds:

PartContent
Version1
Public keyyour identity, 32 bytes
Nameyour name at the time you copied the code, up to 32 bytes
Addressesup to 6 IP addresses with port: public ones first, then local network ones (see Who sees your IP address)
Check4 bytes of a SHA-256 over the rest, to catch copying mistakes

The check only catches typos. It doesn't prove who made the code.

Pasting a code sends its owner a friend request. Pasting the code of someone who is already your friend only updates their addresses.

What others can see

Anyone who gets your code, from you or from someone you sent it to, learns:

  • your public key and the name you had then,
  • your addresses at that time, including local network ones,
  • whether Tact-VC is running there, for as long as the address stays yours.

With it they can send you one friend request (see What a stranger can do). They can't call you, write to you or see your picture unless you accept.

Limits

  • A code can't be taken back. It stays valid as long as your key does. The addresses in it go stale when your connection changes, but the key and name don't.
  • A swapped code looks the same. If someone replaces your code on the way, your friend adds their key. Compare the Safety fingerprint by voice once.
  • Posting a code publicly lets anyone send you requests and see when you're online at those addresses.

Where to share it

  • Send it in a private message to the one person it's for.
  • Don't post it in public channels, forums or profiles.
  • After your connection changes, send it again only to friends who can't reach you. Tact-VC updates addresses between friends by itself while they're connected.

How to check it

Your current code is in Settings → Profile → Your code. Any Base32 decoder shows its bytes in the order above.

Related: What a stranger can do, Who sees your IP address.

Updated