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

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2015-07-16T23:50:22+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=23&amp;t=1843</id>
<entry>
<author><name><![CDATA[Aefan]]></name></author>
<updated>2015-07-16T23:50:22+01:00</updated>
<published>2015-07-16T23:50:22+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1843&amp;p=7602#p7602</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1843&amp;p=7602#p7602"/>
<title type="html"><![CDATA[Re: Generate keys on machine M1, decrypt on M2: how???]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1843&amp;p=7602#p7602"><![CDATA[
good question. i got the same problem now and the only ways to get it work seems to upload your public key to a keyserver or import the public or private key to your air-gapped M2. <br /><br />not that nice that i thought it could be. <br />i'm wondering that the public key can not be generated from the smartcard.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3800">Aefan</a> — Thu Jul 16, 2015 11:50 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rbondi]]></name></author>
<updated>2015-04-20T03:32:50+01:00</updated>
<published>2015-04-20T03:32:50+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1843&amp;p=7209#p7209</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1843&amp;p=7209#p7209"/>
<title type="html"><![CDATA[Generate keys on machine M1, decrypt on M2: how???]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1843&amp;p=7209#p7209"><![CDATA[
In the following use case, what's the best solution to the broken step 7?<br /><br />1. Insert Yubikey on machine M1 that has OpenGPG<br />2.  rm -rf .gnupg<br />3. gpg --card-edit, admin, generate <br />&gt;. AFAIK this installs a &quot;stub&quot; private key in the OpenGPG keychain, which I can now see.<br />4. Encrypt something with the new public key and send to machine M1<br />5. Eject Yubikey<br />6. Insert Yubikey into a totall different machine M2<br />7. Attempt to decrypt<br />&gt; Arrg! The OpenGPG Keychain on M2 doesn't have the &quot;stub&quot; private key, I can't do anything!<br /><br />I do know ways to get that stub into the keychain, but they are really sucky: <br />- Add a step 3.1: from the GPG keychain, export the secret key. Since it's just a stub, send it to M2, and import into the keychain on M2. <br />&gt; Sucky because of having to mess with an extra file.<br />- Or, Add a step 3.1:  upload the public key to a server. Then on machine M2, do: <div class="codetitle"><b>Code:</b></div><div class="codecontent">gpg --card-edit, fetch, quit;</div> followed by  <div class="codetitle"><b>Code:</b></div><div class="codecontent">gpg --card-status.</div> <br />&gt; Sucky because what if machine M2 is offline/airgapped, then this won't work.<br /><br />What I want is to be able to walk up to any machine that has OpenGPG installed, insert my Yubikey, access some ciphertext either online or from a USB, and decrypt. <br /><br />I don't want to have to mess with some file or key server (Steps 3.1 above) or arcane commands too. I just want to insert the Yubikey and start decrypting.<br /><br />Is there a way?<br /><br />TMIA, /rb<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=3659">rbondi</a> — Mon Apr 20, 2015 3:32 am</p><hr />
]]></content>
</entry>
</feed>