Automate PGP decryption and pass phrase entry

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Automate PGP decryption and pass phrase entryExpand / Collapse
Author
Message
Posted 5/13/2008 4:53:29 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/13/2008 4:53:29 PM
Posts: 2, Visits: 6
I want to be able to write a script that will connect to a server to retrieve an encrypted file.  I want it to decrypt the file without expecting manual entry of the pass phrase.  Initially, the file wasn't being decrypted but I soon found out that if I renamed it to include the .pgp extension, then it would try to decrypt but it gets stuck when it's waiting on the pass phrase.  When I created the key pair, I did not elect to save the pass phrase.  If I had, would it have worked?   Is this the only way it will work or can I supply the pass phrase in the script?  How can I go back and 'save' the pass phrase if it can't be included in the script?

Thanks

Post #43762
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Mark Singh, kevin r gillis, Jason Benton, Brandon Felger, Ben Henderson, Tripp Allen, Will Sansbury, Hush, FTPplanet.com, Hugh Garber, WUP-PM, mmulryan@ipswitch.com, mswimm

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 5:35pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.063. 9 queries. Compression Enabled.