summaryrefslogtreecommitdiffstats
path: root/doc/gpg.texi
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2018-06-12 06:41:59 +0200
committerWerner Koch <wk@gnupg.org>2018-06-12 08:19:19 +0200
commit2ddfb5bef920919443309ece9fa2930282bbce85 (patch)
tree37566c24d63909a8032718a8dd918713e5912ea3 /doc/gpg.texi
parentdoc: Include release info from 2.2.8 (diff)
downloadgnupg2-2ddfb5bef920919443309ece9fa2930282bbce85.tar.xz
gnupg2-2ddfb5bef920919443309ece9fa2930282bbce85.zip
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: 4019 Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'doc/gpg.texi')
-rw-r--r--doc/gpg.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 5f114c519..4cfd00079 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -2428,6 +2428,11 @@ The available properties are:
Boolean indicating whether a key or subkey is a secret one.
(drop-subkey)
+ @item usage
+ A string indicating the usage flags for the subkey, from the
+ sequence ``ecsa?''. For example, a subkey capable of just signing
+ and authentication would be an exact match for ``sa''. (drop-subkey)
+
@item sig_created
@itemx sig_created_d
The first is the timestamp a signature packet was created. The