aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * assuan-listen.c (assuan_close_input_fd): New.Werner Koch2001-12-144-0/+40
| | | | | | | | (assuan_close_output_fd): New. * assuan-handler.c (std_handler_reset): Always close them after a reset command. (std_handler_bye): Likewise.
* * gpgsm.c (main): New option --debug-wait n, so that it isWerner Koch2001-12-143-17/+23
| | | | | possible to attach gdb when used in server mode.
* * gpg-agent.c (main): New option --batch. New option --debug-waitWerner Koch2001-12-144-1/+23
| | | | | | n, so that it is possible to attach gdb when used in server mode. * query.c (agent_askpin): Don't ask in batch mode.
* * util.h (digitp, hexdigitp): New ctype like macros.Werner Koch2001-12-146-17/+41
| | | | | | | | (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New. * command.c: Removed the conversion macros as they are now in ../common/util.h.
* * util.h (digitp, hexdigitp): New ctype like macros.Werner Koch2001-12-142-0/+32
| | | | | (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New.
* * sign.c (get_default_signer): Use keydb_classify_name here.Werner Koch2001-12-143-2/+13
|
* Fixed test keyWerner Koch2001-12-141-1/+1
|
* Fixed test keyWerner Koch2001-12-142-2/+2
|
* * keylist.c (list_cert_colon): Print alternative names of subjectWerner Koch2001-12-142-2/+6
| | | | | and a few other values.
* Change history, doubleplusgood.Marcus Brinkmann2001-12-141-1/+1
|
* 2001-12-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-142-12/+22
| | | | | | | * assuan-buffer.c (_assuan_read_line): New variable ATTICLEN, use it to save the number of bytes left over after the complete line. Rediddle the code a bit to make it more clear what happens.
* assuan/Marcus Brinkmann2001-12-137-9/+22
| | | | | | | | | | | | | | | | | | | | | 2001-12-14 Marcus Brinkmann <[email protected]> * assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH. assuan.h: Define ASSUAN_LINELENGTH. agent/ 2001-12-14 Marcus Brinkmann <[email protected]> * query.c (LINELENGTH): Removed. (agent_askpin): Use ASSUAN_LINELENGTH, not LINELENGTH. sm/ 2001-12-14 Marcus Brinkmann <[email protected]> * call-agent.c (LINELENGTH): Removed. (gpgsm_agent_pksign): Use ASSUAN_LINELENGTH, not LINELENGTH. (gpgsm_agent_pkdecrypt): Likewise.
* 2001-12-13 Marcus Brinkmann <[email protected]>Marcus Brinkmann2001-12-133-2/+16
| | | | | | | | | | | * assuan-buffer.c (assuan_read_line): Fix order of execution to get correct return values. 2001-12-13 Werner Koch <[email protected]> * assuan-handler.c (assuan_get_active_fds): Fixed silly bug, pretty obvious that nobody ever tested this function.
* * keylist.c (list_cert_colon): Print alternative names of subjectWerner Koch2001-12-136-29/+65
| | | | | and a few other values.
* * keybox-search.c (blob_cmp_name): Kludge to allow searching forWerner Koch2001-12-135-30/+215
| | | | | | | | | | | | more than one name. (has_subject_or_alt): New. (blob_cmp_mail): New. (has_mail): New. (keybox_search): Implemented exact search and exact mail search. * kbx/keybox-blob.c (_keybox_create_x509_blob): Insert alternate names.
* Now that the DN encoding works more correct, we have to update theWerner Koch2001-12-131-1/+1
| | | | | default key.
* Made decryption work in --server mode, allow output of plain base64,Werner Koch2001-12-134-35/+76
| | | | | | allow --armor and --base64 arguments for INPUT and OUTPUT, new global option --base64, cleaned up the help page.
* Fixed INPUT/OUTPUT commandWerner Koch2001-12-131-3/+4
|