<?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=35&amp;t=2455" />

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

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=35&amp;t=2455</id>
<entry>
<author><name><![CDATA[japanskcykel]]></name></author>
<updated>2016-10-15T19:26:21+01:00</updated>
<published>2016-10-15T19:26:21+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2455&amp;p=9090#p9090</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2455&amp;p=9090#p9090"/>
<title type="html"><![CDATA[[QUESTION] OpenPGP Smartcard Feature]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2455&amp;p=9090#p9090"><![CDATA[
Hello,<br /><br />I've recently purchased a Yubikey 4 from a third-part retailer (Dustin AB), and almost everything has been working flawlessly.<br />However, I've been having problems on setting up the OpenPGP smartcard support with GnuPG on my GNU/Linux system.<br />Basically, I've followed this guide (I've also tried the official guide): <a href="https://malcolmsparks.com/posts/yubikey-gpg.html" class="postlink">https://malcolmsparks.com/posts/yubikey-gpg.html</a><br /><br /><ul>1) Fetched <em>gnupg</em>, <em>pcsclite</em>, <em>pcsc-tools</em> and <em>ccid</em> from the official Arch Linux repositories.<br />2) Asserted that my Yubikey 4 could be found with <em>pcsc_scan -n</em>, <em>lsusb</em> and <em>ykinfo -a</em>.<br />3) Finally, typed <em>gpg2 --card-status</em> (while the Yubikey 4 was connected).<br />4) The following error is reported: <em>gpg: OpenPGP card not available: Not supported</em><br />5) No additional output. <em>gpg-agent</em> seems to be active with a few <em>scdaemon</em> instances.<br /></ul><br />Honestly, I have no idea what the problem is. The same is happening with my friend's YubiKey 4 while also running Linux.<br />I've attempted this on my other friend's Windows 10 partition, and I have the exact same problems as seen above.<br />Anyway, to better help in diagnosis, I've attached some settings and some output (redacted some information).<br /><br /><img src="http://i.imgur.com/EXU5qNo.png" alt="Image" /><br />(Slot 1 hasn't been touched, Slot 2 is OATH-HOTP).<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent"># gpg.conf<br />use-agent<br /></div><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent"># gpg-agent.conf<br />enable-ssh-support<br />default-cache-ttl 7200<br />log-file ${HOME}/.gnupg/gpg-agent.log<br /></div><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent"># scdaemon.conf<br />reader-port &quot;Yubico Yubikey 4 OTP+U2F+CCID 00 00&quot;<br />log-file ${HOME}/.gnupg/scdaemon.log<br />debug-level advanced<br />card-timeout 2<br />verbose<br /></div><br /><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />gpg --version<br />gpg (GnuPG) 2.1.15<br />libgcrypt 1.7.3<br />Copyright (C) 2016 Free Software Foundation, Inc.<br />License GPLv3+: GNU GPL version 3 or later &lt;https://gnu.org/licenses/gpl.html&gt;<br />This is free software: you are free to change and redistribute it.<br />There is NO WARRANTY, to the extent permitted by law.<br /><br />Home: /home/xxxxxxxxxxxx/.gnupg<br />Supported algorithms:<br />Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA<br />Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,<br />        CAMELLIA128, CAMELLIA192, CAMELLIA256<br />Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224<br />Compression: Uncompressed, ZIP, ZLIB, BZIP2<br /></div><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />gpg2 --card-status<br />gpg: OpenPGP card not available: Not supported<br /></div><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />lsusb<br />xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br />xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br />xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br />xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br />xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br />xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br />Bus 001 Device 009: ID 1050:0407 Yubico.com Yubikey 4 OTP+U2F+CCID<br />xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br />xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br /></div><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />serial: xxxxxxx<br />serial_hex: xxxxxx<br />serial_modhex: xxxxxx<br />version: 4.3.1<br />touch_level: 527<br />programming_sequence: 3<br />slot1_status: 1<br />slot2_status: 1<br />vendor_id: 1050<br />product_id: 407<br /></div><br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />pcsc_scan -n<br />Scanning present readers...<br />0: Yubico Yubikey 4 OTP+U2F+CCID 00 00<br /><br />Sat Oct 15 21:39:39 2016<br />Reader 0: Yubico Yubikey 4 OTP+U2F+CCID 00 00<br />  Card state: Card inserted,<br />  ATR: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX<br /></div><br /><br />Any suggestions are greatly appreciated!<br />Thanks for your help and time!<br />Best regards, JapanskCykel<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4513">japanskcykel</a> — Sat Oct 15, 2016 7:26 pm</p><hr />
]]></content>
</entry>
</feed>