Stripping expired subkey during export?

Daniel Kahn Gillmor dkg at
Tue Jun 12 09:21:54 CEST 2018

dredging this up from the past:

On Fri 2017-03-03 08:51:57 +0100, Werner Koch wrote:
> As a compatible hack we could add an 'expired' property to the
> export-filter's drop-subkey method.  Just did this:
>  gpg --export-options export-clean \
>      --export-filter drop-subkey='expired -t' \
>      --export 1e42b367 
> removes all my expired subkeys.  This is just a first step; we also need
> a properties for the key capability.

This is now underway, and will hopefully make it into the next release:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <>

More information about the Gnupg-users mailing list