aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-08-18 14:15:49 +0000
committerWerner Koch <[email protected]>2016-08-18 14:15:49 +0000
commit1b55e864421f88b8c8088639682767076abbeab0 (patch)
tree89e3b55707c90ad1b796708cc4f38036882f6fc9 /doc
parentdoc: Add comments on how to parse --list-colons output. (diff)
downloadgnupg-1b55e864421f88b8c8088639682767076abbeab0.tar.gz
gnupg-1b55e864421f88b8c8088639682767076abbeab0.zip
gpg: Add import filter "drop-sig".
* g10/import.c (import_drop_sig): New variable. (cleanup_import_globals): Release that. (parse_and_set_import_filter): Add filter "drop-sig". (filter_getval): Implement properties for drop-sig. (apply_drop_sig_filter): New. (import_one): Apply that filter. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r--doc/gpg.texi17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index 52a50f569..fbcaa1545 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -2254,6 +2254,11 @@ The available filter types are:
This filter will keep a user id packet and its dependent packets in
the keyblock if the expression evaluates to true.
+ @item drop-sig
+ This filter drops the selected key signatures on user ids.
+ Self-signatures are not consideres.
+ Currently only implemented for --import-filter.
+
@end table
For the syntax of the expression see the chapter "FILTER EXPRESSIONS".
@@ -2274,6 +2279,18 @@ The available properties are:
@item primary
Boolean indicating whether the user id is the primary one. (keep-uid)
+ @item sig_created
+ @itemx sig_created_d
+ The first is the timestamp a signature packet was created. The
+ second is the same but given as an ISO string,
+ e.g. "2016-08-17". (drop-sig)
+
+ @item sig_algo
+ A number with the public key algorithm of a signature packet. (drop-sig)
+
+ @item sig_digest_algo
+ A number with the digest algorithm of a signature packet. (drop-sig)
+
@end table
@item --export-options @code{parameters}