usb – Yubikey all the time works with ykman however will get “forgotten” as a gpg smartcard

[ad_1]

My Yubikey is mostly working superb on macOS:

  • It could possibly all the time write an OTP as a keyboard
  • ykman all the time works
  • gpg --card-status works for some time after I plug the Yubikey

Nonetheless, after some time, gpg --card-status stops working and reveals the next error as a substitute:

% gpg --card-status
gpg: deciding on card failed: Operation not supported by gadget
gpg: OpenPGP card not out there: Operation not supported by gadget

Unplugging and replugging the Yubikey solves the issue… for some time.

The Yubikey is plugged into my display (which is plugged to the MacBook over USB-C). The very same setup all the time works on Linux.

What might be inflicting this?

May it’s that macOS someway does one thing with sensible playing cards, which might intervene with the gpg-agent? I seen that macOS frequently reveals notifications that primarily say that “a smartcard was plugged” and “a smartcard was unplugged” (I’d say each jiffy). This feels like there could also be one thing conflicting (perhaps a macOS service attempting to entry the smartcard?).

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *