diff options
author | Werner Koch <[email protected]> | 2002-06-29 14:01:53 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-06-29 14:01:53 +0000 |
commit | df58e024e71b100a1557b1023d35b2a0092a8748 (patch) | |
tree | 18c586e4583637186779686afef445c71427307f /sm/gpgsm.c | |
parent | * query.c (start_pinentry): Use GNUPG_DERAULT_PINENTRY. (diff) | |
download | gnupg-df58e024e71b100a1557b1023d35b2a0092a8748.tar.gz gnupg-df58e024e71b100a1557b1023d35b2a0092a8748.zip |
* 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.
Diffstat (limited to 'sm/gpgsm.c')
-rw-r--r-- | sm/gpgsm.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sm/gpgsm.c b/sm/gpgsm.c index 9d91cd9db..7b1b0d715 100644 --- a/sm/gpgsm.c +++ b/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; |