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

[HOW TO]Import your existing GPG key into a Neo from scratch
https://forum.yubico.com/viewtopic.php?f=26&t=1344
Page 2 of 3

Author:  Tom [ Thu Aug 14, 2014 8:42 am ]
Post subject:  Re: [HOW TO]Import your existing GPG key into a Neo from scr

Can you verify applet version >= 1.0.5

Author:  hqarrse [ Thu Aug 14, 2014 10:16 am ]
Post subject:  Re: [HOW TO]Import your existing GPG key into a Neo from scr

I'm having some trouble with this. I've tried the Windows Neo Manager (blank box for installed apps), plus the Linux command line tools. The most promising of these gives:

ykneomgr -a
error: ykneomgr_authenticate (-4): Backend error

How would I find the app version?

Author:  Tom [ Thu Aug 14, 2014 12:36 pm ]
Post subject:  Re: [HOW TO]Import your existing GPG key into a Neo from scr

gpg-connect-agent --hex "scd apdu 00 f1 00 00" /bye

Please follow this tutorial before posting:
http://opensource.yubico.com/ykneo-open ... mport.html

Author:  hqarrse [ Fri Aug 15, 2014 2:12 am ]
Post subject:  Re: [HOW TO]Import your existing GPG key into a Neo from scr

Apologies - I was in the wrong tutorial.

You are right I don't have >= 1.0.5, but 1.0.4.9. Last question the - I hope - before I attempt to upgrade, is that actually possible on a 3000000+ Neo? Or do I need the development version?

Thanks

Author:  Tom [ Fri Aug 15, 2014 7:27 am ]
Post subject:  Re: [HOW TO]Import your existing GPG key into a Neo from scr

Dear Hqarrse,

That is our fault, please contact support@yubico.com and ask them to send you a new Yubikey NEO. However, you will have to ship your current Yubikey NEO back to our facilities. You will be provided with a OpenPGP apple version 1.0.6

Best Regards,
Tommaso.

Author:  hqarrse [ Fri Aug 15, 2014 7:57 am ]
Post subject:  Re: [HOW TO]Import your existing GPG key into a Neo from scr

thanks for the clarification and the offer.

Author:  xychix [ Fri Jan 09, 2015 1:16 pm ]
Post subject:  Re: [HOW TO]Import your existing GPG key into a Neo from scr

Neal wrote:
[color=#FF0000]
You can now backup the private key from your computer (which only contains a stub of the full private key). This stub and the public key you saved earlier can be manually imported on any other computer without risking loss of control of your keys as you also need the Yubikey connected to use it.




Somehow I ended up with the stub key having a E (encryption) meaning that parties emailing me might use the E-stub-pub-key in stead of the E yubikey-pub-key

pub 4096R/32A6E903 2014-04-11 [expires: 2039-04-05]
Key fingerprint = 3C27 50BA F9D6 390E 2F7C 3C6B EDB4 E7BE 32A6 E903
uid Mark Bergman <m##k@b##nospam##n.nl>
sub 4096R/C939563E 2014-04-11 [expires: 2039-04-05]
sub 2048R/5EA8AE80 2014-04-11 [expires: 2017-04-10]
sub 2048R/B6E945E2 2014-04-11 [expires: 2017-04-10]
sub 2048R/DAC6EE43 2014-04-11 [expires: 2024-04-08]

I'll go ahead and revoke the C939563E key and beg the rest keeps working :P


gpg --edit-key mark@b##nospam##n.nl
gpg (GnuPG) 1.4.12; Copyright (C) 2012 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.


pub 4096R/32A6E903 created: 2014-04-11 expires: 2039-04-05 usage: SC
trust: unknown validity: unknown
sub 4096R/C939563E created: 2014-04-11 expires: 2039-04-05 usage: E
sub 2048R/5EA8AE80 created: 2014-04-11 expires: 2017-04-10 usage: E
sub 2048R/B6E945E2 created: 2014-04-11 expires: 2017-04-10 usage: S
sub 2048R/DAC6EE43 created: 2014-04-11 expires: 2024-04-08 usage: A
[ unknown] (1). Mark B##nospam##n <mark@b##nospam##n.nl>

Author:  jsqliu [ Tue Apr 07, 2015 4:11 pm ]
Post subject:  Re: [HOW TO]Import your existing GPG key into a Neo from scr

Hi I'm hoping to get help importing a GPG key into my Neo. The gpg command "addcardkey" is working for me but "keytocard" leads to "gpg: error writing key to card: not supported". Some details of my system:

Ubuntu 14.04
Yubikey Neo bought this year, firmware v3.3.0, OTP+U2F+CCID mode
libykpers-1-1 v1.17
gpg2 v2.0.22
gpg v1.4.16

The following command from the tutorial (https://developers.yubico.com/ykneo-ope ... mport.html) is also not working for me

$ gpg-connect-agent --hex "scd apdu 00 f1 00 00" /bye
ERR 103 unknown command

Author:  anhur [ Mon Apr 27, 2015 9:24 am ]
Post subject:  Re: [HOW TO]Import your existing GPG key into a Neo from scr

jsqliu wrote:
Hi I'm hoping to get help importing a GPG key into my Neo. The gpg command "addcardkey" is working for me but "keytocard" leads to "gpg: error writing key to card: not supported". Some details of my system:

Ubuntu 14.04
Yubikey Neo bought this year, firmware v3.3.0, OTP+U2F+CCID mode
libykpers-1-1 v1.17
gpg2 v2.0.22
gpg v1.4.16

The following command from the tutorial (https://developers.yubico.com/ykneo-ope ... mport.html) is also not working for me

$ gpg-connect-agent --hex "scd apdu 00 f1 00 00" /bye
ERR 103 unknown command



I am having the same exact problem over here. Anybody have any tips?

Author:  dilsha21 [ Fri May 08, 2015 7:10 pm ]
Post subject:  Re: [HOW TO]Import your existing GPG key into a Neo from scr

anhur wrote:
jsqliu wrote:
Hi I'm hoping to get help importing a GPG key into my Neo. The gpg command "addcardkey" is working for me but "keytocard" leads to "gpg: error writing key to card: not supported". Some details of my system:

Ubuntu 14.04
Yubikey Neo bought this year, firmware v3.3.0, OTP+U2F+CCID mode
libykpers-1-1 v1.17
gpg2 v2.0.22
gpg v1.4.16

The following command from the tutorial (https://developers.yubico.com/ykneo-ope ... mport.html) is also not working for me

$ gpg-connect-agent --hex "scd apdu 00 f1 00 00" /bye
ERR 103 unknown command



I am having the same exact problem over here. Anybody have any tips?




Still a problem and it's 2015. I have been Googling constantly and I can't find a solution. My OS is Linux Mint 17 Cinnamon 64-bit and everything else but my OpenPGP applet works.

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