Gehlvora DocsTact-VC gehlvora.com

Tact-VC / Technical explanations / Threat model and identity

Where your private key is kept

How Tact-VC protects your private key on macOS and Windows, and what someone who gets it can and can't do.

Your private key is what makes you you in Tact-VC. The system's own secret store protects it, and with an app lock at Everything, your password too. This page explains where it is, who can reach it, and what a stolen key would allow.

How it works

  • macOS: the key is kept in your login Keychain, under the service vc.tact-vc.desktop. The file identity.key in Tact-VC's data folder only marks that it exists.
  • Windows: identity.key holds the key encrypted with DPAPI, which only your Windows user account can decrypt.
  • App lock at Everything: the key is additionally encrypted with Tact-VC's data key, and only your password (or Touch ID / Windows Hello, if you turned it on) opens that. Until you unlock, Tact-VC can't connect to anyone.

The key leaves your computer only inside a backup you save yourself, encrypted with your passphrase (see The backup file). In memory, Tact-VC wipes the key when it no longer needs it.

What others can see

Nobody receives your private key: not friends, Vides or Gehlvora. Friends only check that you hold it, during every handshake.

Someone who gets your private key can:

  • connect to your friends as you, and they can't tell the difference,
  • receive calls and messages meant for you while connected.

They can't:

  • decrypt calls or messages you already had, even if they recorded the traffic: those used session keys that no longer exist (see Forward secrecy),
  • read your stored chats from the key alone: those are encrypted with a separate data key (see What's encrypted on disk).

Limits

  • Your logged-in account can reach the key. The Keychain and DPAPI protect it from other users and from a copied disk, not from programs running as you. An app lock at Everything adds your password.
  • A copied disk is only as safe as your password. With Everything, someone with a copy of your data folder can try passwords offline. Use a long one.
  • A stolen key can't be revoked. Make a new identity (Settings → Storage → Delete all data) and ask your friends to remove the old one.

How to check it

  • macOS: open Keychain Access, search for vc.tact-vc.desktop.
  • Windows: identity.key in %APPDATA%\vc.tact-vc.desktop starts with TACT-VC-DPAPI-1 and is unreadable after it.

Related: Identity without accounts, App lock.

Updated