Home GnuPG
Diffusion GnuPG fa1155e89ebb

gpg: New option --key-origin.

Description

gpg: New option --key-origin.

* g10/keydb.h (KEYORG_): Rename to KEYORG_.
* g10/packet.h (PKT_user_id): Rename field keysrc to keyorg.  Adjust
users.
(PKT_public_key): Ditto.
(PKT_ring_trust): Ditto.
* g10/options.h (struct opt): Add field key_origin.
* g10/getkey.c (parse_key_origin): New.
* g10/gpg.c (oKeyOrigin): New.
(opts): Add "keys-origin".
(main): Set option.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jul 13 2017, 5:28 PM
Parents
rG877a321d011d: doc: Document gnupg version requirement for gpg-preset-passphrase.
Branches
Unknown
Tags
Unknown