aboutsummaryrefslogtreecommitdiffstats
path: root/sm/keydb.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-03-05* gpgsm.c, gpgsm.h: Add local_user.Werner Koch1-1/+0
* sign.c (gpgsm_get_default_cert): New. (get_default_signer): Use the new function if local_user is not set otherwise used that value. * encrypt.c (get_default_recipient): Removed. (gpgsm_encrypt): Use gpgsm_get_default_cert. * verify.c (gpgsm_verify): Better error text for a bad signature found by comparing the hashs.
2002-01-15* import.c (gpgsm_import): Just do a basic cert check beforeWerner Koch1-0/+55
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-10* base64.c (gpgsm_create_writer): Allow to set the object nameWerner Koch1-7/+5
* server.c (cmd_genkey): New. * certreqgen.c: New. The parameter handling code has been taken from gnupg/g10/keygen.c version 1.0.6. * call-agent.c (gpgsm_agent_genkey): New.
2001-12-20* base64.c (base64_reader_cb): Try to detect an S/MIME body part.Werner Koch1-1/+5
* certdump.c (print_sexp): Renamed to gpgsm_dump_serial, made global. (print_time): Renamed to gpgsm_dump_time, made global. (gpgsm_dump_serial): Take a real S-Expression as argument and print the first item. * keylist.c (list_cert_colon): Ditto. * keydb.c (keydb_search_issuer_sn): Ditto. * decrypt.c (print_integer_sexp): Removed and made callers use gpgsm_dump_serial. * verify.c (print_time): Removed, made callers use gpgsm_dump_time.
2001-12-18Changes to be used with the new libksba interface.Werner Koch1-3/+8
libgcrypt-1.1.5 is required (cvs or tarball)
2001-12-14* keylist.c (list_cert_colon): Kludge to show an email addressWerner Koch1-0/+1
encoded in the subject's DN.
2001-12-11Implemented encryption in server mode.Werner Koch1-0/+275
Allow to specify a recipient on the commandline There is still a default hardwired recipient if none has been set.
2001-11-26* keydb.c (keydb_add_resource): Create keyboxWerner Koch1-127/+120
* keylist.c (gpgsm_list_keys): Fixed non-server keylisting. * server.c (rc_to_assuan_status): New. Use it for all commands.
2001-11-24Added new directory common to enable sharing of some code and errorWerner Koch1-17/+17
numbers between gpg, gpgsm and gpg-agent. Move some files and code to there.
2001-11-16Base code for gpgsm --verify does workWerner Koch1-0/+13
2001-11-13We have reached a state where we are able to import certs andWerner Koch1-202/+355
check the certification path.
2001-11-10We now need a way to store keysWerner Koch1-0/+703