chiark / gitweb /
gpg: Make sure the conflict set includes the current key.
authorNeal H. Walfield <neal@g10code.com>
Fri, 17 Mar 2017 12:36:51 +0000 (13:36 +0100)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 18 Sep 2017 20:41:12 +0000 (21:41 +0100)
commitac0fdba6400c9810df9da850cb859f04b471dffe
tree3c7be4205c8bc74c2262e0913cb9da9b54b0bfb4
parent3aedd3b22980f6fdfe59a42d76ac6cfabfceca1e
gpg: Make sure the conflict set includes the current key.

* g10/tofu.c (get_trust): Sanity check CONFLICT_SET after calling
get_policy.  If POLICY is 'auto' and the default policy is 'ask', make
sure CONFLICT_SET includes the current key.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
GnuPG-bug-id: 2959
Debian-bug-id: 854829

Signed-off-by: Neal H. Walfield <neal@g10code.com>
(cherry picked from commit b1106b4d640325c60a7212a4a44e4f67c0e3312d)

Gbp-Pq: Name 0052-gpg-Make-sure-the-conflict-set-includes-the-current-.patch
g10/tofu.c