If the key is in your keychain you don&#39;t need to specify the key file, if it isn&#39;t in the keychain you will have to import it.  <br><br>Generally an encrypted file you receive has been encrypted using your public key and your private key is trusted in your private keychain.<br>
<br>Dan <br><br><div class="gmail_quote">On Wed, Apr 18, 2012 at 1:58 PM, Mike Staver <span dir="ltr">&lt;<a href="mailto:staver@fimble.com">staver@fimble.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    The files were encrypted via PGP using RoboFTP on windows. So, the
    command RoboFTP uses is something like <br>
    <br>
    pgpdecrypt filename key<br>
    <br>
    Sorry, I&#39;m very limited in my knowledge on PGP. There is a private
    and public key? Not sure which I have, I just have a single key
    available to me. <br><div><div class="h5">
    <br>
    On 4/18/12 1:53 PM, Dan Kulinski wrote:
    <blockquote type="cite">Was this encrypted using your public key?  Is the
      private key in your key chain?<br>
      <br>
      If so it should be as easy as:<br>
      <br>
      gpg --decrypt &lt;filename&gt; -o &lt;output filename&gt;<br>
      <br>
      Dan<br>
      <br>
      <div class="gmail_quote">
        On Wed, Apr 18, 2012 at 1:46 PM, Mike Staver <span dir="ltr">&lt;<a href="mailto:staver@fimble.com" target="_blank">staver@fimble.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          Does anybody know how to decrypt a pgp file, ideally in a
          shell script?<br>
          I can finds lots of documentation on how to use PGP with
          various email<br>
          programs, but I can&#39;t find a way to decrypt pgp files on *nix
          via<br>
          command line. I have the appropriate keys - just not a binary.<br>
          _______________________________________________<br>
          clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>
          For information, account preferences, or to unsubscribe see:<br>
          <a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a>
For information, account preferences, or to unsubscribe see:
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a></pre>
    </blockquote>
  </div></div></div>

<br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div><br>