Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Nuked almost all trailing white space.post-nuke-of-trailing-ws | Werner Koch | 2011-02-04 | 1 | -86/+86 | |
| | | | | | | | | We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again. | |||||
* | Fixed problem with unplugging card readers. | Werner Koch | 2011-01-25 | 1 | -1/+11 | |
| | | | | | | | | | | | | | | | | From Grant Olsons's mail to gnupg-devel@: This is three-quarters NIIBE and one-quarter me, but I though it would be easier to have a single complete patch that applies to STABLE-BRANCH-2-0 than two patches floating around. This is basically NIIBE Yatuka's patch here: http://lists.gnupg.org/pipermail/gnupg-devel/2010-November/025828.html Plus another check that closes down the reader explicitly if we get a SW_HOST_NO_READER error, so that an unplugged reader doesn't hold onto the first slot, preventing us from getting to the active plugged reader. | |||||
* | Detect non operational readers. | Werner Koch | 2011-01-25 | 1 | -4/+19 | |
| | | | | Backport from 2.0. | |||||
* | Use a custom log handler for libassuan. | Werner Koch | 2010-03-11 | 1 | -3/+0 | |
| | ||||||
* | agent/ | Marcus Brinkmann | 2009-11-25 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | 2009-11-25 Marcus Brinkmann <[email protected]> * command.c (start_command_handler): Use assuan_fd_t and assuan_fdopen on fds. scd/ 2009-11-25 Marcus Brinkmann <[email protected]> * command.c (scd_command_handler): Use assuan_fd_t and assuan_fdopen on fds. sm/ 2009-11-25 Marcus Brinkmann <[email protected]> * server.c (gpgsm_server): Use assuan_fd_t and assuan_fdopen on fds. g10/ 2009-11-25 Marcus Brinkmann <[email protected]> * server.c (gpg_server): Use assuan_fd_t and assuan_fdopen on fds. | |||||
* | agent/ | Marcus Brinkmann | 2009-11-05 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-11-05 Marcus Brinkmann <[email protected]> * call-pinentry.c (start_pinentry): Call assuan_pipe_connect, not assuan_pipe_connect_ext. * command.c (start_command_handler): Change assuan_init_socket_server_ext into assuan_init_socket_server. * call-scd.c (start_scd): Update use of assuan_socket_connect and assuan_pipe_connect. * gpg-agent.c (check_own_socket_thread, check_for_running_agent): Update use of assuan_socket_connect. common/ 2009-11-05 Marcus Brinkmann <[email protected]> * asshelp.c (start_new_gpg_agent): Update use of assuan_socket_connect and assuan_pipe_connect. scd/ 2009-11-05 Marcus Brinkmann <[email protected]> * command.c (scd_command_handler): Call assuan_init_socket_server, not assuan_init_socket_server_ext. sm/ 2009-11-05 Marcus Brinkmann <[email protected]> * call-dirmngr.c (start_dirmngr_ext): Update use of assuan_pipe_connect and assuan_socket_connect. tools/ 2009-11-05 Marcus Brinkmann <[email protected]> * gpg-connect-agent.c (start_agent): Update use of assuan_socket_connect and assuan_pipe_connect. | |||||
* | Add help strings for all commands. | Werner Koch | 2009-11-04 | 1 | -335/+337 | |
| | ||||||
* | Adjust for assuan_register_command change. | Werner Koch | 2009-11-04 | 1 | -1/+1 | |
| | ||||||
* | agent/ | Marcus Brinkmann | 2009-11-02 | 1 | -3/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-11-02 Marcus Brinkmann <[email protected]> * command.c (reset_notify): Take LINE arg and return error. (register_commands): Use assuan_handler_t type. common/ 2009-11-02 Marcus Brinkmann <[email protected]> * get-passphrase.c (default_inq_cb, membuf_data_cb): Change return type to gpg_error_t. g10/ 2009-11-02 Marcus Brinkmann <[email protected]> * server.c (reset_notify, input_notify, output_notify): Update to new assuan interface. (register_commands): Use assuan_handler_t. scd/ 2009-11-02 Marcus Brinkmann <[email protected]> * command.c (reset_notify): Take LINE arg and return error. (register_commands): Use assuan_handler_t type. sm/ 2009-11-02 Marcus Brinkmann <[email protected]> * server.c (reset_notify, input_notify, output_notify): Update to new assuan interface. (register_commands): Use assuan_handler_t. * call-agent.c (membuf_data_cb, default_inq_cb) (inq_ciphertext_cb, scd_serialno_status_cb) (scd_keypairinfo_status_cb, istrusted_status_cb) (learn_status_cb, learn_cb, keyinfo_status_cb): Return gpg_error_t. | |||||
* | [scd] Memory leak fix. | Werner Koch | 2009-10-28 | 1 | -0/+1 | |
| | | | | | [g13] Send MOUNTPOINT status line | |||||
* | 2009-09-23 Marcus Brinkmann <[email protected]> | Marcus Brinkmann | 2009-09-23 | 1 | -32/+39 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. | |||||
* | Add code to better handle unplugging of a reader. | Werner Koch | 2009-07-16 | 1 | -3/+11 | |
| | ||||||
* | Improved smartcard robustness. | Werner Koch | 2009-05-13 | 1 | -4/+20 | |
| | ||||||
* | Import/export of pkcs#12 now uses the gpg-agent directly. | Werner Koch | 2009-04-01 | 1 | -36/+1 | |
| | | | | | Removed duplicated code (percent unescaping). | |||||
* | Implement decryption for TCOS 3 cards. | Werner Koch | 2009-03-30 | 1 | -5/+6 | |
| | ||||||
* | Signing using Netkey 3 cards does now work. | Werner Koch | 2009-03-26 | 1 | -1/+9 | |
| | ||||||
* | Better syncronization of several smartcard sessions. | Werner Koch | 2009-03-24 | 1 | -7/+33 | |
| | ||||||
* | Add server option with-ephemeral-keys. | Werner Koch | 2009-03-18 | 1 | -48/+56 | |
| | | | | | Extend SCD LEARN command. | |||||
* | Add new attribute KEY-ATTR. | Werner Koch | 2009-03-10 | 1 | -0/+12 | |
| | ||||||
* | New PIN Callback attributes in gpg-agent. | Werner Koch | 2009-03-05 | 1 | -11/+24 | |
| | | | | | | Common prompts for keypad and simple card reader. More support for Netkey cards; PIN management works now. | |||||
* | Fix segv.gnupg-2.0.11 | Werner Koch | 2009-03-03 | 1 | -1/+3 | |
| | ||||||
* | Fix a gpg2 problem with removed cards. | Werner Koch | 2009-02-27 | 1 | -0/+32 | |
| | | | | | | Allow runtime conf change for scdaemon. New commands for scdaemon. | |||||
* | New scd getinfo subcommand deny_admin | Werner Koch | 2009-02-12 | 1 | -0/+6 | |
| | ||||||
* | Change default gpgsm cipher back to 3DES. | Werner Koch | 2009-02-09 | 1 | -1/+1 | |
| | | | | | Typo fixes. | |||||
* | Add a sample key. | Werner Koch | 2009-01-13 | 1 | -1/+2 | |
| | | | | | Detect and show the card type. | |||||
* | Minor fixes | Werner Koch | 2009-01-12 | 1 | -1/+1 | |
| | ||||||
* | Add limited support for NetKey 3.0 cards. | Werner Koch | 2009-01-08 | 1 | -1/+1 | |
| | ||||||
* | Fixed some card related problems. | Werner Koch | 2008-12-18 | 1 | -30/+91 | |
| | ||||||
* | Add option --card-timeout. | Werner Koch | 2008-12-05 | 1 | -7/+11 | |
| | | | | | | | Add a new attribyte to app-openpgp.c Fix two portability bugs. Have gpg-connect-agent autostart gpg-agent on W32. | |||||
* | Minor cleanups. | Werner Koch | 2008-11-11 | 1 | -7/+28 | |
| | ||||||
* | Fixed the card removed with cached app bug. (Famous last fix). | Werner Koch | 2008-11-03 | 1 | -18/+23 | |
| | ||||||
* | Use bin2hex if possible. | Werner Koch | 2008-11-03 | 1 | -3/+1 | |
| | ||||||
* | Cosmetic fix | Werner Koch | 2008-10-29 | 1 | -1/+2 | |
| | ||||||
* | 2008-10-21 Marcus Brinkmann <[email protected]> | Marcus Brinkmann | 2008-10-21 | 1 | -1/+6 | |
| | | | | | | * command.c (open_card): If connect error is SW_HOST_NO_CARD, return a more descriptive error. | |||||
* | Marked all unused args on non-W32 platforms. | Werner Koch | 2008-10-20 | 1 | -0/+6 | |
| | ||||||
* | Use more warning options with modern GCCs. | Werner Koch | 2008-10-17 | 1 | -0/+14 | |
| | | | | | Other minor changes. | |||||
* | Made scdaemon more robust on Windows. | Werner Koch | 2008-10-15 | 1 | -3/+7 | |
| | ||||||
* | SCD changes for PC/SC under W32. | Werner Koch | 2008-10-14 | 1 | -5/+38 | |
| | ||||||
* | Support the Certifciate DO of the v2 OpenPGP cards. | Werner Koch | 2008-09-23 | 1 | -35/+76 | |
| | ||||||
* | 2008-08-30 Moritz <[email protected]> | Moritz Schulte | 2008-08-31 | 1 | -14/+14 | |
| | | | | | | | | | | | | | * scdaemon.c (main): Use estream_asprintf instead of asprintf. * command.c (update_reader_status_file): Likewise. (cmd_serialno): Use estream_asprintf instead of asprintf and xfree instead of free to release memory allocated through (estream_)asprintf. (cmd_learn): Likewise. (pin_cb): Likewise. * app-openpgp.c (get_public_key): Likewise. | |||||
* | Do not run the setuid test if running under as root proper. | Werner Koch | 2008-07-17 | 1 | -1/+1 | |
| | | | | | | Documentation fixes. Some enhancements for the new OpenPGP Card. | |||||
* | Add support for the TCOS NullPIN feature. | Werner Koch | 2008-06-24 | 1 | -4/+10 | |
| | ||||||
* | Extended gpg-connect-agent. | Werner Koch | 2007-10-02 | 1 | -0/+8 | |
| | | | | | New "GETINFO pid" command for scdaemon and gpg-agent. | |||||
* | Fixed card key generation of gpg2. | Werner Koch | 2007-07-05 | 1 | -11/+62 | |
| | | | | | Reveal less information about timings while generating a key. | |||||
* | Changed to GPLv3. | Werner Koch | 2007-07-04 | 1 | -4/+2 | |
| | | | | | Removed intl/. | |||||
* | A bunch of minor changes for Windows. | Werner Koch | 2007-07-04 | 1 | -1/+8 | |
| | ||||||
* | A whole bunch of changes to allow building for Windows. | Werner Koch | 2007-06-14 | 1 | -1/+19 | |
| | | | | | See the ChangeLogs for details. | |||||
* | Add a way to get a listing of available CCID readers. | Werner Koch | 2007-04-03 | 1 | -0/+21 | |
| | ||||||
* | Final fix for rc1gnupg-2.0.1rc1 | Werner Koch | 2006-11-23 | 1 | -1/+1 | |
| | ||||||
* | Made some PIN pads work. | Werner Koch | 2006-11-20 | 1 | -18/+40 | |
| | | | | | Some cleanups for 64 bit CPUs. |