Page MenuHome GnuPG

--export-filter drop-subkey filter type should have usage option property
Closed, ResolvedPublic

Description

I want to be able to do something like this to be able to export only valid, non-expired encryption-capable subkeys:

gpg --export-filter 'drop-subkey=expired -t || revoked -t || usage !~ e'

what's missing is the usage option for the drop-subkey filter type for --export-filter.

This doesn't seem to be implemented yet, though Werner mentioned it over a year ago on gnupg-users as a desirable outcome:

This is just a first step; we also need a properties for the key capability.

Details

Version
2.2.8

Event Timeline

dkg renamed this task from --export-filter drop-subkey filter type should have usage_flag option property to --export-filter drop-subkey filter type should have usage option property.Jun 12 2018, 6:43 AM
dkg updated the task description. (Show Details)
werner triaged this task as Normal priority.Jun 12 2018, 8:21 AM
werner added a project: backport.
werner added a subscriber: werner.

Thanks. Pushed to master. I think it should also go into 2.2.

werner claimed this task.
werner removed a project: backport.