Home GnuPG
Diffusion GnuPG 8e83493dae42

gpg: New options import-drop-uids and export-drop-uids.

Description

gpg: New options import-drop-uids and export-drop-uids.

* g10/options.h (IMPORT_DROP_UIDS): New.
(EXPORT_DROP_UIDS): New.
* g10/import.c (parse_import_options): Add option "import-drop-uids".
(import_one): Don't bail out with that options and no uids found.
Also remove all uids.
(remove_all_uids): New.
* g10/export.c (parse_export_options): Add option "export-drop-uids".
(do_export_one_keyblock): Implement option.

These options are required for experiments with changes to the
keyserver infrastructure.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Oct 2 2018, 11:02 AM
Parents
rG50b02dba2060: common: Fix gnupg_reopen_std.
Branches
Unknown
Tags
Unknown