* options.h, g10.c (main): Add --trust-model option. Current models are
authorDavid Shaw <dshaw@jabberwocky.com>
Sun, 3 Nov 2002 20:18:56 +0000 (20:18 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Sun, 3 Nov 2002 20:18:56 +0000 (20:18 +0000)
commit91a8e4a6fb15994eea58ff2bab9403c5456af6a1
treee761564473a03432673c05f4fa8824384ebcadc8
parent1b593c0515ed0b09349762ea8e6cd5e20b34146f
* options.h, g10.c (main): Add --trust-model option.  Current models are
"openpgp" which is classic+trustsigs, "classic" which is classic only, and
"always" which is the same as the current option --always-trust (which
still works).  Default is "openpgp".

* trustdb.c (validate_one_keyblock): Use "openpgp" trust model to enable
trust sigs.

* gpgv.c (main), mainproc.c (check_sig_and_print), pkclist.c (do_we_trust,
do_we_trust_pre, check_signatures_trust): Use new --trust-model option in
place of --always-trust.
g10/ChangeLog
g10/g10.c
g10/gpgv.c
g10/mainproc.c
g10/options.h
g10/pkclist.c
g10/trustdb.c