Different gpg.conf files for 1.4 and 2.1

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Dec 4 01:41:44 CET 2014


On 12/03/2014 07:27 PM, MFPA wrote:

> Is there a way to get GnuPG 1.4 to use one gpg.conf file and GnuPG 2.1
> to use a different gpg.conf file? (Other than state it on the command
> line every time.) Under Windows XP, in case it matters.

gpg 2.1.0 will look for the following files in $GNUPGHOME and choose the
first one it finds:

 gpg.conf-2.1.0
 gpg.conf-2.1
 gpg.conf-2
 gpg.conf

gpg 1.4.18 will do the same sort of search:

 gpg.conf-1.4.18
 gpg.conf-1.4
 gpg.conf-1
 gpg.conf

hth,

	--dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20141203/2df028fd/attachment.sig>


More information about the Gnupg-users mailing list