WinBatch® Technical Support Forum

Archived Boards => WinBatch Script Exchange => Topic started by: jpaton on April 09, 2014, 07:01:10 AM

Title: PGP Encryption/Decryption
Post by: jpaton on April 09, 2014, 07:01:10 AM
Is there a way to use Winbatch to decrypt or encrypt files with PGP keys?
Title: Re: PGP Encryption/Decryption
Post by: Deana on April 09, 2014, 08:17:03 AM
WinBatch doesn't contain support of PGP encryption. However if you have a tool installed that handles PGP encryption, you can automate it via commandline or COM automation (if supported).

Or if you have a newer version of WinBatch that supports dotNet, you could use something like:

OpenPGP encrypt in .NET: http://www.didisoft.com/net-openpgp/ and http://www.didisoft.com/net-openpgp/examples/encrypt-file/