Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moul/totp-keychain
:lock: TOTP cli backed by the OS X keychain
https://github.com/moul/totp-keychain
2fa authentication cli cryptography keychain mfa security totp
Last synced: 8 days ago
JSON representation
:lock: TOTP cli backed by the OS X keychain
- Host: GitHub
- URL: https://github.com/moul/totp-keychain
- Owner: moul
- License: apache-2.0
- Created: 2019-06-06T15:33:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-14T05:16:17.000Z (about 1 month ago)
- Last Synced: 2024-11-02T00:42:01.568Z (15 days ago)
- Topics: 2fa, authentication, cli, cryptography, keychain, mfa, security, totp
- Language: Go
- Homepage: https://manfred.life/cryptography
- Size: 26.4 KB
- Stars: 14
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# totp-keychain
:lock: simple TOTP client backed by the keychain (OS X only)## Usage
```console
$ totp-keychain add moul@github JBSWY3DPEHPK3PXP
2019/06/06 17:59:17 OK$ totp-keychain add moul@cloudflare HXDMVJECJJWSRB3HWIZR4IFUGFTMXBOZ
2019/06/06 18:00:32 OK$ totp-keychain ls
- moul@github
- moul@cloudflare$ totp-keychain get moul@github
427530$ totp-keychain get moul@cloudflare
553053$ sleep 30
$ totp-keychain get moul@github
600322$ totp-keychain get moul@cloudflare
007099
```## Install
With Homebrew
brew install moul/moul/totp-keychain
With Golang```console
$ go get -u moul.io/totp-keychain
go: finding moul.io/totp-keychain latest
go: finding github.com/keybase/go-keychain latest
go: finding github.com/boombuler/barcode v1.0.0
go: finding github.com/stretchr/objx v0.2.0
go: downloading moul.io/totp-keychain v0.0.0-20190606153853-716756d5e5e8
go: extracting moul.io/totp-keychain v0.0.0-20190606153853-716756d5e5e8$ totp-keychain -h
NAME:
totp-keychain - A new cli applicationUSAGE:
totp-keychain [global options] command [command options] [arguments...]VERSION:
0.0.0COMMANDS:
add
rm
ls
get
help, h Shows a list of commands or help for one commandGLOBAL OPTIONS:
--help, -h show help
--version, -v print the version
```