I've been trying to figure out how to work the command lines for a GPA task that I want to automate. Currently, I just use GPA for Windows, select the key, select the file, check off "Armor", and click GO. There must be some command line interface for this. I'd like to work that into an automation program to eliminate the manual work.
Any ideas?
Use both the
--encrypt
and--sign
operations at the same time, eg.Adjust the input pipe as needed, and on Windows systems you might need to use
gpg.exe
instead (and make sure GnuPG is in your path variable).