Minimum GPG version for export options?

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Nov 12 08:20:13 CET 2018


On Fri 2018-11-09 19:23:43 +0100, Albrecht Dreß wrote:
> Hi all,
>
> does a documentation exist which “--export-options” and “--export-filter” attributes are supported by which gpg version?
>
> In particular, I am interested in the minimum gpg version for a minimal, Autocrypt-compliant export of existing keys, using the following options:
> * --export-options export-minimal,no-export-attributes
> * --export-filter keep-uid=…
> * --export-filter drop-subkey=…

According to then NEWS file, --export-filter (and --import-filter) was
added in 2.1.14.

Note that the possible matches used for drop-subkey= have grown over
time.  most recently, 2.2.9 added a "usage" property as a matcher for
drop-subkey.

export-minimal and export-attributes have been in GnuPG for ages
(they're in the 1.4 branch), but i note that the implementation of
export-minimal has gotten tighter in version 2.2.9 (see
https://dev.gnupg.org/T3622).

Note that in the Debian operating system, I've backported several of
these changes to the version supported in debian stable (aka "debian
stretch" or "debian 9").  So while its version says "2.1.18", it does
include some fixed behavior, mainly to support modern versions of
Enigmail (see https://bugs.debian.org/909000 for more discussion).

Regareds,

        --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20181112/36992cb5/attachment.sig>


More information about the Gnupg-devel mailing list