Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hexylena/go-otp
golang OATH-TOTP Storage/Generator App
https://github.com/hexylena/go-otp
Last synced: 16 days ago
JSON representation
golang OATH-TOTP Storage/Generator App
- Host: GitHub
- URL: https://github.com/hexylena/go-otp
- Owner: hexylena
- License: gpl-3.0
- Created: 2015-07-01T02:47:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-15T23:49:56.000Z (over 7 years ago)
- Last Synced: 2024-10-17T14:06:40.041Z (about 1 month ago)
- Language: Go
- Size: 34.2 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OATH-TOTP App
- Store TOTP account credentials in an sqlcipher'd database
- Generate TOTP Codes
- Generate QR Codes to add your accounts to multiple devicesThis was born from an awful experience with *Google Authenticator* where I
realised I could not export or backup my codes. This is really just temporary
until KeePassXC gets TOTP support.# N.B.
- Takes password from CLI. You should be using FDE anyway.
- No HOTP support# Installation
```console
$ go install github.com/erasche/go-otp
```# Usage
## Initialize the database
```console
$ go-otp init -password 'blah blah blah'
```## Register New Services
```console
$ go-otp add -password $password -secretKey LONGSECRETKEY -account [email protected] -issuer AWS
```## Overwrite Existing Service Entries
```console
$ go-otp add -password $password -secretKey LONGSECRETKEY -account [email protected] -issuer AWS -update
```## Generate Codes
```console
$ go-otp -password $password gen
...............
[ [email protected] ][ example.com ] 584325
```## Generate QR Codes
```console
$ go-otp -password $password qr
QR Code stored to [email protected]
QR Code stored to [email protected]
QR Code stored to [email protected]
QR Code stored to [email protected]
```# LICENSE
GPLv3