mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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>
This commit is contained in:
parent
877a321d01
commit
fa1155e89e
10 changed files with 83 additions and 26 deletions
|
@ -2254,6 +2254,13 @@ hint to optimize its buffer allocation strategy. It is also used by
|
|||
the @option{--status-fd} line ``PROGRESS'' to provide a value for
|
||||
``total'' if that is not available by other means.
|
||||
|
||||
@item --key-origin @var{string}
|
||||
@opindex key-origin
|
||||
gpg can track the origin of a key. Certain origins are implicitly
|
||||
known (e.g. keyserver, web key directory) and set. For a standard
|
||||
import the origin of the keys imported can be set with this optionb.
|
||||
To list the possible values use "help" for @var{string}.
|
||||
|
||||
@item --import-options @code{parameters}
|
||||
@opindex import-options
|
||||
This is a space or comma delimited string that gives options for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue