sign and encrypt from batch script

Roberts, David M [ITSYS] dmrober at
Thu Mar 29 15:45:21 CEST 2012


I've installed version 1.4.12, deleted and recreated the sym-link /usr/bin/gpg to point to the new executable instead of gpg2.  I also had to set the trust level on all the public keys in our key-ring, version 1.2.6 apparently didn't care if the trust level wasn't set.  Now the scripts are working on the new system.  

And gpg2 is still installed for all the dependencies linked to it under RHEL6.

David M. Roberts
Iowa State University
Information Technology Services
dmrober at

-----Original Message-----
From: gnupg-users-bounces at [mailto:gnupg-users-bounces at] On Behalf Of Robert J. Hansen
Sent: Wednesday, March 28, 2012 1:14 PM
To: gnupg-users at
Subject: Re: sign and encrypt from batch script

On 3/28/12 2:09 PM, Roberts, David M [ITSYS] wrote:
> Any help or insight is appreciated.

Switch to GnuPG 1.4.12.  This is not a downgrade; both GnuPG 1.4 and GnuPG 2 are fully-supported, stable code.  Your script will (likely!) work just fine with GnuPG 1.4.12.

Gnupg-users mailing list
Gnupg-users at

More information about the Gnupg-users mailing list