I use a Yubikey as a smartcard for SSH authentication. Worked fine in GPG4WIN 2.x on a number of PCs. After upgrading to 3 on a new PC there's an interesting issue:
- Boot PC with Yubikey connected.
- Start GPG-agent.
- SSH authentication works fine.
However, after using the Yubikey for generation of a OTP, things go wrong. According to Windows 10, the USB device is inserted. According to gpg --card-status there is 'No such device'. Sometimes removing and inserting the key for a couple of times fixes this issue. In most cases I need to reboot the OS. Any clues about what's going on?