Find a file
2020-09-14 10:12:22 +02:00
.gitignore First draft 2020-09-13 21:48:31 +00:00
LICENSE Initial commit 2020-09-13 23:34:05 +02:00
Makefile First draft 2020-09-13 21:48:31 +00:00
README.md Update README.md 2020-09-14 10:12:22 +02:00
totp.c Try to cleanup stuff 2020-09-13 22:13:44 +00:00

totp

A tiny command line utility to generate OTP tokens

Build and install

Clone the repository:

$ git clone https://github.com/angt/totp
$ cd totp

Then, run as root:

# make install

As usual, you can customize the destination with DESTDIR and prefix.

Usage

It has been thought for secret, maybe it will be directly integrated in a future version, in the meantime:

Add a new TOTP key

$ echo -n JBSWY3DPEHPK3PXP | base32 -d | secret set test/totp

Generate a TOTP token

$ secret show test/totp | totp
$ 123456

For feature requests and bug reports, please create an issue.