Gehlvora DocsTact-VC gehlvora.com

Tact-VC / Technical explanations / Data on your computer

What's encrypted on disk

Which of Tact-VC's files are encrypted on your computer, with which key, and what each app lock level adds.

On macOS and Windows, Tact-VC always encrypts your friends, chats and settings with a data key that the system keeps for you. That protects a copied disk or another user account. Against someone who can log in as you, only an app lock at Everything helps, because then the key opens only with your password.

How it works

  1. One data key. Tact-VC makes a random data key per data folder and encrypts state.json, messages.json, stats.json and their copies with it.
  2. Without a lock, or at Window. The system keeps the data key (data.key, in the Keychain on macOS, with DPAPI on Windows). Tact-VC opens your data by itself when it starts, so friends can reach you even while the window is locked.
  3. At Everything. The data key is kept only in lock.json, wrapped with a key derived from your password. The same data key also encrypts your identity key. Until you unlock, Tact-VC can't read anything or connect to anyone.
  4. With the fingerprint on. A second copy of the data key is wrapped so that Touch ID (a key in the Secure Enclave) or Windows Hello (a Windows Hello signature, inside DPAPI) opens it.

Values

ItemValue
FilesXChaCha20-Poly1305, 24-byte nonce, file starts with TACT-VC-SEALED-1
Wrapped data keyChaCha20-Poly1305, key from Argon2id over your password
Argon2id cost64 MiB memory, 3 passes, 1 lane
Password lengthat least 4 characters for Window, 8 for Everything

What others can see

Someone who…No lock / WindowEverything
copies your disk or data foldercan't open the encrypted filescan try passwords offline
uses another account on your computercan't open themcan't open them
uses your logged-in accountcan open everything, as Tact-VC doesneeds your password, or your fingerprint if it's on

Limits

  • Not everything is encrypted. Cached media (except at Everything, where none is kept), downloaded files, pictures you send with a link while they're shared, favourite GIFs and log files stay unencrypted. See Files Tact-VC stores.
  • At Everything, the password is all that protects a copy. Someone with your data folder can guess offline as fast as their hardware allows. Use a long password.
  • With the fingerprint on, the fingerprint unlocks everything. On Windows, the Windows Hello PIN does too.
  • A forgotten password at Everything can't be reset. Only a backup gets you back in.

What you can do

  • Set an app lock in Settings → Security, at Everything if people can use your logged-in account.
  • Use a long password, such as several random words.

Related: App lock, Files Tact-VC stores.

Updated