Hi,
I have an air-gap computer using Ubuntu 15.10, and I have downloaded my master key to my yubikey using it. I did not need to change any parameters for the yubikey to get gpg2 access to it, which I think I needed to do with my older yubikey.
However, now I try to use the key on my ordinary laptop, also using Ubuntu 15.10, but gpg2 cannot access it. Some details below:
dmesg: [ 2261.421087] usb 3-2: new full-speed USB device number 4 using xhci_hcd [ 2261.550796] usb 3-2: New USB device found, idVendor=1050, idProduct=0407 [ 2261.550803] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2261.550807] usb 3-2: Product: Yubikey 4 OTP+U2F+CCID [ 2261.550809] usb 3-2: Manufacturer: Yubico [ 2261.551066] usb 3-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes [ 2261.552589] input: Yubico Yubikey 4 OTP+U2F+CCID as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:1050:0407.0008/input/input20 [ 2261.606003] hid-generic 0003:1050:0407.0008: input,hidraw1: USB HID v1.10 Keyboard [Yubico Yubikey 4 OTP+U2F+CCID] on usb-0000:00:14.0-2/input0 [ 2261.607492] hid-generic 0003:1050:0407.0009: hiddev0,hidraw2: USB HID v1.10 Device [Yubico Yubikey 4 OTP+U2F+CCID] on usb-0000:00:14.0-2/input1
pcsc_scan -n PC/SC device scanner V 1.4.24 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr> Compiled with PC/SC lite version: 1.8.11 Using reader plug'n play mechanism Scanning present readers... 0: Lenovo Integrated Smart Card Reader 00 00 1: Yubico Yubikey 4 OTP+U2F+CCID 01 00
Mon Feb 1 20:58:41 2016 Reader 0: Lenovo Integrated Smart Card Reader 00 00 Card state: Card removed, Reader 1: Yubico Yubikey 4 OTP+U2F+CCID 01 00 Card state: Card inserted, ATR: 3B F8 13 00 00 81 31 FE 15 59 75 62 69 6B 65 79 34 D4
neoman can find the card just fine, so can yubikey-personalize-gui.
GPG_AGENT_INFO= gpg2 --debug-level guru --card-status gpg: enabled debug flags: packet mpi cipher filter iobuf memory cache memstat trust hashing extprog cardio assuan gpg: DBG: connection to agent established scdaemon[3669]: pcsc_control failed: invalid handle (0x80100003) scdaemon[3669]: pcsc_vendor_specific_init: GET_FEATURE_REQUEST failed: 65538 gpg: selecting openpgp failed: Card not present gpg: OpenPGP card not available: Card not present random usage: poolsize=600 mixed=0 polls=0/0 added=0/0 outmix=0 getlvl1=0/0 getlvl2=0/0 secmem usage: 0/65536 bytes in 0 blocks mats@mats-laptop:/etc$ scdaemon[3669]: updating slot 0 status: 0x0000->0x0000 (0->1) scdaemon[3669]: scdaemon (GnuPG) 2.0.28 stopped
I have tried killing scdaemon and gpg-agent, no difference in behavior. Something is different between these that happens to be significant, but can't figure out what.
Any suggestions as how to debug this?
|