Yubico Forum
https://forum.yubico.com/

Cannot sign with Signature key
https://forum.yubico.com/viewtopic.php?f=26&t=1890
Page 1 of 1

Author:  dangersalad [ Mon May 25, 2015 7:42 pm ]
Post subject:  Cannot sign with Signature key

I have loaded my 3 sub keys to my yubikey neo per these instructions. When I use another computer, I am able to successfuly decrypt messages, but I am unable to sign messages. It says that there is no secret key

the public key info from gpg

Code:
 % gpg --fingerprint paul@dangersalad.com
pub   rsa4096/0x05041AFE9A54C5FB 2015-05-17 [expires: 2016-05-16]
      Key fingerprint = 21A8 557B 914A 7EA0 6E99  B6AF 0504 1AFE 9A54 C5FB
uid                 [ultimate] Paul B Davis <paul@dangersalad.com>
uid                 [ultimate] Paul B Davis <paul.dangersalad@gmail.com>
sub   rsa2048/0x86B4880A6BBE8D2D 2015-05-17 [expires: 2016-05-16]
      Key fingerprint = 33A5 0E9F 9735 EA5D 2071  9C6C 86B4 880A 6BBE 8D2D
sub   rsa2048/0x773EE79D04E793DE 2015-05-17 [expires: 2016-05-16]
      Key fingerprint = B671 2D7C 74D3 7FB3 94D1  0914 773E E79D 04E7 93DE
sub   rsa2048/0xC030C15E610FBAF5 2015-05-17 [expires: 2016-05-16]
      Key fingerprint = 1AC9 C72D 4CDB 0D17 5BE5  16A7 C030 C15E 610F BAF5
sub   rsa4096/0x4AFFC9ADA73D7D8A 2015-05-21 [expires: 2017-05-20]
      Key fingerprint = EC08 8C41 7530 0E1D 0D5A  E0B2 4AFF C9AD A73D 7D8A



the card info


Code:
Application ID ...: D2760001240102000006036310920000
Version ..........: 2.0
Manufacturer .....: Yubico
Serial number ....: 03631092
Name of cardholder: Paul Davis
Language prefs ...: en
Sex ..............: male
URL of public key : http://hkps.pool.sks-keyservers.net/pks/lookup?op=get&search=0x05041AFE9A54C5FB
Login data .......: paul
Signature PIN ....: forced
Key attributes ...: 2048R 2048R 2048R
Max. PIN lengths .: 127 127 127
PIN retry counter : 3 3 3
Signature counter : 11
Signature key ....: 33A5 0E9F 9735 EA5D 2071  9C6C 86B4 880A 6BBE 8D2D
      created ....: 2015-05-17 19:24:57
Encryption key....: B671 2D7C 74D3 7FB3 94D1  0914 773E E79D 04E7 93DE
      created ....: 2015-05-17 19:26:06
Authentication key: 1AC9 C72D 4CDB 0D17 5BE5  16A7 C030 C15E 610F BAF5
      created ....: 2015-05-17 19:28:06
General key info..: sub  rsa2048/0x86B4880A6BBE8D2D 2015-05-17 Paul B Davis <paul@dangersalad.com>
sec   rsa4096/0x05041AFE9A54C5FB  created: 2015-05-17  expires: 2016-05-16
ssb>  rsa2048/0x86B4880A6BBE8D2D  created: 2015-05-17  expires: 2016-05-16
                                  card-no: 0006 03631092
ssb>  rsa2048/0x773EE79D04E793DE  created: 2015-05-17  expires: 2016-05-16
                                  card-no: 0006 03631092
ssb>  rsa2048/0xC030C15E610FBAF5  created: 2015-05-17  expires: 2016-05-16
                                  card-no: 0006 03631092
ssb#  rsa4096/0x4AFFC9ADA73D7D8A  created: 2015-05-21  expires: 2017-05-20


decryption works fine

Code:
 % gpg --encrypt -r paul@dangersalad.com <<<foobar | gpg --decrypt
gpg: encrypted with 2048-bit RSA key, ID 0x773EE79D04E793DE, created 2015-05-17
      "Paul B Davis <paul@dangersalad.com>"
foobar



signing does not

Code:
 % gpg --sign <<<foobar                                           
gpg: signing failed: No secret key
-----BEGIN PGP MESSAGE-----

gpg: signing failed: No secret key

 % gpg --local-user paul@dangersalad.com --sign <<<foobar
gpg: signing failed: No secret key
-----BEGIN PGP MESSAGE-----

gpg: signing failed: No secret key

 % gpg --default-key paul@dangersalad.com --sign <<<foobar
gpg: signing failed: No secret key
-----BEGIN PGP MESSAGE-----

gpg: signing failed: No secret key


Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/