Automatically reorder OpenPGP packets upon --import and --recv-key

Guilhem Moulin guilhem at
Fri Dec 30 00:11:01 CET 2016

Hi there,

Some keys are found on the keyserver network with non-self signatures
incorrectly attached to a subkey instead of a UID (cf. Issue2236).

Since 2.1.13 it's possible to reorder fix these keys by running the
‘check’ command of the gpg shell.  However the procedure currently has
to be repeated after refreshing the keyring, since each --refresh-keys
command downloads the badly ordered key again.

In msg8279 Werner wrote that “We will eventually call that reorder
function during import.  But let's wait for bug reports with the
--edit-key triggered code.”  This code has been working fine for me
since 2.1.13, so I was wondering if it could be activated for --import
(and --recv-key) in 2.1.18?  (So we get this in the next Debian stable

Moreover, as Neal pointed out to me privately, there is no overhead for
keys that don't have incorrectly placed signature packets.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: </pipermail/attachments/20161230/2066e03d/attachment.sig>

More information about the Gnupg-devel mailing list