aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Set version numbers add a commentNEWPG-0-3-0Werner Koch2002-02-071-0/+1
|
* * certlist.c (gpgsm_add_to_certlist): Check that the specifiedWerner Koch2002-02-0710-21/+79
| | | | | | | | | | | | | | | | 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.
* * decrypt.c (gpgsm_decrypt): Bail out after an decryption error.Werner Koch2002-02-063-45/+45
| | | | | | | | * server.c (reset_notify): Close input and output FDs. (cmd_encrypt,cmd_decrypt,cmd_verify,cmd_sign.cmd_import) (cmd_genkey): Close the FDs and release the recipient list even in the error case.
* * cache.c (housekeeping): Fixed linking in the remove case.Werner Koch2002-02-064-5/+20
|
* 2002-02-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-02-012-0/+5
| | | | | * Makefile.am (MOSTLYCLEANFILES): New variable.
* 2002-02-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-02-012-4/+5
| | | | | * sign.c (gpgsm_sign): Do not release certificate twice.
* * cache.c: Add a few debug outputs.Werner Koch2002-02-016-16/+118
| | | | | | | | | | | | | | * protect.c (agent_private_key_type): New. * agent.h: Add PRIVATE_KEY_ enums. * findkey.c (agent_key_from_file): Use it to decide whether we have to unprotect a key. (unprotect): Cache the passphrase. * findkey.c (agent_key_from_file,agent_key_available): The key files do now require a ".key" suffix to make a script's life easier. * genkey.c (store_key): Ditto.
* Added a few more error codesWerner Koch2002-01-311-0/+3
|
* * genkey.c (store_key): Protect the key.Werner Koch2002-01-3110-64/+1409
| | | | | | | (agent_genkey): Ask for the passphrase. * findkey.c (unprotect): Actually unprotect the key. * query.c (agent_askpin): Add an optional start_err_text.
* A few test certificatesWerner Koch2002-01-2910-0/+162
|
* * call-agent.c (gpgsm_agent_havekey): New.Werner Koch2002-01-296-14/+89
| | | | | | | | | | | * keylist.c (list_cert_colon): New arg HAVE_SECRET, print "crs" when we know that the secret key is available. (gpgsm_list_keys): New arg MODE, check whether a secret key is available. Changed all callers. * gpgsm.c (main): New command --list-secret-keys. * server.c (cmd_listsecretkeys): New. (cmd_listkeys): Return secret keys with "crs" record.
* * findkey.c (agent_key_available): New.Werner Koch2002-01-294-3/+60
| | | | | | * command.c (cmd_havekey): New. (register_commands): And register new command.
* * certreqgen.c (create_request): Store the email address in the req.Werner Koch2002-01-282-1/+31
| | | | | | | | Note, that I have not yet achieved to generate a cert with the subjectAltName using OpenSSL. It seems that openssl requires the email address to be part of the subject DN (subjectAltName=email:copy) but this is something we don't want to do.
* 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
|