Home GnuPG
Diffusion GnuPG 2ddfb5bef920

gpg: Add new usage option for drop-subkey filters.

Description

gpg: Add new usage option for drop-subkey filters.

* g10/import.c (impex_filter_getval): Add new "usage" property for
drop-subkey filter.

For example, this permits extraction of only encryption-capable
subkeys like so:

gpg --export-filter 'drop-subkey=usage !~ e' --export $FPR
  • GnuPG-Bug-id: T4019
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Provenance
dkgAuthored on Jun 12 2018, 6:41 AM
wernerCommitted on Jun 12 2018, 8:19 AM
Parents
rG615b9d1fb779: doc: Include release info from 2.2.8
Branches
Unknown
Tags
Unknown
Tasks
T4019: --export-filter drop-subkey filter type should have usage option property