Tiny Tools: fztotp
Last updated on 2025-03-06
This is my first Tiny Tools post.
fztotp (“fuzzy TOTP”) is a relatively simple tool built on top of fzf (as
are all of my most useful scripts) and ykman. I’m a little biased, but
this is the best TOTP authenticator app I have ever used (though it’s only for
Yubikey).
You can find the script on GitHub.
Its job is quite simple:
- Show the list of TOTP auth credentials you have stored in your Yubikey, in an
fzfuser interface - allow the user to fuzzy-select one of the credentials in the list, and then
- copy the TOTP code for that site to your clipboard (if you have
xselinstalled).
This enables me to get through multi-factor auth dialogs in just a few keystrokes. All with just ~50 lines of code.
If you have fzf and ykman installed already, you can install fztotp on a Linux
machine with:
curl -SsfL https://philcrockett.com/yolo/v1.sh \
| bash -s -- fztotp
Comments?
If you have a Mastodon account, you can reply to my post on the Fediverse.
Other Posts
- Next: Kudos to the Fish Devs — 2025-03-04
- Previous: FOSDEM N00b Tips — 2025-02-03