aboutsummaryrefslogtreecommitdiffstats
path: root/doc/yat2m.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-07-01 14:24:04 +0000
committerWerner Koch <[email protected]>2016-07-01 14:28:29 +0000
commit5137bf73ccc98a72c2eeac148e4d4b5d58f0a854 (patch)
tree1649345e632dcc2198b1ee96dafe80c019554b4c /doc/yat2m.c
parentgpg: Allow to cache the mbox in a user id struct. (diff)
downloadgnupg-5137bf73ccc98a72c2eeac148e4d4b5d58f0a854.tar.gz
gnupg-5137bf73ccc98a72c2eeac148e4d4b5d58f0a854.zip
gpg: New option --import-filter
* g10/gpg.c (oImportFilter): New. (opts): Add --import-filter. (main): Handle option. * g10/import.c: Include recsel.h, init.h, and mbox-util.h. (import_keep_uid): New global var. (cleanup_import_globals): New. (parse_and_set_import_filter): New. (filter_getval): New. (apply_keep_uid_filter): New. (import_one): Apply filter if set. -- Funny new option. It can for example be used to export a key with only one user id: gpg --no-options --import --import-options import-export \ --import-filter keep-uid='[email protected]' \ < full-key.pub > key-with-one-uid.pub More features will eventually be added. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc/yat2m.c')
0 files changed, 0 insertions, 0 deletions