<?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=35&amp;t=2550" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2017-02-08T15:55:24+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=35&amp;t=2550</id>
<entry>
<author><name><![CDATA[Mathieulh]]></name></author>
<updated>2017-02-08T15:55:24+01:00</updated>
<published>2017-02-08T15:55:24+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2550&amp;p=9365#p9365</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2550&amp;p=9365#p9365"/>
<title type="html"><![CDATA[Re: How to backup a YubiKey when all keys are moved to it?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2550&amp;p=9365#p9365"><![CDATA[
<div class="quotetitle">TheStigh wrote:</div><div class="quotecontent"><br />Hi,<br /><br />After moving all keys from the local certificate to the YubiKey 4 (according to <!-- m --><a class="postlink" href="https://github.com/drduh/YubiKey-Guide/blob/master/README.md#export-public-key">https://github.com/drduh/YubiKey-Guide/ ... public-key</a><!-- m -->) I would like to have a backup YubiKey stored on a safe location.<br /><br />Is it possible to do this by any commands or routine?<br /><br />The only way I see it at the moment is to:<br />- Delete all existing local keyrings/trust.db<br />- Import the backed up certificate<br />- Re-do the procedure (<!-- m --><a class="postlink" href="https://github.com/drduh/YubiKey-Guide/blob/master/README.md#export-public-key">https://github.com/drduh/YubiKey-Guide/ ... public-key</a><!-- m -->) to the new YubiKey<br /><br />Hopefully there is an easier way...<br /></div><br /><br /><br />-----BEGIN PGP SIGNED MESSAGE-----<br />Hash: SHA512<br /><br /><br />It's actually the only way, you need to use the gpg --delete-secret-keys command and to import your subkeys again to your new yubikey (after using the gpg --card-status command) (you need to have exported these BEFORE using the keytocard command, otherwise they are lost and you need to revoke those subkeys and generate (and export) new ones, assuming you still have access to your master key.)<br />-----BEGIN PGP SIGNATURE-----<br /><br />iQEcBAEBCgAGBQJYmzF6AAoJEKa4nBz3AlIIrzAH/RMuvtMXfwCNlnBJUQ3Ly/ED<br />Fy+nBJFtNdPQe9/8ndgbRbghtjKDTRr5u9Nzw3H0VAKFxhi5b22VNZ0Xbt8199/Q<br />O4MjDSUD+lKkmvHtsJdC/xsXk7pkJeQP4h2DzjimZjgWgK5lRlQqXtqW57+CrrSR<br />ldZ5hIOw8M9W8q3tuEdibD99P5ASw7S08XSum3wxyPx7Yje4KN1xvx+SVAFutYLJ<br />TtGAx3yv+1Up9AnANhTEgGXqAS0JrxTgCkA/o87vnMplzThD2IspgUzyze7PoIlG<br />8/3awVMIIpuHYdyb/EfsXui8Ey8y3ZvrDikT4y+Fnk7TthkNXnzsQCvRsLcakQM=<br />=gnbK<br />-----END PGP SIGNATURE-----<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3608">Mathieulh</a> — Wed Feb 08, 2017 3:55 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[TheStigh]]></name></author>
<updated>2017-02-01T17:29:23+01:00</updated>
<published>2017-02-01T17:29:23+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2550&amp;p=9346#p9346</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2550&amp;p=9346#p9346"/>
<title type="html"><![CDATA[How to backup a YubiKey when all keys are moved to it?]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2550&amp;p=9346#p9346"><![CDATA[
Hi,<br /><br />After moving all keys from the local certificate to the YubiKey 4 (according to <!-- m --><a class="postlink" href="https://github.com/drduh/YubiKey-Guide/blob/master/README.md#export-public-key">https://github.com/drduh/YubiKey-Guide/ ... public-key</a><!-- m -->) I would like to have a backup YubiKey stored on a safe location.<br /><br />Is it possible to do this by any commands or routine?<br /><br />The only way I see it at the moment is to:<br />- Delete all existing local keyrings/trust.db<br />- Import the backed up certificate<br />- Re-do the procedure (<!-- m --><a class="postlink" href="https://github.com/drduh/YubiKey-Guide/blob/master/README.md#export-public-key">https://github.com/drduh/YubiKey-Guide/ ... public-key</a><!-- m -->) to the new YubiKey<br /><br />Hopefully there is an easier way...<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4650">TheStigh</a> — Wed Feb 01, 2017 5:29 pm</p><hr />
]]></content>
</entry>
</feed>