From 7bca3be65e510eda40572327b87922834ebe07eb Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 24 Jun 2016 13:11:37 +0200 Subject: gpg: New import option "import-export". * g10/import.c (parse_import_options): Add option "import-export". (write_keyblock_to_output): New. (import_one): Implement option. -- We are now in the import export business. Signed-off-by: Werner Koch --- doc/gpg.texi | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/gpg.texi b/doc/gpg.texi index 15f58f47e..b8fda9638 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -2185,6 +2185,11 @@ opposite meaning. The options are: This can be combined with the option @option{--dry-run} to only look at keys. + @item import-export + Run the entire import code but instead of storing the key to the + local keyring write it to the output. This option can be used to + remove all invalid parts from a key without the need to store it. + @item merge-only During import, allow key updates to existing keys, but do not allow any new keys to be imported. Defaults to no. -- cgit v1.2.3