aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated copyright noticesWerner Koch2002-01-261-3/+3
|
* * scdaemon.c scdaemon.h, command.c: New. Based on the code fromWerner Koch2002-01-265-0/+925
| | | | | the gpg-agent.
* * gpgsm.c (main): Disable core dumps.Werner Koch2002-01-257-10/+235
| | | | | | | | | | | | | * sign.c (add_certificate_list): New. (gpgsm_sign): Add the certificates to the CMS object. * certpath.c (gpgsm_walk_cert_chain): New. * gpgsm.h (server_control_s): Add included_certs. * gpgsm.c: Add option --include-certs. (gpgsm_init_default_ctrl): New. (main): Call it. * server.c (gpgsm_server): Ditto. (option_handler): Support --include-certs.
* * assuan-socket-connect.c (LOGERRORX): and removed typo.Werner Koch2002-01-232-1/+5
|
* * mkdtemp.c: Copied from gnupg-1.0.6c and changed to use libgcrypt.Werner Koch2002-01-233-0/+104
| | | | | | * configure.ac (mkdtemp): See whether we have to provide a replacement.
* * certpath.c (gpgsm_validate_path): Print the DN of a missing issuer.Werner Koch2002-01-235-15/+75
| | | | | | * certdump.c (gpgsm_dump_string): New. (print_dn): Replaced by above.
* 2002-01-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-01-222-1/+5
| | | | | * assuan-socket-connect.c (LOGERRORX): Reverse arguments to fputs.
* * certpath.c (unknown_criticals): New.Werner Koch2002-01-224-18/+239
| | | | | | | (allowed_ca): New. (gpgsm_validate_path): Check validity, CA attribute, path length and unknown critical extensions.
* * gpgsm.c: Add option --enable-crl-checks.Werner Koch2002-01-214-45/+105
| | | | | | * call-agent.c (start_agent): Implemented socket based access. * call-dirmngr.c (start_dirmngr): Ditto.
* * keybox-search.c (keybox_search): Allow KEYDB_SEARCH_MODE_FPR20.Werner Koch2002-01-212-0/+5
|
* * assuan-connect.c: Move all except assuan_get_pid to...Werner Koch2002-01-219-222/+546
| | | | | | | | | | | | | | | | | * assuan-pipe-connect.c: this. (assuan_pipe_disconnect): Removed. (do_finish, do_deinit): New (assuan_pipe_connect): and set them into the context. * assuan-socket-connect.c: New. * assuan-util.c (_assuan_log_sanitized_string): New. * assuan-pipe-server.c (assuan_init_pipe_server): Factored most code out to ... (_assuan_new_context): new func. (_assuan_release_context): New * assuan-connect.c (assuan_pipe_connect): Use the new functions.
* * server.c (option_handler): New.Werner Koch2002-01-202-0/+17
| | | | | (gpgsm_server): Register it with assuan.
* * assuan.h: Added Invalid Option error code.Werner Koch2002-01-204-2/+105
| | | | | | | | | * assuan-handler.c (std_handler_option): New. (std_cmd_tbl): Add OPTION as standard command. (assuan_register_option_handler): New. (dispatch_command): Use case insensitive matching as a fallback. (my_strcasecmp): New.
* * command.c (cmd_get_passphrase): Remove the plus signs.Werner Koch2002-01-205-9/+35
| | | | | | * query.c (start_pinentry): Send no-grab option to pinentry * gpg-agent.c (main): Move variable grab as no_grab to agent.h.
* * gpg-agent.c (main): Disable core dumps.Werner Koch2002-01-196-16/+314
| | | | | | | | | | | | | | * cache.c: New. * command.c (cmd_get_passphrase): Use the cache. (cmd_clear_passphrase): Ditto. * gpg-agent.c: Removed unused cruft and implement the socket based server. (my_strusage): Take bug report address from configure.ac. * command.c (start_command_handler): Add an argument to start as regular server. (start_command_handler): Enable Assuan logging.
* * sysutils.c: New. This is the misc.c file from gnupg 1.0.6 withWerner Koch2002-01-194-1/+244
| | | | | | the OpenPGP stuff removed. * sysutils.h: New.
* * server.c (gpgsm_server): Use assuan_deinit_server and setupWerner Koch2002-01-194-2/+16
| | | | | | | | | assuan logging if enabled. * call-agent.c (inq_ciphertext_cb): Don't show the session key in an Assuan log file. * gpgsm.c (my_strusage): Take bugreport address from configure.ac
* More error codes and mappingsWerner Koch2002-01-192-0/+4
|
* * assuan-buffer.c (_assuan_read_line): Add output logging.Werner Koch2002-01-1911-19/+311
| | | | | | | | | | | | | | | | | | | (assuan_write_line): Ditto. (_assuan_cookie_write_data): Ditto. (_assuan_cookie_write_flush): Ditto. * assuan-util.c (_assuan_log_print_buffer): New. (assuan_set_log_stream): New. (assuan_begin_confidential): New. (assuan_end_confidential): New. * assuan-defs.h: Add a few handler variables. * assuan-pipe-server.c (assuan_deinit_pipe_server): Removed. (deinit_pipe_server): New. (assuan_deinit_server): New. Changed all callers to use this. * assuan-listen.c (assuan_accept): Use the accept handler. * assuan-handler.c (process_request): Use the close Handler. * assuan-socket-server.c: New.
* * gpg-agent.c: Removed unused cruft and implement the socketWerner Koch2002-01-195-653/+223
| | | | | | | | | based server. (my_strusage): Take bug report address from configure.ac. * command.c (start_command_handler): Add an argument to start as regular server. (start_command_handler): Enable Assuan logging.
* * import.c (gpgsm_import): Just do a basic cert check beforeWerner Koch2002-01-1511-80/+352
| | | | | | | | | | | | | | | | 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.
* * keybox-search.c (blob_cmp_fpr): New.Werner Koch2002-01-152-1/+38
| | | | | (has_fingerprint): Implemented;
* * maperror.c: Add mapping for Not_Trusted.Werner Koch2002-01-154-0/+11
|
* * trustlist.c: New.Werner Koch2002-01-155-1/+297
| | | | | * command.c (cmd_istrusted, cmd_listtrusted, cmd_marktrusted): New.
* * call-dirmngr.c (inq_certificate): Changed for new interface semantic.Werner Koch2002-01-144-17/+77
| | | | | | | | | * 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.
* * assuan-client.c (_assuan_read_from_server): Skip spaces afterWerner Koch2002-01-142-0/+11
| | | | | the keyword.
* * fingerprint.c (gpgsm_get_certid): Print the serialand not theWerner Koch2002-01-132-1/+6
| | | | | hash after the dot.
* * call-dirmngr.c: New.Werner Koch2002-01-119-13/+343
| | | | | | | * certpath.c (gpgsm_validate_path): Check the CRL here. * fingerprint.c (gpgsm_get_certid): New. * gpgsm.c: New options --dirmngr-program and --disable-crl-checks.
* * maperror.c (map_assuan_err): Codes for CRLWerner Koch2002-01-113-1/+14
|
* new error codesWerner Koch2002-01-111-0/+2
|
* * base64.c (gpgsm_create_writer): Allow to set the object nameWerner Koch2002-01-1011-56/+802
| | | | | | | | * 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.
* *** empty log message ***Werner Koch2002-01-104-2/+72
|
* * assuan-handler.c (assuan_set_okay_line): New.Werner Koch2002-01-106-5/+56
| | | | | (process_request): And use it here.
* * genkey.c: Store the secret part and return the public part.Werner Koch2002-01-107-63/+408
|
* * verify.c (gpgsm_verify): Implemented non-detached signatureWerner Koch2001-12-205-17/+59
| | | | | | | verification. Add OUT_FP arg, initialize a writer and changed all callers. * server.c (cmd_verify): Pass an out_fp if one has been set.
* * keybox-blob.c (_keybox_create_x509_blob): Skip the leadingWerner Koch2001-12-202-7/+15
| | | | | | | parenthesis of the serial number's S-exp. (_keybox_create_x509_blob): And fixed length calculation. (create_blob_header): Don't add an offset when writing the serial.
* * maperror.c (map_gcry_err): Add some mappings.Werner Koch2001-12-203-0/+47
|
* * base64.c (base64_reader_cb): Try to detect an S/MIME body part.Werner Koch2001-12-208-83/+101
| | | | | | | | | | | | | | * 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.
* * keybox-blob.c (_keybox_create_x509_blob): Skip the leadingWerner Koch2001-12-202-1/+10
| | | | | parenthesis of the serial number's S-exp.
* * keyformat.txt: New.Werner Koch2001-12-192-0/+142
|
* The last log had an incorrect changelog entry, and was missing a fix.Marcus Brinkmann2001-12-192-6/+4
| | | | | | | | | 2001-12-14 Marcus Brinkmann <[email protected]> * assuan-connect.c (assuan_pipe_connect): New argument FD_CHILD_LIST. Don't close those fds. * assuan.h: Likewise for prototype.
* assuan/Marcus Brinkmann2001-12-196-5/+30
| | | | | | | | | | | | | | | | | | | 2001-12-14 Marcus Brinkmann <[email protected]> * assuan-buffer.c (_assuan_read_line): New variable ATTICLEN, use it to save the length of the attic line. Rediddle the code a bit to make it more clear what happens. agent/ 2001-12-19 Marcus Brinkmann <[email protected]> * query.c (start_pinentry): Add new argument to assuan_pipe_connect. sm/ 2001-12-19 Marcus Brinkmann <[email protected]> * call-agent.c (start_agent): Add new argument to assuan_pipe_connect.
* * Makefile.am (AM_CPPFLAGS): Add flags for libksbaNEWPG-0-0-0Werner Koch2001-12-187-9/+27
| | | | | | * Makefile.am (AM_CPPFLAGS): Include flags for gcrypt and ksba * Makefile.am: Use LIBGCRYPT macros
* Changes to be used with the new libksba interface.Werner Koch2001-12-1816-205/+228
| | | | | libgcrypt-1.1.5 is required (cvs or tarball)
* * gpgsm.c (main): Renamed the default key database to "keyring.kbx".Werner Koch2001-12-152-1/+3
|
* * keybox-search.c (blob_cmp_name): There is no terminating 0 storedWerner Koch2001-12-152-3/+7
| | | | | for the uid; fixed length compare.
* * decrypt.c (gpgsm_decrypt): Write STATUS_DECRYPTION_*.Werner Koch2001-12-155-6/+50
| | | | | * sign.c (gpgsm_sign): Write a STATUS_SIG_CREATED.
* * keylist.c (list_cert_colon): Kludge to show an email addressWerner Koch2001-12-143-1/+55
| | | | | encoded in the subject's DN.
* * keybox-blob.c (x509_email_kludge): New.Werner Koch2001-12-144-19/+52
| | | | | | | (_keybox_create_x509_blob): Insert an extra email address if the subject's DN has an email part. * keybox-defs.h: Added the xtoi_2 and digitp macros.
* * verify.c (gpgsm_verify): Add hash debug helpersWerner Koch2001-12-145-3/+73
| | | | | | | | | | | | | | * sign.c (gpgsm_sign): Ditto. * base64.c (base64_reader_cb): Reset the linelen when we need to skip the line and adjusted test; I somehow forgot about DeMorgan. * server.c (cmd_encrypt,cmd_decrypt,cmd_sign,cmd_verify) (cmd_import): Close the FDs on success. (close_message_fd): New. (input_notify): Setting autodetect_encoding to 0 after initializing it to 0 is pretty pointless. Easy to fix.