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 f774db3b10
continuous-integration/drone/push Build is passing Details
chore(deps): update golang docker tag to v1.20 (#24)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| golang | docker | minor | `1.19` -> `1.20` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTQuMSIsInVwZGF0ZWRJblZlciI6IjM0LjExNC4xIn0=-->

Co-authored-by: Renovate <renovate@dwysokinski.me>
Reviewed-on: #24
Co-authored-by: renovate <renovate@noreply.localhost>
Co-committed-by: renovate <renovate@noreply.localhost>
2023-02-08 05:08:22 +00:00
internal fix: lint - p.Start is deprecated (#18) 2022-12-11 17:59:46 +00:00
.drone.yml chore(deps): update golang docker tag to v1.20 (#24) 2023-02-08 05:08:22 +00:00
.gitignore init 2022-03-27 18:42:27 +02:00
.golangci.yml fix: lint - p.Start is deprecated (#18) 2022-12-11 17:59:46 +00:00
LICENSE add LICENSE 2022-03-27 18:45:49 +02:00
README.md chore: update dependencies 2022-12-11 10:41:31 +01:00
go.mod chore(deps): update module golang.org/x/crypto to v0.5.0 (#21) 2023-01-23 04:43:19 +00:00
go.sum chore(deps): update module golang.org/x/crypto to v0.5.0 (#21) 2023-01-23 04:43:19 +00:00
main.go fix: lint - p.Start is deprecated (#18) 2022-12-11 17:59:46 +00:00
renovate.json refactor: rename module github.com/Kichiyaki/gootp -> gitea.dwysokinski.me/Kichiyaki/gootp (#2) 2022-09-04 08:04:31 +00:00

README.md

gootp

asciicast

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

Features

  • Supported algorithms: TOTP
  • Compatible with andOTP backup file format
  • Encrypt/decrypt andOTP backup files on your PC

Installation

Prerequisites:

  1. Go 1.19+
  2. Backup file
go install gitea.dwysokinski.me/Kichiyaki/gootp@latest
cp /path/to/andotp/file ~/.otp_accounts.json # !IMPORTANT! this backup file must be encrypted

Examples

gootp # start gootp
gootp -h # show a list of commands
gootp -p /path/to/andotp/file/.otp_accounts.json # override the default path
gootp --password xxx # specify an encryption password via flag
gootp -p /path/to/andotp/file/.otp_accounts.json encrypt -o /output/.otp_accounts.json.aes # encrypt a file
gootp -p /path/to/andotp/file/.otp_accounts.json.aes decrypt -o /output/.otp_accounts.json # decrypt a file

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Dawid Wysokiński - contact@dwysokinski.me