When to use GPG flags

Peter Lebbing peter at digitalbrains.com
Sat Feb 20 12:28:44 CET 2016

On 20/02/16 01:09, Eric Pruitt wrote:
> For example, if I pipe a clearsigned message into GPG using "gpg
> --decrypt", GPG verifies the clearsigned signature and strips the
> "---BEGIN PGP...." and "---END PGP..." blocks.

For programmatic use of GnuPG, you should really be using a library,
preferably GPGME. That is the supported way of using GnuPG from another
program. Calling the gpg command line program directly is for use by
humans on a command line.



I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>

More information about the Gnupg-users mailing list