aboutsummaryrefslogtreecommitdiffstats
path: root/sm/certlist.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-12-17Replaced deprecated type names.Werner Koch1-11/+11
* certdump.c (gpgsm_print_serial): Cleaned up cast use in strtoul. (gpgsm_dump_serial): Ditto. * decrypt.c (gpgsm_decrypt): Replaced ERR by RC.
2003-12-16* gpgsm.c (main): Set the prefixes for assuan logging.Werner Koch1-2/+2
* sign.c (gpgsm_sign): Add validation checks for the default certificate. * gpgsm.c: Add -k as alias for --list-keys and -K for --list-secret-keys.
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch1-3/+3
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+315
'GNUPG-1-9-BRANCH'.
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch1-1/+1
2003-06-03Make use of libgpg-errorWerner Koch1-15/+17
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-313/+0
'GNUPG-1-9-BRANCH'.
2002-08-16* call-agent.c (learn_cb): Special treatment when the issuerWerner Koch1-2/+2
certificate is missing.
2002-08-09* gpgsm.c (emergency_cleanup): New.Werner Koch1-5/+22
(main): Initialize the signal handler. * sign.c (gpgsm_sign): Reset the hash context for subsequent signers and release it at the end.
2002-06-20* certlist.c (gpgsm_add_to_certlist): Fixed locating of aWerner Koch1-17/+84
certificate with the required key usage. * gpgsm.c (main): Fixed a segv when using --outfile without an argument. * keylist.c (print_capabilities): Also check for non-repudiation and data encipherment. * certlist.c (cert_usage_p): Test for signing and encryption was swapped. Add a case for certification usage, handle non-repudiation and data encipherment. (gpgsm_cert_use_cert_p): New. (gpgsm_add_to_certlist): Added a CTRL argument and changed all callers to pass it. * certpath.c (gpgsm_validate_path): Use it here to print a status message. Added a CTRL argument and changed all callers to pass it. * decrypt.c (gpgsm_decrypt): Print a status message for wrong key usage. * verify.c (gpgsm_verify): Ditto. * keydb.c (classify_user_id): Allow a colon delimited fingerprint.
2002-05-03* certpath.c (gpgsm_validate_path): Added EXPTIME arg and changedWerner Koch1-1/+1
all callers. * verify.c (gpgsm_verify): Tweaked usage of log_debug and log_error. Return EXPSIG status and add expiretime to VALIDSIG.
2002-04-12* certlist.c (cert_usable_p): New.Werner Koch1-1/+89
(gpgsm_cert_use_sign_p,gpgsm_cert_use_encrypt_p): New. (gpgsm_cert_use_verify_p,gpgsm_cert_use_decrypt_p): New. (gpgsm_add_to_certlist): Check the key usage. * sign.c (gpgsm_sign): Ditto. * verify.c (gpgsm_verify): Print a message wehn an unsuitable certificate was used. * decrypt.c (gpgsm_decrypt): Ditto * keylist.c (print_capabilities): Determine values from the cert.
2002-03-12* verify.c (gpgsm_verify): Detect certs-only message.Werner Koch1-0/+1
2002-02-07* certlist.c (gpgsm_add_to_certlist): Check that the specifiedWerner Koch1-2/+22
name identifies a certificate unambiguously. (gpgsm_find_cert): Ditto. * server.c (cmd_listkeys): Check that the data stream is available. (cmd_listsecretkeys): Ditto. (has_option): New. (cmd_sign): Fix ambiguousity in option recognition. * gpgsm.c (main): Enable --logger-fd. * encrypt.c (gpgsm_encrypt): Increased buffer size for better performance. * call-agent.c (gpgsm_agent_pksign): Check the S-Exp received from the agent. * keylist.c (list_cert_colon): Filter out control characters.
2002-01-15* import.c (gpgsm_import): Just do a basic cert check beforeWerner Koch1-2/+6
storing it. * certpath.c (gpgsm_basic_cert_check): New. * keydb.c (keydb_store_cert): New. * import.c (store_cert): Removed and change all caller to use the new function. * verify.c (store_cert): Ditto. * certlist.c (gpgsm_add_to_certlist): Validate the path * certpath.c (gpgsm_validate_path): Check the trust list. * call-agent.c (gpgsm_agent_istrusted): New.
2002-01-14* call-dirmngr.c (inq_certificate): Changed for new interface semantic.Werner Koch1-0/+28
* certlist.c (gpgsm_find_cert): New. DirMngr should now work. Remember that there is a --disable-crl-check option in gpgsm to be used when there is a problem with the dirmngr communication or you want to do faster tests.
2001-12-13* keylist.c (list_cert_colon): Print alternative names of subjectWerner Koch1-1/+1
and a few other values.
2001-12-11Implemented encryption in server mode.Werner Koch1-0/+88
Allow to specify a recipient on the commandline There is still a default hardwired recipient if none has been set.