yubikey-touch-detector(1)
β¨ yubikey-touch-detector β¨
okay so bestie, welcome to yubikey-touch-detector(1) β the little General Commands Manual page that's about to become your whole personality π
this is the tool that tells you when your YubiKey is literally sitting there waiting for a touch, and honestly? iconic behaviour.
πΈ NAME πΈ
yubikey-touch-detector β detects when a YubiKey is waiting for a touch. that's it, that's the vibe π«Ά
π¦ SYNOPSIS π¦
yubikey-touch-detector [options...]
yes queen, just run it with whatever options you want β¨
π OPTIONS π
-notifyβ shows desktop notifications. like, on your actual screen. so you can't miss it π-notify-title titleβ sets the desktop notification title template. defaults to"YubiKey is waiting for a touch".-notify-body bodyβ sets the desktop notification body template. defaults to"Touch your YubiKey to continue ({{.Reasons}})."
β οΈ heads up bestie, both the notification title and body use Go template syntax.{{.Reasons}}expands into a sorted, comma-separated list of the active event types:gpg,hmac, andu2f. so cute, so organised π§
-no-socketβ disables the unix socket notifier. no socket for you π-stdoutβ prints notifications to stdout. for the terminal girlies π»-dbusβ supports notifications via dbusSessionBus.-vβ enables debug logging. messy but make it diagnostic π₯-versionβ prints version information and exits. bye bestie, love you π
π DESCRIPTION π
yubikey-touch-detector detects when a YubiKey is waiting for a touch configuration. it's designed to be integrated with other UI components so they can display a visible indicator. so basically it's the backstage main character that makes everyone else look good β¨
π ENVIRONMENT π
YUBIKEY_TOUCH_DETECTOR_VERBOSEβ equivalent to specifying-v.YUBIKEY_TOUCH_DETECTOR_NOTIFYβ equivalent to specifying-notify.YUBIKEY_TOUCH_DETECTOR_NOTIFY_TITLEβ equivalent to specifying-notify-title.YUBIKEY_TOUCH_DETECTOR_NOTIFY_BODYβ equivalent to specifying-notify-body.YUBIKEY_TOUCH_DETECTOR_STDOUTβ equivalent to specifying-stdout.YUBIKEY_TOUCH_DETECTOR_NOSOCKETβ equivalent to specifying-no-socket.YUBIKEY_TOUCH_DETECTOR_DBUSβ equivalent to specifying-dbus.
like, every option gets a little environment-variable twin. siblings! π«Ά
π FILES π
$XDG_RUNTIME_DIR/yubikey-touch-detector.socketβ the socket exposing events on Linux π§$TMPDIR/yubikey-touch-detector.socketβ the socket exposing events on macOS π
different paths, same energy π
β EVENTS β
these are the events emitted over the socket, no cap:
GPG_1β when a GPG operation starts waiting for a touch.GPG_0β when a GPG operation stops waiting for a touch.U2F_1β when a U2F operation starts waiting for a touch.U2F_0β when a U2F operation stops waiting for a touch.MAC_1β when a HMAC operation starts waiting for a touch.MAC_0β when a HMAC operation stops waiting for a touch.
see the pattern? _1 means it started, _0 means it stopped. slay, consistent β¨
π SEE ALSO π
ykman, pam_u2f(8) β go read those too, iykyk π
π LICENCE π
yubikey-touch-detector is distributed under the ISC licence. periodt.
okay that's the whole page, bestie π this was yubikey-touch-detector(1) from the General Commands Manual, dated 2026-09-21 β go touch your YubiKey, it's literally waiting for you ππ¦β¨
π¦ where this page comes from
- arch rolling: yubikey-touch-detector 1.15.0-1 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms