Home GnuPG
Diffusion GnuPG da95d0d37841

gpg: Add import option "keep-ownertrust".
da95d0d37841Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Add import option "keep-ownertrust".

* g10/options.h (IMPORT_KEEP_OWNERTTRUST): New.
* g10/import.c (parse_import_options): Add "keep-ownertrust".
(import_one): Act upon new option.

This option is in particular useful to convert from a pubring.gpg to
the new pubring.kbx in GnuPG 2.1 or vice versa:

gpg1 --export | gpg2 --import-options keep-ownertrust --import

(cherry-picked from commit ffc2307843ce6c4ac3c8d99ba8c70ffa1ae28e39)

Details

Provenance
wernerAuthored on Nov 12 2014, 9:56 AM
Parents
rGeb756e2510bf: gpg: Show v3 key fingerprints as all zero.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGda95d0d37841: gpg: Add import option "keep-ownertrust". (authored by Werner Koch <wk@gnupg.org>).Nov 12 2014, 10:23 AM