9d5537ac8c
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
---|---|---|
.github/workflows | ||
internal | ||
.gitignore | ||
.golangci.yml | ||
LICENSE | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go | ||
renovate.json |
README.md
gootp
gootp is a terminal-based 2FA (Two-Factor Authentication) app.
Features
- Supported algorithms: TOTP
- Compatible with andOTP file format
- Allows to encrypt/decrypt andOTP files on your PC
Installation
Requirements:
- Go 1.18+
- Exported andOTP file
go install github.com/Kichiyaki/gootp@latest
cp /path/to/andotp/file ~/.otp_accounts.json # !IMPORTANT! this file must be encrypted
Examples
gootp # show OTP list
gootp -h # help for gootp
gootp -p /path/to/andotp/file/.otp_accounts.json # override default path
gootp --password xxx # specify encryption password via flag
gootp -p /path/to/andotp/file/.otp_accounts.json encrypt -o /output/.otp_accounts.json.aes # encrypt file
gootp -p /path/to/andotp/file/.otp_accounts.json decrypt -o /output/.otp_accounts.json.aes # decrypt file