<?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=1819" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2015-04-08T06:59:36+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=1819</id>
<entry>
<author><name><![CDATA[yubibob]]></name></author>
<updated>2015-04-08T06:59:36+01:00</updated>
<published>2015-04-08T06:59:36+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1819&amp;p=7144#p7144</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1819&amp;p=7144#p7144"/>
<title type="html"><![CDATA[&quot;Unusable secret key&quot; - any ideas?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1819&amp;p=7144#p7144"><![CDATA[
Hi Guys,<br />My Yubikey Neo is all set up working for encryption and decryption. However I can not get signatures to work. When I try, I get &quot;Unusable secret key&quot; error. Any clues?<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$ gpg -s -v -u paul@xxxx.com test.txt<br />gpg: skipped &quot;paul@xxxx.com&quot;: Unusable secret key<br />gpg: signing failed: Unusable secret key<br /></div><br /><br />The keys all look good:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">Signature key ....: 45C1 5BC8 EAB1 4207 2E3B  9CDD 4993 xxxx 8AE8 xxxx<br />      created ....: 2015-04-07 17:18:26<br />Encryption key....: AB1F 31B2 1266 C8AF 06B9  780C A860 xxxx 4ABC xxxx<br />      created ....: 2015-04-07 17:17:33<br />Authentication key: 2B58 17B6 A7ED 7B2E 5304  747C F422 xxxx 94D0 xxxx<br />      created ....: 2015-04-07 17:18:43<br />General key info..: pub  2048R/8AE8xxxx 2015-04-07 Paul &lt;paul@xxxx.com&gt;<br />sec#  4096R/A00xxxx  created: 2015-04-07  expires: 2018-04-06<br />ssb&gt;  2048R/4ABxxxx  created: 2015-04-07  expires: 2016-04-06<br />                      card-no: 0006 03027655<br />ssb&gt;  2048R/8AE8xxxx  created: 2015-04-07  expires: 2016-04-06<br />                      card-no: 0006 03027655<br />ssb&gt;  2048R/94D0xxxx  created: 2015-04-07  expires: 2016-04-06<br />                      card-no: 0006 03027655<br />Signature key ....: 45C1 5BC8 EAB1 4207 2E3B  9CDD 4993 7E87 8AE8 9765<br />      created ....: 2015-04-07 17:18:26<br />Encryption key....: AB1F 31B2 1266 C8AF 06B9  780C A860 927F 4ABC 7C0A<br />      created ....: 2015-04-07 17:17:33<br />Authentication key: 2B58 17B6 A7ED 7B2E 5304  747C F422 EEF1 94D0 7DB7<br />      created ....: 2015-04-07 17:18:43<br />General key info..: pub  2048R/8AE89765 2015-04-07 Paul &lt;paul@xxxx.com&gt;<br />sec#  4096R/A008087C  created: 2015-04-07  expires: 2018-04-06<br />ssb&gt;  2048R/4ABC7C0A  created: 2015-04-07  expires: 2016-04-06<br />                      card-no: 0006 03027yyy<br />ssb&gt;  2048R/8AE89765  created: 2015-04-07  expires: 2016-04-06<br />                      card-no: 0006 03027yyy<br />ssb&gt;  2048R/94D07DB7  created: 2015-04-07  expires: 2016-04-06<br />                      card-no: 0006 03027yyy<br /></div><br /><br />Some more detail:<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">$gpg --debug 64 -s -u &#91;email blocked&#93; test.txt<br />gpg: reading options from `/Users/bob/.gnupg/gpg.conf'<br />gpg: enabled debug flags: cache<br />gpg: DBG: finish_lookup: checking key A008xxxC (all)(req_usage=0)<br />gpg: DBG:   using key A008087C<br />gpg: DBG: finish_lookup: checking key A008xxxC (all)(req_usage=1)<br />gpg: DBG:   primary key usage does not match: want=1 have=4<br />gpg: DBG:   no suitable key found -  giving up<br />gpg: skipped &quot;&#91;email blocked&#93;&quot;: Unusable secret key<br />gpg: signing failed: Unusable secret key<br />secmem usage: 0/32768 bytes in 0 blocks<br /></div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3639">yubibob</a> — Wed Apr 08, 2015 6:59 am</p><hr />
]]></content>
</entry>
</feed>