From 1b55e864421f88b8c8088639682767076abbeab0 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 18 Aug 2016 16:15:49 +0200 Subject: 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 --- doc/gpg.texi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'doc') 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} -- cgit v1.2.3