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

[SOLVED] - Can't put gpg keys onto NEO
https://forum.yubico.com/viewtopic.php?f=26&t=1413
Page 1 of 1

Author:  cgkades [ Tue Jun 24, 2014 8:00 pm ]
Post subject:  [SOLVED] - Can't put gpg keys onto NEO

After getting the gpg applet on the NEO I can't seem to get it to take any keys.

gpg2 fails completely

Code:
$ gpg2 --card-status
gpg: selecting openpgp failed: Unsupported certificate
gpg: OpenPGP card not available: Unsupported certificate


gpg works... ish

Code:
$ gpg --card-status
gpg: detected reader `Yubico Yubikey NEO OTP+CCID 00 00'
Application ID ...: D2760001240102000000000000010000
Version ..........: 2.0
Manufacturer .....: test card
Serial number ....: 00000001
Name of cardholder: [not set]
Language prefs ...: [not set]
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: not forced
Key attributes ...: 2048R 2048R 2048R
Max. PIN lengths .: 127 127 127
PIN retry counter : 3 3 3
Signature counter : 0
Signature key ....: [none]
Encryption key....: [none]
Authentication key: [none]
General key info..: [none]


But following the guide here http://www.digitalllama.net/2014/03/imp ... -into.html

Code:
$ gpg --edit-key 5BF7B21C
gpg (GnuPG) 1.4.16; Copyright (C) 2013 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Secret key is available.

pub  2048R/5BF7B21C  created: 2014-06-24  expires: never       usage: SC 
                     trust: ultimate      validity: ultimate
sub  2048R/188997C2  created: 2014-06-24  expires: never       usage: E   
sub  2048R/2283BDFE  created: 2014-06-24  expires: never       usage: S   
[ultimate] (1). Brett  <redacted>

gpg> toggle

sec  2048R/5BF7B21C  created: 2014-06-24  expires: never     
ssb  2048R/188997C2  created: 2014-06-24  expires: never     
ssb  2048R/2283BDFE  created: 2014-06-24  expires: never     
(1)  Brett  <redacted>

gpg> key 1

sec  2048R/5BF7B21C  created: 2014-06-24  expires: never     
ssb* 2048R/188997C2  created: 2014-06-24  expires: never     
ssb  2048R/2283BDFE  created: 2014-06-24  expires: never     
(1)  Brett  <redacted>

gpg> keytocard
gpg: detected reader `Yubico Yubikey NEO OTP+CCID 00 00'
Signature key ....: [none]
Encryption key....: [none]
Authentication key: [none]

Please select where to store the key:
   (2) Encryption key
Your selection? 2

You need a passphrase to unlock the secret key for
user: "Brett  <redacted>"
2048-bit RSA key, ID 188997C2, created 2014-06-24

gpg: writing new key
gpg: error writing key to card: not supported

gpg> quit



ANY ideas?

Author:  cgkades [ Tue Jun 24, 2014 11:43 pm ]
Post subject:  Re: Can't put gpg keys onto NEO

Looks to be a linux problem... annoyingly enough it works in windows

Author:  cgkades [ Thu Jun 26, 2014 4:16 am ]
Post subject:  Re: Can't put gpg keys onto NEO

so, turns out i was missing a package, so i'm posting this in case anyone runs into the same issue

yum install gnupg2-smime

Author:  Tom [ Thu Jun 26, 2014 7:22 am ]
Post subject:  Re: Can't put gpg keys onto NEO

Please mark solved posts by adding the [SOLVED] tag in the title.

Thanks

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