IT Employment

General discussion


pgp encryption and pass phrases

By mikea ·
Does anyone know a good way of scripting the pass phrase on a pgp encrypted file? We need to automate the decryption of a file that is pass phrase protected.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

pgp encryption and pass phrases

by drknotts In reply to pgp encryption and pass p ...

Assuming that your passphrase is PassPhrase and the file to be decrypted is EncryptedFile.pgp, you would include the following lines in your script:

set PGPPASS=PassPhrase
pgp EncryptedFile.pgp

Related Discussions

Related Forums