YubiKey NEO not detected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
yubikey-personalization (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
The YubiKey NEO is a device that does things like HOTP keys, and can also behave as a PGP smartcard.
In the default udev rules, attempting to use it as a smartcard gives the following error:
$ LANGUAGE=en gpg --card-status
gpg: pcsc_establish_
gpg: card reader not available
gpg: OpenPGP card not available: general error
which is GPG's obscure way of saying that it can't find a card, although the real problem is the USB device isn't readable by the logged in user.
If you add the following udev rule:
$ cat /etc/udev/
ACTION=
ATTRS{
TEST=
RUN+="udev-acl --action=
which is pretty much a copy of /lib/udev/
$ LANGUAGE=en gpg --card-status
Application ID ...: D27600012401020
Version ..........: 2.0
Manufacturer .....: test card
Serial number ....: 00000001
Name of cardholder: Robin Sheat
... and so on.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: udev 175-0ubuntu26
ProcVersionSign
Uname: Linux 3.8.0-30-generic x86_64
NonfreeKernelMo
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
CustomUdevRuleF
Date: Wed Sep 25 21:13:20 2013
InstallationDate: Installed on 2011-04-26 (882 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: Gigabyte Technology Co., Ltd. P67A-UD4-B3
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: udev
UpgradeStatus: Upgraded to raring on 2013-04-13 (165 days ago)
dmi.bios.date: 02/14/2011
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F1
dmi.board.name: P67A-UD4-B3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSof
dmi.product.name: P67A-UD4-B3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
affects: | udev (Ubuntu) → yubikey-personalization (Ubuntu) |
Changed in yubikey-personalization (Ubuntu): | |
status: | New → Triaged |
It might be of note that you need this rule to use it with gpg also, so it's not just a requirement for the YubiKey tools.