tofa

TOFA TUI showing 21 accounts with live OTP codes   TOFA macOS menu bar app showing the same accounts

tofa is an offline, encrypted 2FA tool for the terminal. Secrets stay on your machine in an AES-256-GCM vault — no cloud, no account, no telemetry.

Looking for the marketing site, installer one-liner, demos, and FAQ? → https://tofa.stratif.io

This site primarily documents the command-line interface and its companion TUI. The macOS menu bar app — pictured above — reads the same vault and is covered in the project README.

What's in here

  • Getting started — install, create a vault, add your first account.
  • CLI reference — every subcommand, with flags auto-synced to the source.
  • Recipes — common workflows like importing from Aegis or scripting with TOFA_PASSPHRASE.
  • Security model — what the vault protects, and how.