gotp
TOTP/MFA authenticator for command line
TLDR
SYNOPSIS
gotp [options] command
DESCRIPTION
gotp is a command-line TOTP (Time-based One-Time Password) authenticator. It stores and generates 2FA/MFA codes for accounts without requiring a phone or browser extension.
The tool encrypts stored secrets and can generate QR codes for easy mobile app setup.
PARAMETERS
show NAME
Show current TOTP code for accountadd NAME SECRET
Add new TOTP accountremove NAME
Remove accountlist
List all accountsqr NAME
Generate QR code for accountexport
Export accounts (encrypted)import FILE
Import accounts from file-c, --config FILE
Configuration file path--clip
Copy code to clipboard-v, --version
Display version and exit-h, --help
Display help and exit
SECURITY
Secrets are encrypted at rest using a master password. Clipboard integration for secure code copying. No network access required after setup.
CAVEATS
System clock must be accurate for valid codes. Secrets are only as secure as the encryption password. Backup codes recommended for account recovery.
HISTORY
gotp was created for users preferring terminal-based 2FA management or needing MFA access on headless servers.
SEE ALSO
[oathtool](https://www.nongnu.org/oath-toolkit/), [keepassxc](https://keepassxc.org/), [1password-cli](https://developer.1password.com/docs/cli/)

