aboutsummaryrefslogtreecommitdiffstats
path: root/sm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.am: Use libassuan. Don't override LDFLAGS anymore.Werner Koch2003-04-294-32/+33
| | | | | * server.c (register_commands): Adjust for new Assuan semantics.
* Updated from latest NewPG projectWerner Koch2003-01-097-10/+314
|
* * certcheck.c (gpgsm_check_cert_sig): Add cert hash debugging.NEWPG-0-9-2Werner Koch2002-09-193-3/+35
| | | | | | * certchain.c (find_up): Print info when the cert was not found by the autorithyKeyIdentifier.
* * gpgsm.c (main): Disable the internal libgcrypt locking.Werner Koch2002-09-032-1/+9
|
* * import.c (print_imported_summary): Cleaned up. Print newWerner Koch2002-08-213-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.
* * gpgsm.c (main): Use the log file only in server mode.Werner Koch2002-08-206-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.
* Made it compile.Werner Koch2002-08-163-6/+6
|
* *** empty log message ***Werner Koch2002-08-161-773/+0
|
* * certpath.c: Renamed to ..Werner Koch2002-08-164-5/+7
| | | | | | * certchain.c: this. Renamed all all other usages of "path" in the context of certificates to "chain".
* * call-agent.c (learn_cb): Special treatment when the issuerWerner Koch2002-08-1612-58/+69
| | | | | certificate is missing.
* Minor changes for gettextNEWPG-0-3-10Werner Koch2002-08-103-1/+6
|
* * keylist.c (list_cert_colon): Print the short fingerprint in theWerner Koch2002-08-106-15/+53
| | | | | | | | key ID field. * fingerprint.c (gpgsm_get_short_fingerprint): New. * verify.c (gpgsm_verify): Print more verbose info for a good signature.
* * decrypt.c (prepare_decryption): Hack to detected alreadyWerner Koch2002-08-092-25/+36
| | | | | unpkcsedone keys.
* * gpgsm.c (emergency_cleanup): New.Werner Koch2002-08-098-225/+321
| | | | | | | | (main): Initialize the signal handler. * sign.c (gpgsm_sign): Reset the hash context for subsequent signers and release it at the end.
* * keydb.c (keydb_add_resource): Register a lock file.Werner Koch2002-07-222-9/+30
| | | | | (lock_all, unlock_all): Implemented.
* * delete.c: New.Werner Koch2002-07-228-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.
* * server.c (gpgsm_status2): Insert a blank between all optionalWerner Koch2002-07-034-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.
* * verify.c (gpgsm_verify): Extend the STATUS_BADSIG line withWerner Koch2002-07-022-2/+13
| | | | | the fingerprint.
* * certpath.c (check_cert_policy): Don't use log_error to print aWerner Koch2002-07-023-4/+17
| | | | | warning.
* * keydb.c (keydb_store_cert): Add optional ar EXISTED and changedWerner Koch2002-07-029-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.
* * call-dirmngr.c (gpgsm_dirmngr_isvalid): print status of dirmngrWerner Koch2002-07-023-1/+25
| | | | | | | | call in very verbose mode. * gpgsm.c (main): Use the same error codes for STATUS_INV_RECP as with the server mode.
* * gpgsm.c: New option --auto-issuer-key-retrieve.Werner Koch2002-06-298-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.
* * server.c (cmd_recipient): Add more reason codes.Werner Koch2002-06-284-3/+17
|
* * gpgsm.c (main): Use GNUPG_DEFAULT_HOMEDIR constant.Werner Koch2002-06-274-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.
* * import.c (gpgsm_import): Print an STATUS_IMPORTED.Werner Koch2002-06-263-2/+15
| | | | | * gpgsm.c: --debug-no-path-validation does not take an argument.
* * certdump.c (print_dn_part): Always print a leading slash,Werner Koch2002-06-255-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.
* * gpgsm.c, gpgsm.h: New option --debug-no-path-validation.Werner Koch2002-06-245-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.
* * certlist.c (gpgsm_add_to_certlist): Fixed locating of aWerner Koch2002-06-2012-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.
* * call-agent.c (learn_cb): Use log_info instead of log_error onWerner Koch2002-06-199-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.
* * certreqgen.c (read_parameters): Improved error handling.Werner Koch2002-06-172-11/+37
| | | | | (gpgsm_genkey): Print error message.
* * gpgsm.c (main): New option --log-file.Werner Koch2002-06-132-0/+15
|
* * call-dirmngr.c (lookup_status_cb): New.Werner Koch2002-06-124-6/+27
| | | | | | (gpgsm_dirmngr_lookup): Use the status CB. Add new arg CTRL and changed caller to pass it.
* * gpgsm.c (open_fwrite): New.Werner Koch2002-06-122-11/+60
| | | | | (main): Allow --output for --verify.
* * sign.c (hash_and_copy_data): New.Werner Koch2002-06-127-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.
* * gpgsm.c (main): New command --list-sigsNEWPG-0-3-7Werner Koch2002-06-045-5/+480
| | | | | | | * keylist.c (list_cert_std): New. Use it whenever colon mode is not used. (list_cert_chain): New.
* * gpgsm.c (main): Don't print the "go ahead" message for anWerner Koch2002-05-312-1/+6
| | | | | invalid command.
* * import.c (gpgsm_import): Add error messages.Werner Koch2002-05-232-1/+19
|
* * keylist.c (list_internal_keys): Renamed from gpgsm_list_keys.Werner Koch2002-05-216-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.
* * import.c (gpgsm_import): Try to identify the type of input andWerner Koch2002-05-212-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.
* sm/Werner Koch2002-05-145-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/
* * certpath.c (gpgsm_validate_path): Added EXPTIME arg and changedWerner Koch2002-05-037-40/+96
| | | | | | | all callers. * verify.c (gpgsm_verify): Tweaked usage of log_debug and log_error. Return EXPSIG status and add expiretime to VALIDSIG.
* Debug message cleanups.Werner Koch2002-04-275-7/+18
|
* * call-agent.c (start_agent): Make copies of old locales and checkWerner Koch2002-04-252-6/+29
| | | | | | | for setlocale. * configure.ac: Check for setlocale.
* 2002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-242-17/+30
| | | | | | * call-agent.c (start_agent): Fix error handling logic so the locale is always correctly reset.
* 2002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-244-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-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-244-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.
* * certreqgen.c (gpgsm_genkey): Write status output on success.Werner Koch2002-04-182-0/+5
|
* released 0.3.5NEWPG-0-3-5Werner Koch2002-04-151-1/+1
|
* * gpgsm.c (main): Check ksba version.Werner Koch2002-04-152-2/+9
|
* * certpath.c (find_up): New to use the authorithKeyIdentifier.Werner Koch2002-04-153-8/+67
| | | | | Use it in all other functions to locate the signing cert..