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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2015-11-18T14:22:40+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=2095</id>
<entry>
<author><name><![CDATA[hiviah]]></name></author>
<updated>2015-11-18T14:22:40+01:00</updated>
<published>2015-11-18T14:22:40+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2095&amp;p=7989#p7989</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2095&amp;p=7989#p7989"/>
<title type="html"><![CDATA[Re: [QUESTION] keytocard for new NEO]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2095&amp;p=7989#p7989"><![CDATA[
In short, you don't need to delete whole keyring, just the key that is marked as exported to smartcard (Neo). You first need to delete the secret key from keyring with gpg --delete-secret-key. Then you import the full key (how it was before you moved it to smartcard).<br /><br />Then you use the classic keytocard, etc.<br /><br />Note: new Yubikey will have different serial number from the old Yubikey (you can see that when using gpg --list-secret-keys). So you will be able to use only one Yubikey at a time, even if both have identical RSA keys on them.<br /><br />Therefore it may be good idea to use --export-secret-key before using --delete-secret-key. You can import it later if you need to use the original Yubikey as a backup (I have it set up this way).<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2457">hiviah</a> — Wed Nov 18, 2015 2:22 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[daveperera]]></name></author>
<updated>2015-11-17T04:35:11+01:00</updated>
<published>2015-11-17T04:35:11+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2095&amp;p=7983#p7983</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2095&amp;p=7983#p7983"/>
<title type="html"><![CDATA[[QUESTION] keytocard for new NEO]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2095&amp;p=7983#p7983"><![CDATA[
Hi, I'm trying to move keys from backup storage onto a new NEO. I've configured the NEO with new admin / users passwords, etc.  <br /><br />But because I've already sharded my key with a previous NEO (still in my possession, no need to generate new keys), I get this response when executing the gpg&gt; keytocard command: <br /><br />gpg: secret key already stored on a card. <br /><br />So now what? Do I delete the secring.gpg file on my hard drive and re-import the keys? Do I do that every time I configure a new NEO with my PGP keys?<br /><br />Help much appreciated! Thanks.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4033">daveperera</a> — Tue Nov 17, 2015 4:35 am</p><hr />
]]></content>
</entry>
</feed>