I'm trying to setup my YubiKey on Ubuntu 12.04. While I'm aware that I can't setup U2F until I can get to a supported operating system (of which Ubuntu 12.04 LTS is _not_ one), I'm having trouble setting up my YubiKey NEO with OpenPGP.
Here's the rule I currently have at /etc/udev/rules.d/99-yubikey.rules
Code:
SUBYSTEMS=="usb", ATTRS{idVendor}=="1050", ATTRS{idProduct}="0111", OWNER="tk", GROUP="plugdev", MODE="0660"
I set the device mode to 84:
Code:
ykpersonalize -m84
I remove the device, wait a second or two, then plug it back in again. Next:
Code:
gpg --card-edit
To which I receive the following error message:
Code:
gpg: selecting openpgp failed: ec=6.32848
gpg: OpenPGP card not available: general error
It seems that my permissions might not be working.
I have disabled "gnome-keyring-daemon --start --components=gpg" from starting on session login, and manually run "gpg-agent --daemon". How can I get this working again?