I have ubuntu 20.04 machine and installed gpg and related tools using below commad
sudo apt install gpg gnupg gnupg-pkcs11-scd
But when i run gpg --card-status, I get below error
gpg: selecting card failed: No such device
gpg: OpenPGP card not available: No such device
Should I install anything else for this ?
It seems like pcscd.service is inactive by default, have you tried (re)starting it?
sudo service pcscd restart
Try forcing a restart of the gpg-agent with pkill gpg-agent
➜ gpg --card-status
gpg: selecting card failed: Service is not running
gpg: OpenPGP card not available: Service is not running
➜ pkill gpg-agent
➜ gpg --card-status
Reader ...........: Yubico YubiKey OTP FIDO CCID
...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With