On 2025-04-19, Philippe Meunier <meun...@ccs.neu.edu> wrote:
> Hi,
>
> I recently bought a YubiKey and it works perfectly with Chrome on multiple
> web sites for 2FA but I can't get a single command line tool to work
> correctly on OpenBSD.

# pkg_add yubikey-manager
quirks-7.103 signed on 2025-04-11T19:56:45Z
yubikey-manager-5.6.1:pcsc-lite-2.3.1: ok
yubikey-manager-5.6.1:py3-pyscard-2.2.1: ok
[...]
yubikey-manager-5.6.1:py3-keyring-25.6.0: ok
yubikey-manager-5.6.1:py3-fido2-1.2.0: ok
yubikey-manager-5.6.1:py3-click-8.1.8p0: ok
yubikey-manager-5.6.1: ok
The following new rcscripts were installed: /etc/rc.d/messagebus /etc/rc.d/pcscd
See rcctl(8) for details.
New and changed readme(s):
        /usr/local/share/doc/pkg-readmes/dbus
--- +yubikey-manager-5.6.1 -------------------
NOTE: yubikey-manager (ykman) is only partially functional on OpenBSD.

"ykman otp" is not functional as there is no suitable HID backend; some OTP
operations can be done with the old yubikey-personalization CLI tool and the
Qt-based yubikey-personalization-gui package.

For "ykman fido", make sure pcscd is running, and if commands stall,
try removing and reconnecting your YubiKey (likely to happen after each
command).

Reply via email to