[clue] shell script using pgp to decrypt file

Dan Kulinski daniel at kulinski.net
Wed Apr 18 14:10:47 MDT 2012


If the key is in your keychain you don't need to specify the key file, if
it isn't in the keychain you will have to import it.

Generally an encrypted file you receive has been encrypted using your
public key and your private key is trusted in your private keychain.

Dan

On Wed, Apr 18, 2012 at 1:58 PM, Mike Staver <staver at fimble.com> wrote:

>  The files were encrypted via PGP using RoboFTP on windows. So, the
> command RoboFTP uses is something like
>
> pgpdecrypt filename key
>
> Sorry, I'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.
>
> On 4/18/12 1:53 PM, Dan Kulinski wrote:
>
> Was this encrypted using your public key?  Is the private key in your key
> chain?
>
> If so it should be as easy as:
>
> gpg --decrypt <filename> -o <output filename>
>
> Dan
>
>  On Wed, Apr 18, 2012 at 1:46 PM, Mike Staver <staver at fimble.com> wrote:
>
>> Does anybody know how to decrypt a pgp file, ideally in a shell script?
>> I can finds lots of documentation on how to use PGP with various email
>> programs, but I can't find a way to decrypt pgp files on *nix via
>> command line. I have the appropriate keys - just not a binary.
>> _______________________________________________
>> clue mailing list: clue at cluedenver.org
>> For information, account preferences, or to unsubscribe see:
>> http://cluedenver.org/mailman/listinfo/clue
>>
>
>
>
> _______________________________________________
> clue mailing list: clue at cluedenver.org
> For information, account preferences, or to unsubscribe see:http://cluedenver.org/mailman/listinfo/clue
>
>
> _______________________________________________
> clue mailing list: clue at cluedenver.org
> For information, account preferences, or to unsubscribe see:
> http://cluedenver.org/mailman/listinfo/clue
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20120418/bcff356f/attachment.html 


More information about the clue mailing list