0

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?

4

1 回答 1

1

同时使用--encrypt--sign操作,例如。

gpg --armor --recipient a4ff2279 --sign --encrypt <input

根据需要调整输入管道,在 Windows 系统上您可能需要gpg.exe改用(并确保 GnuPG 在您的路径变量中)。

于 2014-11-26T17:33:27.253 回答