How to gpg encrypt with ssh public key?
<p>I have a public key in a file called <code>key.pub</code>, and the contents look like:</p>

<pre><code>ssh-rsa AAAAB...&lt;snip&gt;...t+f klahnakoski
</code></pre>

<p>I would like to to use it to encrypt a file with <code>gpg</code>.  What is the sequence of shell commands required?</p>

<p>I imagine the sequence looks something like:</p>

<ul>
<li>convert key to gpg-friendly format</li>
<li>invent some credentials to sign key with</li>
<li>invent a user to facilitate adding key to keyring</li>
<li>perform the encryption</li>
</ul>

<p>Thank you!</p>