]> git.eshelyaron.com Git - emacs.git/commit
Reject gpg 2.0 for epg configs by default (Bug#23561)
authorNoam Postavsky <npostavs@gmail.com>
Mon, 16 Jul 2018 01:40:05 +0000 (21:40 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Mon, 16 Jul 2018 01:51:54 +0000 (21:51 -0400)
commit4318d70677dedea12a3dcfb689bce71e409212f0
treefea8d8a95629bd145356329f47e55891071e0d07
parentf521161c1bc5a9cd10ee25ff5f4b7b8d753db55d
Reject gpg 2.0 for epg configs by default (Bug#23561)

Previously, gpg2 2.0 would be rejected, but the same version installed
as "gpg" would be accepted.

* lisp/epg-config.el (epg-gpg2-minimum-version): New constant.
(epg-config--program-alist) <OpenPGP>: Require a version in 1.4.3..2.0
or 2.1.6+., not just anything above 1.4.3.
(epg-check-configuration): Accept a list of required version
intervals, in addtion to just a single minimum.
lisp/epg-config.el