aboutsummaryrefslogtreecommitdiffstats
path: root/sm (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-09-03* gpgsm.c (main): Disable the internal libgcrypt locking.Werner Koch2-1/+9
2002-08-21* import.c (print_imported_summary): Cleaned up. Print newWerner Koch3-20/+72
not_imported value. (check_and_store): Update non_imported counter. (print_import_problem): New. (check_and_store): Print error status message. * server.c (get_status_string): Added STATUS_IMPORT_PROBLEM.
2002-08-20* gpgsm.c (main): Use the log file only in server mode.Werner Koch6-31/+155
* import.c (print_imported_summary): New. (check_and_store): Update the counters, take new argument. (import_one): Factored out core of gpgsm_import. (gpgsm_import): Print counters. (gpgsm_import_files): New. * gpgsm.c (main): Use the new function for import.
2002-08-16Made it compile.Werner Koch3-6/+6
2002-08-16*** empty log message ***Werner Koch1-773/+0
2002-08-16* certpath.c: Renamed to ..Werner Koch4-5/+7
* certchain.c: this. Renamed all all other usages of "path" in the context of certificates to "chain".
2002-08-16* call-agent.c (learn_cb): Special treatment when the issuerWerner Koch12-58/+69
certificate is missing.
2002-08-10Minor changes for gettextNEWPG-0-3-10Werner Koch3-1/+6
2002-08-10* keylist.c (list_cert_colon): Print the short fingerprint in theWerner Koch6-15/+53
key ID field. * fingerprint.c (gpgsm_get_short_fingerprint): New. * verify.c (gpgsm_verify): Print more verbose info for a good signature.
2002-08-09* decrypt.c (prepare_decryption): Hack to detected alreadyWerner Koch2-25/+36
unpkcsedone keys.
2002-08-09* gpgsm.c (emergency_cleanup): New.Werner Koch8-225/+321
(main): Initialize the signal handler. * sign.c (gpgsm_sign): Reset the hash context for subsequent signers and release it at the end.
2002-07-22* keydb.c (keydb_add_resource): Register a lock file.Werner Koch2-9/+30
(lock_all, unlock_all): Implemented.
2002-07-22* delete.c: New.Werner Koch8-9/+233
* gpgsm.c: Made --delete-key work. * server.c (cmd_delkeys): New. (register_commands): New command DELKEYS. * decrypt.c (gpgsm_decrypt): Print a convenience note when RC2 is used and a STATUS_ERROR with the algorithm oid.
2002-07-03* server.c (gpgsm_status2): Insert a blank between all optionalWerner Koch4-18/+31
arguments when using assuan. * server.c (cmd_recipient): No more need for extra blank in constants. * import.c (print_imported_status): Ditto. * gpgsm.c (main): Ditto.
2002-07-02* verify.c (gpgsm_verify): Extend the STATUS_BADSIG line withWerner Koch2-2/+13
the fingerprint.
2002-07-02* certpath.c (check_cert_policy): Don't use log_error to print aWerner Koch3-4/+17
warning.
2002-07-02* keydb.c (keydb_store_cert): Add optional ar EXISTED and changedWerner Koch9-44/+96
all callers. * call-agent.c (learn_cb): Print info message only for real imports. * import.c (gpgsm_import): Moved duplicated code to ... (check_and_store): new function. Added magic to import the entire chain. Print status only for real imports and moved printing code to .. (print_imported_status): New.
2002-07-02* call-dirmngr.c (gpgsm_dirmngr_isvalid): print status of dirmngrWerner Koch3-1/+25
call in very verbose mode. * gpgsm.c (main): Use the same error codes for STATUS_INV_RECP as with the server mode.
2002-06-29* gpgsm.c: New option --auto-issuer-key-retrieve.Werner Koch8-23/+214
* certpath.c (find_up): Try to retrieve an issuer key from an external source and from the ephemeral key DB. (find_up_store_certs_cb): New. * keydb.c (keydb_set_ephemeral): Does now return the old state. Call the backend only when required. * call-dirmngr.c (start_dirmngr): Use GNUPG_DEFAULT_DIRMNGR. (lookup_status_cb): Issue status only when CTRL is not NULL. (gpgsm_dirmngr_lookup): Document that CTRL is optional. * call-agent.c (start_agent): Use GNUPG_DEFAULT_AGENT.
2002-06-28* server.c (cmd_recipient): Add more reason codes.Werner Koch4-3/+17
2002-06-27* gpgsm.c (main): Use GNUPG_DEFAULT_HOMEDIR constant.Werner Koch4-5/+29
* call-agent.c (start_agent): Create and pass the list of FD to keep in the child to assuan. * call-dirmngr.c (start_dirmngr): Ditto. * scdaemon.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * assuan-pipe-connect.c (assuan_pipe_connect): No special handling for the log_fd and stderr. Connect stderr to /dev/null if it should not be retained.
2002-06-26* import.c (gpgsm_import): Print an STATUS_IMPORTED.Werner Koch3-2/+15
* gpgsm.c: --debug-no-path-validation does not take an argument.
2002-06-25* certdump.c (print_dn_part): Always print a leading slash,Werner Koch5-49/+53
removed NEED_DELIM arg and changed caller. * export.c (gpgsm_export): Print LFs to FP and not stdout. (print_short_info): Ditto. Make use of gpgsm_print_name. * server.c (cmd_export): Use output-fd instead of data lines; this was actually the specified way.
2002-06-24* gpgsm.c, gpgsm.h: New option --debug-no-path-validation.Werner Koch5-5/+18
* certpath.c (gpgsm_validate_path): Use it here instead of the debug flag hack. * certpath.c (check_cert_policy): Return No_Policy_Match if the policy file could not be opened.
2002-06-20* certlist.c (gpgsm_add_to_certlist): Fixed locating of aWerner Koch12-36/+176
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-06-19* call-agent.c (learn_cb): Use log_info instead of log_error onWerner Koch9-8/+78
successful import. * keydb.c (keydb_set_ephemeral): New. (keydb_store_cert): New are ephemeral, changed all callers. * keylist.c (list_external_cb): Store cert as ephemeral. * export.c (gpgsm_export): Kludge to export epehmeral certificates. * gpgsm.c (main): New command --list-external-keys.
2002-06-17* certreqgen.c (read_parameters): Improved error handling.Werner Koch2-11/+37
(gpgsm_genkey): Print error message.
2002-06-13* gpgsm.c (main): New option --log-file.Werner Koch2-0/+15
2002-06-12* call-dirmngr.c (lookup_status_cb): New.Werner Koch4-6/+27
(gpgsm_dirmngr_lookup): Use the status CB. Add new arg CTRL and changed caller to pass it.
2002-06-12* gpgsm.c (open_fwrite): New.Werner Koch2-11/+60
(main): Allow --output for --verify.
2002-06-12* sign.c (hash_and_copy_data): New.Werner Koch7-34/+212
(gpgsm_sign): Implemented normal (non-detached) signatures. * gpgsm.c (main): Ditto. * certpath.c (gpgsm_validate_path): Special error handling for no policy match. * configure.ac (NEED_LIBKSBA_VERSION): We need 0.4.3 now.
2002-06-04* gpgsm.c (main): New command --list-sigsNEWPG-0-3-7Werner Koch5-5/+480
* keylist.c (list_cert_std): New. Use it whenever colon mode is not used. (list_cert_chain): New.
2002-05-31* gpgsm.c (main): Don't print the "go ahead" message for anWerner Koch2-1/+6
invalid command.
2002-05-23* import.c (gpgsm_import): Add error messages.Werner Koch2-1/+19
2002-05-21* keylist.c (list_internal_keys): Renamed from gpgsm_list_keys.Werner Koch6-25/+342
(list_external_keys): New. (gpgsm_list_keys): Dispatcher for above. * call-dirmngr.c (lookup_cb,pattern_from_strlist) (gpgsm_dirmngr_lookup): New. * server.c (option_handler): Handle new option --list-mode. (do_listkeys): Handle options and actually use the mode argument. (get_status_string): New code TRUNCATED.
2002-05-21* import.c (gpgsm_import): Try to identify the type of input andWerner Koch2-17/+88
handle certs-only messages. * maperror.c (map_gcry_err): Add libgcrypt's new S-expression errors. (map_ksba_err): Add a few mappings. * configure.ac: We now require libgcrypt 1.1.7 and libksba 0.4.2.
2002-05-14sm/Werner Koch5-6/+24
* gpgsm.c: New option --faked-system-time * sign.c (gpgsm_sign): And use it here. * certpath.c (gpgsm_validate_path): Ditto. common/ * gettime.c: New. agent/ * cache.c (housekeeping, agent_put_cache): Use our time() wrapper. / * doc/: New * configure.ac, Makefile.am: Added doc/
2002-05-03* certpath.c (gpgsm_validate_path): Added EXPTIME arg and changedWerner Koch7-40/+96
all callers. * verify.c (gpgsm_verify): Tweaked usage of log_debug and log_error. Return EXPSIG status and add expiretime to VALIDSIG.
2002-04-27Debug message cleanups.Werner Koch5-7/+18
2002-04-25* call-agent.c (start_agent): Make copies of old locales and checkWerner Koch2-6/+29
for setlocale. * configure.ac: Check for setlocale.
2002-04-242002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-17/+30
* call-agent.c (start_agent): Fix error handling logic so the locale is always correctly reset.
2002-04-242002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann4-10/+57
* server.c (option_handler): Accept display, ttyname, ttytype, lc_ctype and lc_messages options. * gpgsm.c (main): Allocate memory for these options. * gpgsm.h (struct opt): Make corresponding members non-const.
2002-04-242002-04-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann4-4/+129
* configure.ac: Check for locale.h. agent/ 2002-04-24 Marcus Brinkmann <[email protected]> * agent.h (struct opt): Add members display, ttyname, ttytype, lc_ctype, and lc_messages. * gpg-agent.c (enum cmd_and_opt_values): Add oDisplay, oTTYname, oTTYtype, oLCctype, and LCmessages. (main): Handle these options. * command.c (option_handler): New function. (register_commands): Register option handler. * query.c (start_pinentry): Pass the various display and tty options to the pinentry. sm/ 2002-04-24 Marcus Brinkmann <[email protected]> * gpgsm.h (struct opt): New members display, ttyname, ttytype, lc_ctype, lc_messages. * gpgsm.c (enum cmd_and_opt_values): New members oDisplay, oTTYname, oTTYtype, oLCctype, oLCmessages. (opts): New entries for these options. (main): Handle these new options. * call-agent.c (start_agent): Set the various display and tty parameter after resetting.
2002-04-18* certreqgen.c (gpgsm_genkey): Write status output on success.Werner Koch2-0/+5
2002-04-15 released 0.3.5NEWPG-0-3-5Werner Koch1-1/+1
2002-04-15* gpgsm.c (main): Check ksba version.Werner Koch2-2/+9
2002-04-15* certpath.c (find_up): New to use the authorithKeyIdentifier.Werner Koch3-8/+67
Use it in all other functions to locate the signing cert..
2002-04-12* certlist.c (cert_usable_p): New.Werner Koch7-8/+148
(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-28* certpath.c (gpgsm_walk_cert_chain): Be a bit more silent onWerner Koch3-2/+10
common errors.
2002-03-28* keylist.c (list_cert_colon): Fixed listing of crt record; theWerner Koch2-4/+31
issuer is not at the right place. Print a chainingID.