diff options
author | Werner Koch <[email protected]> | 2024-01-24 17:23:02 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-01-24 17:26:01 +0000 |
commit | d4976e35d2ca431b2a651aa11be8a4589c8dd39a (patch) | |
tree | 7b0e4d8566d734a274d13f006647c0f32c1ce32c /doc/gpg.texi | |
parent | po: Update German translation. (diff) | |
download | gnupg-d4976e35d2ca431b2a651aa11be8a4589c8dd39a.tar.gz gnupg-d4976e35d2ca431b2a651aa11be8a4589c8dd39a.zip |
gpg: Add sub-option ignore-attributes to --import-options.
* g10/options.h (IMPORT_IGNORE_ATTRIBUTES): New.
* g10/import.c (parse_import_options): Add new sub-option.
(read_block): Implement sub-option.
--
Suggested-by: Robin H. Johnson
Tested using the import-export feature:
gpg --export KEY_WITH_PICTURE \
| gpg --import --import-options import-export,ignore-attributes \
| gpg --show-key
Diffstat (limited to 'doc/gpg.texi')
-rw-r--r-- | doc/gpg.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi index a54bc1fee..1bc2bd9e4 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -2579,6 +2579,10 @@ opposite meaning. The options are: import-clean it suppresses the final clean step after merging the imported key into the existing key. + @item ignore-attributes + Ignore all attribute user IDs (photo IDs) and their signatures while + importing a key. + @item repair-keys After import, fix various problems with the keys. For example, this reorders signatures, and strips duplicate |