<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=26&amp;t=2191" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2016-02-05T16:15:05+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=2191</id>
<entry>
<author><name><![CDATA[Mats]]></name></author>
<updated>2016-02-05T16:15:05+01:00</updated>
<published>2016-02-05T16:15:05+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2191&amp;p=8270#p8270</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2191&amp;p=8270#p8270"/>
<title type="html"><![CDATA[Re: Problems with Ubuntu 15.10 on one machine, but not anoth]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2191&amp;p=8270#p8270"><![CDATA[
I finally nailed! What I did was using pcsc_scan, and took the name of the reader from there to the &quot;reader-port&quot; configuration of scdaemon.conf. By taken the whole string it worked. When adding another reader-port entry for my Neo4 I could see that one as well using gpg2 --card-status<br /><br />Now I have another problem, but this seems unrelated, so I'll create a new thread for this. But my Neo3 can decrypt mails at least, nice!<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4170">Mats</a> — Fri Feb 05, 2016 4:15 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Mats]]></name></author>
<updated>2016-02-05T09:10:37+01:00</updated>
<published>2016-02-05T09:10:37+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2191&amp;p=8267#p8267</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2191&amp;p=8267#p8267"/>
<title type="html"><![CDATA[Re: Problems with Ubuntu 15.10 on one machine, but not anoth]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2191&amp;p=8267#p8267"><![CDATA[
I made the update of the scdaemon.conf file, did a &quot;killall scdaemon&quot; and &quot;killall gpg-agent&quot; just in case, but none of the killall found any process so it was apparently not needed. I also took out the Yubikey and reinserted it again.<br /><br />Anyway, here's my terminal session:<br /><br />$ gpg2 --card-status<br />gpg: can't connect to the agent - trying fall back<br />scdaemon[25686]: enabled debug flags: command mpi crypto memory cache memstat hashing assuan cardio<br />gpg: selecting openpgp failed: Card not present<br />gpg: OpenPGP card not available: Card not present<br /><br />This is the scdaemon.log (two attempts with card status):<br /><br />$ cat /tmp/scdaemon.log <br />2016-02-05 09:00:19 scdaemon[25627] listening on socket `/tmp/gpg-QxOb6p/S.scdaemon'<br />2016-02-05 09:00:19 scdaemon[25627] handler for fd -1 started<br />2016-02-05 09:00:20 scdaemon[25627] pcsc_control failed: invalid handle (0x80100003)<br />2016-02-05 09:00:20 scdaemon[25627] pcsc_vendor_specific_init: GET_FEATURE_REQUEST failed: 65538<br />2016-02-05 09:00:20 scdaemon[25627] reader slot 0: not connected<br />scdaemon[25627]: chan_7 -&gt; OK GNU Privacy Guard's Smartcard server ready<br />scdaemon[25627]: chan_7 &lt;- GETINFO socket_name<br />scdaemon[25627]: chan_7 -&gt; D /tmp/gpg-QxOb6p/S.scdaemon<br />scdaemon[25627]: chan_7 -&gt; OK<br />scdaemon[25627]: chan_7 &lt;- SERIALNO openpgp<br />scdaemon[25627]: chan_7 -&gt; ERR 100663408 Card not present &lt;SCD&gt;<br />scdaemon[25627]: chan_7 &lt;- RESTART<br />scdaemon[25627]: chan_7 -&gt; OK<br />scdaemon[25627]: chan_7 &lt;- [eof]<br />2016-02-05 09:00:20 scdaemon[25627] updating slot 0 status: 0x0000-&gt;0x0000 (0-&gt;1)<br />2016-02-05 09:00:20 scdaemon[25627] handler for fd -1 terminated<br />2016-02-05 09:00:20 scdaemon[25627] scdaemon (GnuPG) 2.0.28 stopped<br />2016-02-05 09:02:03 scdaemon[25686] listening on socket `/tmp/gpg-nOC3g4/S.scdaemon'<br />2016-02-05 09:02:03 scdaemon[25686] handler for fd -1 started<br />2016-02-05 09:02:04 scdaemon[25686] pcsc_control failed: invalid handle (0x80100003)<br />2016-02-05 09:02:04 scdaemon[25686] pcsc_vendor_specific_init: GET_FEATURE_REQUEST failed: 65538<br />2016-02-05 09:02:04 scdaemon[25686] reader slot 0: not connected<br />scdaemon[25686]: chan_7 -&gt; OK GNU Privacy Guard's Smartcard server ready<br />scdaemon[25686]: chan_7 &lt;- GETINFO socket_name<br />scdaemon[25686]: chan_7 -&gt; D /tmp/gpg-nOC3g4/S.scdaemon<br />scdaemon[25686]: chan_7 -&gt; OK<br />scdaemon[25686]: chan_7 &lt;- SERIALNO openpgp<br />scdaemon[25686]: chan_7 -&gt; ERR 100663408 Card not present &lt;SCD&gt;<br />scdaemon[25686]: chan_7 &lt;- RESTART<br />scdaemon[25686]: chan_7 -&gt; OK<br />scdaemon[25686]: chan_7 &lt;- [eof]<br />2016-02-05 09:02:04 scdaemon[25686] updating slot 0 status: 0x0000-&gt;0x0000 (0-&gt;1)<br />2016-02-05 09:02:04 scdaemon[25686] handler for fd -1 terminated<br />2016-02-05 09:02:04 scdaemon[25686] scdaemon (GnuPG) 2.0.28 stopped<br /><br />This is the syslog:<br /><br />$ tail /var/log/syslog<br />Feb  5 09:01:52 mats-laptop kernel: [60842.195549] usb 3-1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes<br />Feb  5 09:01:52 mats-laptop kernel: [60842.196300] input: Yubico Yubikey NEO OTP+U2F+CCID as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:1050:0116.003A/input/input47<br />Feb  5 09:01:52 mats-laptop kernel: [60842.251024] hid-generic 0003:1050:0116.003A: input,hidraw1: USB HID v1.10 Keyboard [Yubico Yubikey NEO OTP+U2F+CCID] on usb-0000:00:14.0-1/input0<br />Feb  5 09:01:52 mats-laptop kernel: [60842.252348] hid-generic 0003:1050:0116.003B: hiddev0,hidraw2: USB HID v1.10 Device [Yubico Yubikey NEO OTP+U2F+CCID] on usb-0000:00:14.0-1/input1<br />Feb  5 09:01:52 mats-laptop pcscd: ifdhandler.c:130:CreateChannelByNameOrChannel() failed<br />Feb  5 09:01:52 mats-laptop pcscd: readerfactory.c:1043:RFInitializeReader() Open Port 0x200001 Failed (usb:1050/0116:libudev:0:/dev/bus/usb/003/018)<br />Feb  5 09:01:52 mats-laptop pcscd: readerfactory.c:335:RFAddReader() Yubico Yubikey NEO OTP+U2F+CCID init failed.<br />Feb  5 09:01:52 mats-laptop pcscd: ifdhandler.c:130:CreateChannelByNameOrChannel() failed<br />Feb  5 09:01:52 mats-laptop pcscd: readerfactory.c:1043:RFInitializeReader() Open Port 0x200002 Failed (usb:1050/0116:libudev:1:/dev/bus/usb/003/018)<br />Feb  5 09:01:52 mats-laptop pcscd: readerfactory.c:335:RFAddReader() Yubico Yubikey NEO OTP+U2F+CCID init failed.<br /><br />Might it be some library that is too old to handle Yubikey?<br /><br />I also tried starting a virtual machine and doing a fresh install of Ubuntu 15.10 adding Yubico ppa to it. gpg2 can see the yubikey, but I couldn't use it anyway (hardware error or something). Might be an error due to being a virtual machine, or perhaps is a clue to the real issue. Not sure which. Worth nothing however that in the VM I'm trying the Neo4, above is using Neo3. And I'm also trying key-signing using the Neo4 and VM, while I'm trying decryption using Neo3 on the host. Not sure if that makes any difference, though...<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4170">Mats</a> — Fri Feb 05, 2016 9:10 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Alessio]]></name></author>
<updated>2016-02-03T10:35:12+01:00</updated>
<published>2016-02-03T10:35:12+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2191&amp;p=8261#p8261</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2191&amp;p=8261#p8261"/>
<title type="html"><![CDATA[Re: Problems with Ubuntu 15.10 on one machine, but not anoth]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2191&amp;p=8261#p8261"><![CDATA[
Just to be clear, does this still work on your offline computer?<br /><br />I believe gpg is trying to use your other card reader.<br /><br />Try to disable it and restart scdaemon+gpg-agent or add &quot;reader-port Yubico&quot; to ~/.gnupg/scdaemon.conf (if you do this also add &quot;log-file /tmp/scdaemon.log&quot; and &quot;debug-level guru&quot; to get debug info from scd).<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3428">Alessio</a> — Wed Feb 03, 2016 10:35 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Mats]]></name></author>
<updated>2016-02-01T21:01:19+01:00</updated>
<published>2016-02-01T21:01:19+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2191&amp;p=8239#p8239</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2191&amp;p=8239#p8239"/>
<title type="html"><![CDATA[Problems with Ubuntu 15.10 on one machine, but not another]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2191&amp;p=8239#p8239"><![CDATA[
Hi,<br /><br />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.<br /><br />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:<br /><br />dmesg:<br />[ 2261.421087] usb 3-2: new full-speed USB device number 4 using xhci_hcd<br />[ 2261.550796] usb 3-2: New USB device found, idVendor=1050, idProduct=0407<br />[ 2261.550803] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br />[ 2261.550807] usb 3-2: Product: Yubikey 4 OTP+U2F+CCID<br />[ 2261.550809] usb 3-2: Manufacturer: Yubico<br />[ 2261.551066] usb 3-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes<br />[ 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<br />[ 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<br />[ 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<br /><br />pcsc_scan -n<br />PC/SC device scanner<br />V 1.4.24 (c) 2001-2011, Ludovic Rousseau &lt;ludovic.rousseau@free.fr&gt;<br />Compiled with PC/SC lite version: 1.8.11<br />Using reader plug'n play mechanism<br />Scanning present readers...<br />0: Lenovo Integrated Smart Card Reader 00 00<br />1: Yubico Yubikey 4 OTP+U2F+CCID 01 00<br /><br />Mon Feb  1 20:58:41 2016<br />Reader 0: Lenovo Integrated Smart Card Reader 00 00<br />  Card state: Card removed, <br />Reader 1: Yubico Yubikey 4 OTP+U2F+CCID 01 00<br />  Card state: Card inserted, <br />  ATR: 3B F8 13 00 00 81 31 FE 15 59 75 62 69 6B 65 79 34 D4<br /><br />neoman can find the card just fine, so can yubikey-personalize-gui.<br /><br />GPG_AGENT_INFO= gpg2 --debug-level guru  --card-status<br />gpg: enabled debug flags: packet mpi cipher filter iobuf memory cache memstat trust hashing extprog cardio assuan<br />gpg: DBG: connection to agent established<br />scdaemon[3669]: pcsc_control failed: invalid handle (0x80100003)<br />scdaemon[3669]: pcsc_vendor_specific_init: GET_FEATURE_REQUEST failed: 65538<br />gpg: selecting openpgp failed: Card not present<br />gpg: OpenPGP card not available: Card not present<br />random usage: poolsize=600 mixed=0 polls=0/0 added=0/0<br />              outmix=0 getlvl1=0/0 getlvl2=0/0<br />secmem usage: 0/65536 bytes in 0 blocks<br />mats@mats-laptop:/etc$ scdaemon[3669]: updating slot 0 status: 0x0000-&gt;0x0000 (0-&gt;1)<br />scdaemon[3669]: scdaemon (GnuPG) 2.0.28 stopped<br /><br />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.<br /><br />Any suggestions as how to debug this?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4170">Mats</a> — Mon Feb 01, 2016 9:01 pm</p><hr />
]]></content>
</entry>
</feed>