yubikey-touch-detector(1) General Commands Manual yubikey-touch-detector(1)

yubikey-touch-detector - detect when a YubiKey is waiting for a touch

yubikey-touch-detector [options...]

-libnotify

Show desktop notifications using libnotify.

-no-socket

Disable unix socket notifier.

-stdout

Print notifications to stdout.

-v

Enable debug logging.

-version

Print version information and exit.

yubikey-touch-detector detects when a YubiKey is waiting for a touch configuration. It is designed to be integrated with other UI components to display a visible indicator.

YUBIKEY_TOUCH_DETECTOR_VERBOSE

Equivalent to specifying -v.

YUBIKEY_TOUCH_DETECTOR_LIBNOTIFY

Equivalent to specifying -libnotify.

YUBIKEY_TOUCH_DETECTOR_STDOUT

Equivalent to specifying -stdout.

YUBIKEY_TOUCH_DETECTOR_NOSOCKET

Equivalent to specifying -no-socket.

$XDG_RUNTIME_DIR/yubikey-touch-detector.socket

The socket exposing events shall be created at this locatoin.

The following events are emitted over the socket:

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.

ykman, pam_u2f(8)

yubikey-touch-detector is distributed under the ISC licence.

2025-01-10