gpg: New export filter drop-subkey.
authorWerner Koch <wk@gnupg.org>
Mon, 5 Sep 2016 07:51:16 +0000 (09:51 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 5 Sep 2016 07:52:04 +0000 (09:52 +0200)
commit0a4a03e5310946b0866a0f6a34031eda7a240162
treed43d17d450a341fb4aa8d2e08f0a739f128e3ac9
parent959cd8903fd012e63dbb156db56708dd3934b5df
gpg: New export filter drop-subkey.

* g10/import.c (impex_filter_getval): Add properties for key packets.
* g10/export.c (export_drop_subkey): New var.
(cleanup_export_globals): Release that var.
(parse_and_set_export_filter): Add filter "drop-subkey".
(apply_drop_subkey_filter): New.
(do_export_stream): Run that filter.

Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gpg.texi
g10/export.c
g10/import.c