You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For me this happens related to the OpenPGP/Smartcard features of the Yubikey. Parallel to awsu I also use Yubikey to keep my SSH keys private (as described here https://florin.myip.org/blog/easy-multifactor-authentication-ssh-using-yubikey-neo-tokens ) and whenever I used the related OpenPGP agent to pull the private key, awsu would run into this issue. Running ykman oath code ... in between would reset the OpenPGP agent and also allow awsu to access the Yubikey without errors.
Finally reproduced it and tracked it here: yawn/ykoath#14.
I believe the easiest fix is to have platform specific recovery options such as (e.g. on Mac) sending KILL to com.apple.ctkpcscd. Or use aliases e.g. alias awsu="killall com.apple.ctkpcscd; awsu"?
From time to time (multiple times a day, usually), I get this problem:
Unplugging and plugging the Yubikey, or running
ykman oauth code <profile name>
resets things to a working state.Perhaps this should rather be reported on some Yubikey go library?
The text was updated successfully, but these errors were encountered: