chiark / gitweb /
gpg: Avoid spurious warnings about trust packets.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 6 May 2017 02:37:23 +0000 (22:37 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 18 Sep 2017 20:41:12 +0000 (21:41 +0100)
commitcfbad8ca58f3b853f6781860729e9b57b231df3f
tree776cc7c84349dbca9ce1b2f96812de48214aee46
parentdf5253254feff32813b48708bc36ea825d4f025c
gpg: Avoid spurious warnings about trust packets.

* g10/keydb.c (parse_keyblock_image): Do not emit a warning when
skipping a trust packet.

--

2.1.20 and later store trust packets in the keybox.  If an older
version (like 2.1.18) ends up accessing a keybox that 2.1.20 or later
has used, it produces many spurious warnings like:

    gpg: skipped packet of type 12 in keybox

This is a temporary cleanup to avoid these specific warnings; it can
be dropped when moving to 2.1.20 or later.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Gbp-Pq: Topic avoid-spurious-warnings
Gbp-Pq: Name 0078-gpg-Avoid-spurious-warnings-about-trust-packets.patch
g10/keydb.c