Authy etc are annoying GUI apps that require smartphones or Chrome extensions. This is stupid, since you can do the same thing in ~100 lines of C.
- Run
make
- Store base32-encoded token in tokens dir:
echo -n KM4TGS2RK5CTSQKTGBDECRCGHFATAU2G > tokens/footoken
chmod 0600 tokens/footoken
- Run
otp footoken
- Cut and paste, or pipe output to
xclip
.
- Shouldn't you encrypt the tokens? Yes. But this program doesn't. Sorry.
- What about QR codes? You'll need to solve that with other software. Sorry.
- Where do my tokens go? See Makefile.