* gpgsm.c: New option --with-md5-fingerprint.
authorWerner Koch <wk@gnupg.org>
Tue, 17 Feb 2004 15:05:04 +0000 (15:05 +0000)
committerWerner Koch <wk@gnupg.org>
Tue, 17 Feb 2004 15:05:04 +0000 (15:05 +0000)
commit45a817bf4a6f7624d49cd61247b7efeb3b7ad726
treefc19cfea9fba63e9e8455fb9f8ad2ff8d8bf6fa0
parenta5fc1f40c36778dd24472b42bfd8b43e7c63f64f
* gpgsm.c: New option --with-md5-fingerprint.
* keylist.c (list_cert_std): Print MD5 fpr.

* gpgsm.c: New options --with-validation.
* server.c (option_handler): New option "with-validation".
* keylist.c (list_cert_std, list_internal_keys): New args CTRL and
WITH_VALIDATION. Changed callers to set it.
(list_external_cb, list_external_keys): Pass CTRL to the callback.
(list_cert_colon): Add arg CTRL.  Check validation if requested.
* certchain.c (unknown_criticals, allowed_ca, check_cert_policy)
(gpgsm_validate_chain): New args LISTMODE and FP.
(do_list): New helper for info output.
(find_up): New arg FIND_NEXT.
(gpgsm_validate_chain): After a bad signature try again with other
CA certificates.

* import.c (print_imported_status): New arg NEW_CERT. Print
additional STATUS_IMPORT_OK becuase that is what gpgme expects.
(check_and_store): Always call above function after import.
* server.c (get_status_string): Added STATUS_IMPORT_OK.
sm/ChangeLog
sm/certchain.c
sm/certcheck.c
sm/certlist.c
sm/gpgsm.c
sm/gpgsm.h
sm/import.c
sm/keylist.c
sm/server.c
sm/sign.c
sm/verify.c