Two-Factor Authentication (2FA) App compatible with andOTP file format
This repository has been archived on 2024-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
renovate[bot] 9d5537ac8c
Update module github.com/urfave/cli/v2 to v2.10.1 (#25)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 06:32:36 +02:00
.github/workflows feat: add README.md (#17) 2022-05-22 10:53:22 +02:00
internal feat: add a new subcommand - encrypt (#16) 2022-05-22 09:13:24 +02:00
.gitignore init 2022-03-27 18:42:27 +02:00
.golangci.yml feat: add two new workflows (golangci-lint and test) (#7) 2022-05-18 06:40:19 +02:00
LICENSE add LICENSE 2022-03-27 18:45:49 +02:00
README.md feat: add README.md (#17) 2022-05-22 10:53:22 +02:00
go.mod Update module github.com/urfave/cli/v2 to v2.10.1 (#25) 2022-06-20 06:32:36 +02:00
go.sum Update module github.com/urfave/cli/v2 to v2.10.1 (#25) 2022-06-20 06:32:36 +02:00
main.go feat: add README.md (#17) 2022-05-22 10:53:22 +02:00
renovate.json Add renovate.json 2022-03-27 16:42:39 +00:00

README.md

gootp

gootp is a terminal-based 2FA (Two-Factor Authentication) app.

asciicast

Features

  • Supported algorithms: TOTP
  • Compatible with andOTP file format
  • Allows to encrypt/decrypt andOTP files on your PC

Installation

Requirements:

  1. Go 1.18+
  2. 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