title: Exporting public key from GnuPG fails with "WARNING: nothing exported"
body: <p>Im new to PGP and I'm trying to generate a PGP private key using GnuPG through <a href="http://www.codeproject.com/Articles/457453/PGP-Encryption-with-Csharp" rel="noreferrer">this tutorial</a>.</p>
  
  <p>Basically, I have type the following command in command prompt (in administrator mode):</p>
  
  <ol>
  <li><code>gpg --gen-key</code></li>
  <li><p>Entered all the commands as below:
  <a href="https://i.stack.imgur.com/tGzCx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tGzCx.png" alt="enter image description here"></a></p></li>
  <li><p>Then I entered the command:</p>
  
  <pre><code>gpg --armor --output pubkey.txt --export 'Encryption purpose'
  </code></pre></li>
  </ol>
  
  <p>but get a</p>
  
  <blockquote>
    <p><strong>WARNING: nothing exported</strong></p>
  </blockquote>
  
  <p>message.</p>
  
  <p>Can someone tell me what I'm doing wrong? </p>
  
  <p>Also, I will be using PGP to encrypt a webapp download file. I'm planning to create a web application that will generate a file with random numbers that would need be encrypted (in PGP). Then to decrypt, I'm planning to create a stand alone application that will decrypt the file using the private key. So my question is:</p>
  
  <ol>
  <li><p>Is it possible to extract the private key from the original computer in which the private key was generated to be used with other computers so that other computers could also use the standalone application to decrypt the file using the private key from the original computer?</p></li>
  <li><p>If this is not possible, how do I share the private key for all computers with the decrypting standalone application (because as I understand, standalone application needs 'a' private key to decrypt the file)? Should I use multiple private keys? How to implement?</p></li>
  </ol>