Pierre: On Thu, May 24, 2018 at 16:04:31 +0200, Pierre Neidhardt wrote: > Mike Gerwitz writes: [...] > I did: > >> sudo pcscd >> gpg --card-status > gpg: selecting openpgp failed: No such device > gpg: OpenPGP card not available: No such device > > Can you share your udev rules? I don't have any udev rules that weren't included by default with GuixSD. The packages I installed are: gnupg, pcsc-lite, ccid, and pinentry. I used to know how to debug this problem very well back when I contributed the pcsc-lite package, but it's been a couple years, but I can try to help you through this. Looking through my notes, it looks like I symlinked `/run/current-system/profile/pcsc/drivers/' to `/var/lib/pcsc/drivers'. See Marius Bakke's message on ccid here: <87vawczpb2.fsf@duckhunt.i-did-not-set--mail-host-address--so-tickle-me>: https://lists.gnu.org/archive/html/guix-devel/2016-10/msg01433.html Can you see if that solves your problem? While we're at it, here's my dmesg output for the Nitrokey Pro: --8<---------------cut here---------------start------------->8--- [17145.084169] usb 6-2: new full-speed USB device number 9 using uhci_hcd [17145.269203] usb 6-2: New USB device found, idVendor=20a0, idProduct=4108 [17145.269211] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [17145.269215] usb 6-2: Product: Nitrokey Pro [17145.269219] usb 6-2: Manufacturer: Nitrokey [17145.269223] usb 6-2: SerialNumber: 00003C750000000000000000 [17145.276690] input: Nitrokey Nitrokey Pro as /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/0003:20A0:4108.0009/input/input21 [17145.336410] hid-generic 0003:20A0:4108.0009: input,hidraw0: USB HID v1.10 Keyboard [Nitrokey Nitrokey Pro] on usb-0000:00:1d.0-2/input0 --8<---------------cut here---------------end--------------->8--- And `pcscd -f' output (which looks bad, but `gpg --card-status' does work): --8<---------------cut here---------------start------------->8--- 00000000 ifdhandler.c:150:CreateChannelByNameOrChannel() failed 00000023 readerfactory.c:1106:RFInitializeReader() Open Port 0x200000 Failed (usb:20a0/4108:libudev:0:/dev/bus/usb/006/009) 00000006 readerfactory.c:376:RFAddReader() Nitrokey Nitrokey Pro (00003C750000000000000000) init failed. --8<---------------cut here---------------end--------------->8--- If you're still having a problem then we can continue from that point. -- Mike Gerwitz Free Software Hacker+Activist | GNU Maintainer & Volunteer GPG: D6E9 B930 028A 6C38 F43B 2388 FEF6 3574 5E6F 6D05 https://mikegerwitz.com