Home GnuPG
Diffusion GnuPG 42d2474a02aa

gpg: Add import option "keep-ownertrust".
42d2474a02aaUnpublished

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 da95d0d37841b34e2f3d7047f14ab4d98a7c0c56)

Details

Provenance
wernerAuthored on Nov 12 2014, 9:56 AM
Parents
rG65c05f5c18d4: doc: Minor fix
Branches
Unknown
Tags
Unknown

Event Timeline

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