Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sudohikumar/totp-cli
A simple tool to get TOTP code based on a valid QR code or TOTP URL.
https://github.com/sudohikumar/totp-cli
go golang qrcode totp
Last synced: 1 day ago
JSON representation
A simple tool to get TOTP code based on a valid QR code or TOTP URL.
- Host: GitHub
- URL: https://github.com/sudohikumar/totp-cli
- Owner: sudohikumar
- Created: 2021-06-10T09:38:42.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-06-10T09:39:15.000Z (over 3 years ago)
- Last Synced: 2024-06-20T23:58:36.567Z (5 months ago)
- Topics: go, golang, qrcode, totp
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### TOTP Generator
---
This a very niche CLI tool which generates TOTP based on URL or QR Code.```
$ totp-cli get secret -h
Get secret (totp)Usage:
totp-cli get [flags]Flags:
-d, --digits int digits for the otp (default 6)
-f, --filepath string path to file
-h, --help help for get
--uri string TOTP URI
````--uri` and `-f` flag can't be provided together.
`--digits` define how many digits you want in the OTP.
#### NOTE:
- URI should always have `issuer` field/param.
- If image is provided, it should be `png` or `jpeg`/`jpg` format only.