aboutsummaryrefslogtreecommitdiffstats
path: root/sm/server.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Support DSA2.Werner Koch2007-12-121-4/+19
| | | | | | Support Camellia for testing. More audit stuff.
* More code for the audit log.Werner Koch2007-12-061-3/+7
|
* Add option --data to GETAUDITLOG command.Werner Koch2007-11-261-12/+32
| | | | | Return HTML formatted dummy output.
* New command GETAUDITLOGWerner Koch2007-11-221-0/+36
|
* Document --auto-issuer-key-retrieve.Werner Koch2007-11-191-0/+2
|
* Started to implement the audit log feature.Werner Koch2007-11-191-84/+44
| | | | | | | | Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes.
* Updated estream.Werner Koch2007-08-221-2/+10
| | | | | More changes for Windows.
* Implemented the chain model for X.509 validation.Werner Koch2007-08-101-0/+8
|
* Properly close files opened by es_fopen.Werner Koch2007-07-161-1/+1
| | | | | | Allow setting of an empty passphrase. Assorted W32 changes.
* Translate all file descriptors received from assuan.Werner Koch2007-07-121-16/+19
|
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* Implemented the --gen-key command as we can't use the gpgsm-gencert.sh under ↵Werner Koch2007-06-211-1/+1
| | | | Windows.
* Allow export to work on systems without funopen/fopencookie.Werner Koch2007-03-191-7/+12
|
* Changes to let the key listing use estream to help systems withoutWerner Koch2007-03-191-10/+56
| | | | | funopen.
* 2006-12-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2006-12-201-0/+1
| | | | | * server.c (gpgsm_server): Release CTRL->server_local.
* sm/Werner Koch2006-11-141-75/+61
| | | | | | | | | | | | | | * server.c (skip_options): Skip leading spaces. (has_option): Honor "--". (cmd_export): Add option --data to do an inline export. Skip all options. * certdump.c (gpgsm_fpr_and_name_for_status): New. * verify.c (gpgsm_verify): Use it to print correct status messages. doc/ * gpgsm.texi (GPGSM EXPORT): Document changes.
* Fix for bug 537Werner Koch2006-10-021-6/+6
|
* 2006-10-02 Marcus Brinkmann <[email protected]>Marcus Brinkmann2006-10-021-0/+20
| | | | | | | | | * server.c (register_commands): New commands DUMPKEYS and DUMPSECRETKEYS. (cmd_dumpkeys, cmd_dumpsecretkeys): New functions. (option_handler): Support with-key-data option.
* Various fixes and new features.Werner Koch2006-09-131-19/+38
| | | | | Enhanced gpg-connect-agent.
* The big Assuan error code removal.Werner Koch2006-09-061-93/+92
|
* Updated FSF's address.Werner Koch2006-06-201-1/+2
|
* * keylist.c (email_kludge): Reworked.Werner Koch2005-07-201-1/+1
| | | | | | | * certdump.c (gpgsm_print_serial, gpgsm_dump_serial): Cast printf arg to unsigned. * call-dirmngr.c (gpgsm_dirmngr_run_command): Ditto
* gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch2005-06-161-2/+2
| | | | | | | char * vs. unsigned char * warnings. The GNU coding standards used to say that these mismatches are okay and better than a bunch of casts. Obviously this has changed now.
* * call-dirmngr.c (isvalid_status_cb, lookup_status_cb)Werner Koch2004-12-171-10/+13
| | | | | | | | | | (run_command_status_cb): Return cancel status if gpgsm_status returned an error. * server.c (gpgsm_status, gpgsm_status2) (gpgsm_status_with_err_code): Return an error code. (gpgsm_status2): Always call va_end().
* (cmd_encrypt): Use DEFAULT_RECPLIST and not recplistWerner Koch2004-08-161-1/+1
| | | | | for encrypt-to keys.
* * sysutils.c (disable_core_dumps): Only set the current limit.Werner Koch2004-05-111-1/+1
| | | | | | | | | | | | | | | (enable_core_dumps): New. * gpgsm.texi (Esoteric Options): Add --debug-allow-core-dump. * gpgsm.c: New option --debug-allow-core-dump. * gpgsm.h (opt): Add member CONFIG_FILENAME. * gpgsm.c (main): Use it here instead of the local var. * server.c (gpgsm_server): Print some additional information with the hello in verbose mode.
* Also print agent and dirmngr info.Werner Koch2004-05-111-6/+13
|
* * gpgsm.h (opt): Add member CONFIG_FILENAME.Werner Koch2004-05-111-2/+20
| | | | | | | * gpgsm.c (main): Use it here instead of the local var. * server.c (gpgsm_server): Print some additional information with the hello in verbose mode.
* Add STATUS_NEWSIGWerner Koch2004-04-061-0/+1
|
* * keylist.c (list_internal_keys): Return error codes.Werner Koch2004-02-211-2/+3
| | | | | | | | | (list_external_keys, gpgsm_list_keys): Ditto. * server.c (do_listkeys): Ditto. * gpgsm.c (main): Display a key description for --passwd. * call-agent.c (gpgsm_agent_passwd): New arg DESC.
* * gpgsm.c: Fixed value parsing for --with-validation.Werner Koch2004-02-171-1/+2
| | | | | | * call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO. * call-dirmngr.c (start_dirmngr): Likewise for DIRMNGR_INFO.
* * gpgsm.c: New option --with-md5-fingerprint.Werner Koch2004-02-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | * keylist.c (list_cert_std): Print MD5 fpr. * gpgsm.c: New options --with-validation. * server.c (option_handler): New option "with-validation". * keylist.c (list_cert_std, list_internal_keys): New args CTRL and WITH_VALIDATION. Changed callers to set it. (list_external_cb, list_external_keys): Pass CTRL to the callback. (list_cert_colon): Add arg CTRL. Check validation if requested. * certchain.c (unknown_criticals, allowed_ca, check_cert_policy) (gpgsm_validate_chain): New args LISTMODE and FP. (do_list): New helper for info output. (find_up): New arg FIND_NEXT. (gpgsm_validate_chain): After a bad signature try again with other CA certificates. * import.c (print_imported_status): New arg NEW_CERT. Print additional STATUS_IMPORT_OK becuase that is what gpgme expects. (check_and_store): Always call above function after import. * server.c (get_status_string): Added STATUS_IMPORT_OK.
* * server.c (gpgsm_server): Add arg DEFAULT_RECPLIST.Werner Koch2003-12-171-12/+30
| | | | | | | | | | | | | | | (cmd_encrypt): Add all enrypt-to marked certs to the list. * encrypt.c (gpgsm_encrypt): Check that real recipients are available. * gpgsm.c (main): Make the --encrypt-to and --no-encrypt-to options work. Pass the list of recients to gpgsm_server. * gpgsm.h (certlist_s): Add field IS_ENCRYPT_TO. (opt): Add NO_ENCRYPT_TO. * certlist.c (gpgsm_add_to_certlist): New arg IS_ENCRYPT_TO. Changed all callers and ignore duplicate entries. (is_cert_in_certlist): New. (gpgsm_add_cert_to_certlist): New.
* * encrypt.c (init_dek): Use gry_create_nonce for the IV; there isWerner Koch2003-12-161-1/+1
| | | | | | not need for real strong random here and it even better protect the random bits used for the key.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+1070
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-1057/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * import.c (print_imported_summary): Cleaned up. Print newWerner Koch2002-08-211-0/+1
| | | | | | | | | 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.
* * call-agent.c (learn_cb): Special treatment when the issuerWerner Koch2002-08-161-2/+2
| | | | | certificate is missing.
* * gpgsm.c (emergency_cleanup): New.Werner Koch2002-08-091-2/+52
| | | | | | | | (main): Initialize the signal handler. * sign.c (gpgsm_sign): Reset the hash context for subsequent signers and release it at the end.
* * delete.c: New.Werner Koch2002-07-221-0/+44
| | | | | | | | | | * 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-031-9/+14
| | | | | | | | 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.
* * server.c (cmd_recipient): Add more reason codes.Werner Koch2002-06-281-1/+8
|
* * certdump.c (print_dn_part): Always print a leading slash,Werner Koch2002-06-251-4/+17
| | | | | | | | | | | 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.
* * certlist.c (gpgsm_add_to_certlist): Fixed locating of aWerner Koch2002-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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.
* * sign.c (hash_and_copy_data): New.Werner Koch2002-06-121-0/+1
| | | | | | | | | | | (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.
* * keylist.c (list_internal_keys): Renamed from gpgsm_list_keys.Werner Koch2002-05-211-8/+33
| | | | | | | | | | | (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.
* * certpath.c (gpgsm_validate_path): Added EXPTIME arg and changedWerner Koch2002-05-031-0/+2
| | | | | | | 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-271-1/+1
|
* 2002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-241-0/+40
| | | | | | | | * 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.
* * export.c: New.Werner Koch2002-03-211-0/+43
| | | | | | * gpgsm.c: Add command --export. * server.c (cmd_export): New.