When I plug in my Yubikey, only one can be used at once. Here's what happens:
Challenge response works up until I try using the GPG applet.
Code:
Daniels-iMac:~ root# gpg --card-status
gpg: selecting openpgp failed: Card not present
gpg: OpenPGP card not available: Card not present
Daniels-iMac:~ root# gpg --card-status
<card data>
As you can see, it doesn't work once, but then it gives me the information about the card. However, once it works, it cannot do challenge response anymore.
Code:
debug: pam_yubico.c:561 (do_challenge_response): Challenge-response FAILED
debug: pam_yubico.c:680 (do_challenge_response): Yubikey core error: timeout
debug: pam_yubico.c:689 (do_challenge_response): Challenge response failed: Operation timed out
Any idea why this is happening / how I can fix it?
EDIT:
It seems as if challenge-response works again if I press the button on the Yubikey, but then I can't do GPG.