GPG is not working because of gpg.conf

Peter Lebbing peter at digitalbrains.com
Mon Mar 5 12:56:49 CET 2018


On 05/03/18 10:41, Basix wrote:
> I don't think this error is because of that because error message says gpg.conf.

The problem is that the log-file option is not supported by GnuPG 1.4;
it was introduced in some 2.x version.

GnuPG 1.4.22 will look for the following files in order:
~/.gnupg/gpg.conf-1.4.22
~/.gnupg/gpg.conf-1.4
~/.gnupg/gpg.conf-1
~/.gnupg/gpg.conf

and it will take the first one it sees and stop there. By creating
gpg.conf-1, it will never get to gpg.conf and take the unsupported
option from there. Any configuration for GnuPG 1.4.22 will have to be
done in gpg.conf-1, and a 2.x version will still pick up the log-file
option from gpg.conf.

HTH,

Peter.

-- 
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>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180305/0ce73998/attachment-0001.sig>


More information about the Gnupg-users mailing list