aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-12-10Add option --cert-extension.Werner Koch1-1/+7
2009-12-03support numeric debug levels.Werner Koch1-7/+29
2009-12-02More stuff for the audit-log.Werner Koch1-9/+16
2009-11-23Add gpgconf related dummy options default_pubkey_algo.Werner Koch1-0/+5
Add option --skip-hidden-recipients Comment updates.
2009-10-19[g13] Add RECIPEINT and CREATE command.Werner Koch1-5/+20
[sm] Chnage --include-certs default
2009-09-30Some changes to suport g13.Werner Koch1-3/+0
2009-09-232009-09-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-3/+6
* configure.ac (NEED_LIBASSUAN_API, NEED_LIBASSUAN_VERSION): Update to new API (2, 1.1.0). agent/ 2009-09-23 Marcus Brinkmann <[email protected]> * gpg-agent.c (parse_rereadable_options): Don't set global assuan log file (there ain't one anymore). (main): Update to new API. (check_own_socket_pid_cb): Return gpg_error_t instead of int. (check_own_socket_thread, check_for_running_agent): Create assuan context before connecting to server. * command.c: Include "scdaemon.h" before <assuan.h> because of GPG_ERR_SOURCE_DEFAULT check. (write_and_clear_outbuf): Use gpg_error_t instead of assuan_error_t. (cmd_geteventcounter, cmd_istrusted, cmd_listtrusted) (cmd_marktrusted, cmd_havekey, cmd_sigkey, cmd_setkeydesc) (cmd_sethash, cmd_pksign, cmd_pkdecrypt, cmd_genkey, cmd_readkey) (cmd_keyinfo, cmd_get_passphrase, cmd_clear_passphrase) (cmd_get_confirmation, cmd_learn, cmd_passwd) (cmd_preset_passphrase, cmd_scd, cmd_getval, cmd_putval) (cmd_updatestartuptty, cmd_killagent, cmd_reloadagent) (cmd_getinfo, option_handler): Return gpg_error_t instead of int. (post_cmd_notify): Change type of ERR to gpg_error_t from int. (io_monitor): Add hook argument. Use symbols for constants. (register_commands): Change return type of HANDLER to gpg_error_t. (start_command_handler): Allocate assuan context before starting server. * call-pinentry.c: Include "scdaemon.h" before <assuan.h> because of GPG_ERR_SOURCE_DEFAULT check. (unlock_pinentry): Call assuan_release instead of assuan_disconnect. (getinfo_pid_cb, getpin_cb): Return gpg_error_t instead of int. (start_pinentry): Allocate assuan context before connecting to server. * call-scd.c (membuf_data_cb, learn_status_cb, get_serialno_cb) (membuf_data_cb, inq_needpin, card_getattr_cb, pass_status_thru) (pass_data_thru): Change return type to gpg_error_t. (start_scd): Allocate assuan context before connecting to server. common/ 2009-09-23 Marcus Brinkmann <[email protected]> * asshelp.c (start_new_gpg_agent): Allocate assuan context before starting server. g10/ 2009-09-23 Marcus Brinkmann <[email protected]> * call-agent.c: Include "scdaemon.h" before <assuan.h> because of GPG_ERR_SOURCE_DEFAULT check. (learn_status_cb, dummy_data_cb, get_serialno_cb, default_inq_cb) (learn_status_cb, inq_writecert_parms, inq_writekey_parms) (scd_genkey_cb, membuf_data_cb): Return gpg_error_t instead of int. * gpg.c: Include "scdaemon.h" before <assuan.h> because of GPG_ERR_SOURCE_DEFAULT check. (main): Update to new Assuan API. * server.c: Include "scdaemon.h" before <assuan.h> because of GPG_ERR_SOURCE_DEFAULT check. (option_handler, cmd_recipient, cmd_signer, cmd_encrypt) (cmd_decrypt, cmd_verify, cmd_sign, cmd_import, cmd_export) (cmd_delkeys, cmd_message, do_listkeys, cmd_listkeys) (cmd_listsecretkeys, cmd_genkey, cmd_getinfo): Return gpg_error_t instead of int. (register_commands): Allocate assuan context before starting server. (gpg_server): Allocate assuan_context before starting server. scd/ 2009-09-23 Marcus Brinkmann <[email protected]> * command.c: Include "scdaemon.h" before <assuan.h> because of GPG_ERR_SOURCE_DEFAULT check. (option_handler, open_card, cmd_serialno, cmd_lean, cmd_readcert) (cmd_readkey, cmd_setdata, cmd_pksign, cmd_pkauth, cmd_pkdecrypt) (cmd_getattr, cmd_setattr, cmd_writecert, cmd_writekey) (cmd_genkey, cmd_random, cmd_passwd, cmd_checkpin, cmd_lock) (cmd_unlock, cmd_getinfo, cmd_restart, cmd_disconnect, cmd_apdu) (cmd_killscd): Return gpg_error_t instead of int. (scd_command_handler): Allocate assuan context before starting server. * scdaemon.c (main): Update to new Assuan API. sm/ 2009-09-23 Marcus Brinkmann <[email protected]> * gpgsm.c (main): Update to new assuan API. * server.c: Include "gpgsm.h" before <assuan.h> due to check for GPG_ERR_SOURCE_DEFAULT and assuan.h now including gpg-error.h. (option_handler, cmd_recipient, cmd_signer, cmd_encrypt) (cmd_decrypt, cmd_verify, cmd_sign, cmd_import, cmd_export) (cmd_delkeys, cmd_message, cmd_listkeys, cmd_dumpkeys) (cmd_listsecretkeys, cmd_dumpsecretkeys, cmd_genkey) (cmd_getauditlog, cmd_getinfo): Return gpg_error_t instead of int. (register_commands): Same for member HANDLER in table. (gpgsm_server): Allocate assuan context before starting server. * sm/call-dirmngr.c: * call-dirmngr.c (prepare_dirmngr): Check for CTX and error before setting LDAPSERVER. (start_dirmngr_ext): Allocate assuan context before starting server. (inq_certificate, isvalid_status_cb, lookup_cb, lookup_status_cb) (run_command_cb, run_command_inq_cb, run_command_status_cb): Return gpg_error_t instead of int. tools/ 2009-09-23 Marcus Brinkmann <[email protected]> * gpg-connect-agent.c (getinfo_pid_cb, read_and_print_response) (main): Update to new Assuan API.
2009-08-06Improved detection of bad/invalid signer keys.Werner Koch1-23/+4
2009-07-21Make bug reporting address easier changeable.Werner Koch1-2/+2
2009-07-07Reworked passing of envars to Pinentry.Werner Koch1-7/+35
2009-07-01Alow batch ode for gpgsm --gen-key.Werner Koch1-4/+54
Allow CSR generation using an existing key with gpgsm.
2009-05-18New gpgsm server option no-encrypt-to.Werner Koch1-6/+0
Add caching for symkey encryption. Minor cleanups.
2009-03-26Signing using Netkey 3 cards does now work.Werner Koch1-8/+6
2009-03-18Add server option with-ephemeral-keys.Werner Koch1-1/+1
Extend SCD LEARN command.
2009-03-16Remove duplicated code.Werner Koch1-1/+1
2009-02-09Fix bug#998.Werner Koch1-2/+2
2008-12-10fix a gpgconf default. Cosmetic changes.Werner Koch1-6/+9
2008-12-09Minor fixes.Werner Koch1-1/+1
2008-11-18Print library versions according to GNU standards.Werner Koch1-51/+32
2008-11-13Cleaned up unused gpgsm and gpg options.Werner Koch1-289/+210
2008-10-20Marked all unused args on non-W32 platforms.Werner Koch1-0/+2
2008-10-13Add --delete-keys as alias for --delete-key.Werner Koch1-1/+2
2008-09-29Remove hacks which are not anymore needed since we now require Libgcrypt 1.4Werner Koch1-5/+1
2008-06-26Start support of TCOS 3 cards.Werner Koch1-1/+1
Support restriction attribute. Fix utf-8 printing problems. Use AES by default.
2008-06-12sm/Marcus Brinkmann1-33/+131
2008-06-12 Marcus Brinkmann <[email protected]> * gpgsm.h (struct keyserver_spec): New struct. (opt): Add member keyserver. * gpgsm.c (keyserver_list_free, parse_keyserver_line): New functions. (main): Implement --keyserver option. * call-dirmngr.c (prepare_dirmngr): Send LDAPSERVER commands. tools/ 2008-06-12 Marcus Brinkmann <[email protected]> * gpgconf-comp.c (gc_options_gpgsm): Add option keyserver.
2008-05-20Fix --output option used when with --export-secret-kety-p12.Werner Koch1-1/+1
2008-05-09Updated German translation.Werner Koch1-1/+1
Fix in gpgconf for W32.
2008-02-19Improve certificate chain construction.Werner Koch1-4/+11
Extend PKITS framework
2007-12-13Allow verification of some broken S-TRUST generated signatures.Werner Koch1-0/+13
2007-12-12Support DSA2.Werner Koch1-16/+31
Support Camellia for testing. More audit stuff.
2007-12-06More code for the audit log.Werner Koch1-1/+1
2007-12-03Try to make sure that the standard descriptors are connected when callingWerner Koch1-0/+1
gpgsm.
2007-11-26Add option --data to GETAUDITLOG command.Werner Koch1-4/+3
Return HTML formatted dummy output.
2007-11-19Started to implement the audit log feature.Werner Koch1-2/+32
Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes.
2007-09-14Print used library version with --version.Werner Koch1-2/+51
Typo fixes
2007-08-14Documentaion updates.Werner Koch1-11/+80
Support doe Dirmngr under W32. Fixed a yat2m bug.
2007-08-10Implemented the chain model for X.509 validation.Werner Koch1-7/+42
2007-08-02Factored common gpgconf constants outWerner Koch1-28/+12
Fixed W32 compare_filenames
2007-07-17Typo fixes.Werner Koch1-4/+11
Made --default-key work for gpgsm Add --default-key and --encrypt-to to gpgconf.
2007-07-12Translate all file descriptors received from assuan.Werner Koch1-1/+1
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-06-26More W32 related changesWerner Koch1-0/+1
2007-06-25Fixed a problem in estream-printf.c.Werner Koch1-8/+8
Changes for Windows (gpgsm -k does now work). Minor cleanups.
2007-06-21Implemented the --gen-key command as we can't use the gpgsm-gencert.sh under ↵Werner Koch1-4/+7
Windows.
2007-06-20[w32] gpg-agent is now started automagically by gpgsm.Werner Koch1-1/+1
2007-06-19Made percent_escape more general.Werner Koch1-1/+1
Added regression tests support to jnlib. W32 changes.
2007-06-18jnlib/Marcus Brinkmann1-3/+6
2007-06-18 Marcus Brinkmann <[email protected]> * stringhelp.h (percent_escape): New prototype. * stringhelp.c (percent_escape): New function. agent/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpg-agent.c (main): Percent escape pathname in --gpgconf-list output. g10/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpg.c (gpgconf_list): Percent escape output of --gpgconf-list. scdaemon/ 2007-06-18 Marcus Brinkmann <[email protected]> * scdaemon.c (main): Percent escape output of --gpgconf-list. sm/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpgsm.c (main): Percent escape output of --gpgconf-list.
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch1-4/+4
See the ChangeLogs for details.
2007-06-06First steps towards supporting W32.Werner Koch1-15/+0
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
2007-04-20Improved logging for error orginating from libgcrypt.Werner Koch1-8/+4