aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-11-17Smartcard related updatesWerner Koch1-5/+3
2010-10-26Re-implemented GPG's --passwd command and improved it.Werner Koch1-8/+78
2010-10-18replace some sprintf by bin2hex.Werner Koch1-17/+12
2010-10-14All tests work are again workingWerner Koch1-3/+5
2010-10-13More agent support for gpg.Werner Koch1-0/+6
2010-10-01Exporting secret keys via gpg-agent is now basically supported.Werner Koch1-10/+132
A couple of forward ported changes. Doc updates.
2010-09-01Even less prompts for a new key now.Werner Koch1-3/+9
2010-09-01Use passphrase caching for import and genkey.Werner Koch1-8/+44
2010-08-31Import OpenPGP keys into the agent.Werner Koch1-0/+101
2010-04-23Decryption and signi via agent is now implemented.Werner Koch1-2/+126
2010-04-21More changes on the way to remove secring.gpg.Werner Koch1-7/+9
2010-04-20Generating an OpenPGP key cia gpg-agent basically works.Werner Koch1-21/+312
2010-01-08Add dummu option --passwd for gpg.Werner Koch1-0/+35
Collected changes.
2009-09-232009-09-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-10/+10
* 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-11Ask to insert the right OpenPGP card.Werner Koch1-15/+165
2009-08-05Enable readline support in --card-edit.Werner Koch1-0/+13
better cope with re-inserted cards.
2009-08-05Ask for the keysize when generating a new card key.Werner Koch1-1/+5
2009-07-22Make use of the card's extended capabilities.Werner Koch1-0/+38
2009-07-22Emit CARDCTRL status lines.Werner Koch1-47/+129
2009-07-07Reworked passing of envars to Pinentry.Werner Koch1-2/+1
2009-06-24Fixed a bunch of little bugs as reported by Fabian Keil.Werner Koch1-1/+0
Still one problem left; marked with a gcc #warning.
2009-06-17Add readcert command.Werner Koch1-2/+37
fix reading large certificates.
2009-06-09app-openpgp changesWerner Koch1-2/+2
2009-05-15Made card key generate with backup key work for 2048 bit.Werner Koch1-3/+19
Improved card key generation prompts.
2009-04-01Import/export of pkcs#12 now uses the gpg-agent directly.Werner Koch1-26/+1
Removed duplicated code (percent unescaping).
2009-03-17Enhanced last patch.Werner Koch1-57/+39
2009-03-17Move password repetition from gpg to gpg-agent.Werner Koch1-3/+4
2009-02-27Fix a gpg2 problem with removed cards.Werner Koch1-0/+18
Allow runtime conf change for scdaemon. New commands for scdaemon.
2009-01-13Add a sample key.Werner Koch1-1/+18
Detect and show the card type.
2008-12-05Add a custom prompt for the CSR generation.Werner Koch1-7/+7
Add a new percent escape fucntion.
2008-10-20Marked all unused args on non-W32 platforms.Werner Koch1-1/+9
2008-09-25Finished support for v2 cards with the exception of secure messaging.Werner Koch1-2/+6
2008-09-23Support the Certifciate DO of the v2 OpenPGP cards.Werner Koch1-0/+57
2008-02-14Poems for AllowSetForegroundWindow (W32)Werner Koch1-24/+72
2007-11-19Started to implement the audit log feature.Werner Koch1-0/+1
Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes.
2007-10-23New option --list-config for gpgconf.Werner Koch1-1/+1
2007-07-05Fixed card key generation of gpg2.Werner Koch1-5/+16
Reveal less information about timings while generating a key.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-06-21Implemented the --gen-key command as we can't use the gpgsm-gencert.sh under ↵Werner Koch1-103/+9
Windows.
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch1-1/+1
See the ChangeLogs for details.
2007-04-13g10/ and sm/Werner Koch1-1/+1
* call-agent.c (start_agent): Don't use log_error when using the fallback hack to start the agent. This is bug 782. scripts/ * mail-to-translators: Copied from 1.4. and adjusted. tools/ * gpgconf-comp.c: Allow changing of --allow-mark-trusted. * gpg-connect-agent.c (main): New option --decode and commands decode and undecode. (read_and_print_response): Implement option.
2007-01-30Added LIBINTL to more Makefile targets.Werner Koch1-1/+3
doc/ * com-certs.pem: Added the current root certifcates of D-Trust and S-Trust. g10/ * status.c (write_status_begin_signing): New. * sign.c (sign_file, sign_symencrypt_file): Call it. * textfilter.c (copy_clearsig_text): Call it. * call-agent.c (agent_scd_pksign): Pass --hash-rmd160 to SCD if required. * gpg.c (main): Let --no-use-agent and --gpg-agent-info print a warning. * misc.c (obsolete_option): New.
2006-10-04Fixed agent access for gpg.Werner Koch1-87/+121
2006-09-20Cleanups.Werner Koch1-119/+5
2006-09-14Take advantage of newer gpg-error features.Werner Koch1-8/+8
2006-09-06The big Assuan error code removal.Werner Koch1-30/+26
2006-09-06Minor changes and typo fixes.Werner Koch1-1/+1
2006-08-16With --enable-gpg the keyservers are now build and a first test using gpg2Werner Koch1-8/+59
shows no prblems. Needs more testing of course.
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2006-05-23g10/ does build again.Werner Koch1-6/+18