General discussion

Locked

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.

1 total post (Page 1 of 1)  
| 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

Back to IT Employment Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums