Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 7:47 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Apr 08, 2015 6:59 am 
Offline

Joined: Mon Apr 06, 2015 10:00 am
Posts: 3
Hi Guys,
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 "Unusable secret key" error. Any clues?

Code:
$ gpg -s -v -u paul@xxxx.com test.txt
gpg: skipped "paul@xxxx.com": Unusable secret key
gpg: signing failed: Unusable secret key


The keys all look good:
Code:
Signature key ....: 45C1 5BC8 EAB1 4207 2E3B  9CDD 4993 xxxx 8AE8 xxxx
      created ....: 2015-04-07 17:18:26
Encryption key....: AB1F 31B2 1266 C8AF 06B9  780C A860 xxxx 4ABC xxxx
      created ....: 2015-04-07 17:17:33
Authentication key: 2B58 17B6 A7ED 7B2E 5304  747C F422 xxxx 94D0 xxxx
      created ....: 2015-04-07 17:18:43
General key info..: pub  2048R/8AE8xxxx 2015-04-07 Paul <paul@xxxx.com>
sec#  4096R/A00xxxx  created: 2015-04-07  expires: 2018-04-06
ssb>  2048R/4ABxxxx  created: 2015-04-07  expires: 2016-04-06
                      card-no: 0006 03027655
ssb>  2048R/8AE8xxxx  created: 2015-04-07  expires: 2016-04-06
                      card-no: 0006 03027655
ssb>  2048R/94D0xxxx  created: 2015-04-07  expires: 2016-04-06
                      card-no: 0006 03027655
Signature key ....: 45C1 5BC8 EAB1 4207 2E3B  9CDD 4993 7E87 8AE8 9765
      created ....: 2015-04-07 17:18:26
Encryption key....: AB1F 31B2 1266 C8AF 06B9  780C A860 927F 4ABC 7C0A
      created ....: 2015-04-07 17:17:33
Authentication key: 2B58 17B6 A7ED 7B2E 5304  747C F422 EEF1 94D0 7DB7
      created ....: 2015-04-07 17:18:43
General key info..: pub  2048R/8AE89765 2015-04-07 Paul <paul@xxxx.com>
sec#  4096R/A008087C  created: 2015-04-07  expires: 2018-04-06
ssb>  2048R/4ABC7C0A  created: 2015-04-07  expires: 2016-04-06
                      card-no: 0006 03027yyy
ssb>  2048R/8AE89765  created: 2015-04-07  expires: 2016-04-06
                      card-no: 0006 03027yyy
ssb>  2048R/94D07DB7  created: 2015-04-07  expires: 2016-04-06
                      card-no: 0006 03027yyy


Some more detail:

Code:
$gpg --debug 64 -s -u [email blocked] test.txt
gpg: reading options from `/Users/bob/.gnupg/gpg.conf'
gpg: enabled debug flags: cache
gpg: DBG: finish_lookup: checking key A008xxxC (all)(req_usage=0)
gpg: DBG:   using key A008087C
gpg: DBG: finish_lookup: checking key A008xxxC (all)(req_usage=1)
gpg: DBG:   primary key usage does not match: want=1 have=4
gpg: DBG:   no suitable key found -  giving up
gpg: skipped "[email blocked]": Unusable secret key
gpg: signing failed: Unusable secret key
secmem usage: 0/32768 bytes in 0 blocks


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group