mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* gpgsm.c: New option --auto-issuer-key-retrieve.
* certpath.c (find_up): Try to retrieve an issuer key from an external source and from the ephemeral key DB. (find_up_store_certs_cb): New. * keydb.c (keydb_set_ephemeral): Does now return the old state. Call the backend only when required. * call-dirmngr.c (start_dirmngr): Use GNUPG_DEFAULT_DIRMNGR. (lookup_status_cb): Issue status only when CTRL is not NULL. (gpgsm_dirmngr_lookup): Document that CTRL is optional. * call-agent.c (start_agent): Use GNUPG_DEFAULT_AGENT.
This commit is contained in:
parent
2082905525
commit
df58e024e7
8 changed files with 214 additions and 23 deletions
10
sm/gpgsm.c
10
sm/gpgsm.c
|
@ -112,7 +112,7 @@ enum cmd_and_opt_values {
|
|||
oPolicyFile,
|
||||
oDisablePolicyChecks,
|
||||
oEnablePolicyChecks,
|
||||
|
||||
oAutoIssuerKeyRetrieve,
|
||||
|
||||
|
||||
oTextmode,
|
||||
|
@ -259,6 +259,9 @@ static ARGPARSE_OPTS opts[] = {
|
|||
N_("do not check certificate policies")},
|
||||
{ oEnablePolicyChecks, "enable-policy-checks", 0, "@"},
|
||||
|
||||
{ oAutoIssuerKeyRetrieve, "auto-issuer-key-retrieve", 0,
|
||||
N_("fetch missing issuer certificates")},
|
||||
|
||||
#if 0
|
||||
{ oDefRecipient, "default-recipient" ,2,
|
||||
N_("|NAME|use NAME as default recipient")},
|
||||
|
@ -809,7 +812,10 @@ main ( int argc, char **argv)
|
|||
case oEnablePolicyChecks:
|
||||
opt.no_policy_check = 0;
|
||||
break;
|
||||
|
||||
|
||||
case oAutoIssuerKeyRetrieve:
|
||||
opt.auto_issuer_key_retrieve = 1;
|
||||
break;
|
||||
|
||||
case oOutput: opt.outfile = pargs.r.ret_str; break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue