aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add dummu option --passwd for gpg.Werner Koch2010-01-081-0/+35
| | | | | Collected changes.
* 2009-09-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-09-231-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.
* Ask to insert the right OpenPGP card.Werner Koch2009-08-111-15/+165
|
* Enable readline support in --card-edit.Werner Koch2009-08-051-0/+13
| | | | | better cope with re-inserted cards.
* Ask for the keysize when generating a new card key.Werner Koch2009-08-051-1/+5
|
* Make use of the card's extended capabilities.Werner Koch2009-07-221-0/+38
|
* Emit CARDCTRL status lines.Werner Koch2009-07-221-47/+129
|
* Reworked passing of envars to Pinentry.Werner Koch2009-07-071-2/+1
|
* Fixed a bunch of little bugs as reported by Fabian Keil.Werner Koch2009-06-241-1/+0
| | | | | Still one problem left; marked with a gcc #warning.
* Add readcert command.Werner Koch2009-06-171-2/+37
| | | | | fix reading large certificates.
* app-openpgp changesWerner Koch2009-06-091-2/+2
|
* Made card key generate with backup key work for 2048 bit.Werner Koch2009-05-151-3/+19
| | | | | Improved card key generation prompts.
* Import/export of pkcs#12 now uses the gpg-agent directly.Werner Koch2009-04-011-26/+1
| | | | | Removed duplicated code (percent unescaping).
* Enhanced last patch.Werner Koch2009-03-171-57/+39
|
* Move password repetition from gpg to gpg-agent.Werner Koch2009-03-171-3/+4
|
* Fix a gpg2 problem with removed cards.Werner Koch2009-02-271-0/+18
| | | | | | Allow runtime conf change for scdaemon. New commands for scdaemon.
* Add a sample key.Werner Koch2009-01-131-1/+18
| | | | | Detect and show the card type.
* Add a custom prompt for the CSR generation.Werner Koch2008-12-051-7/+7
| | | | | Add a new percent escape fucntion.
* Marked all unused args on non-W32 platforms.Werner Koch2008-10-201-1/+9
|
* Finished support for v2 cards with the exception of secure messaging.Werner Koch2008-09-251-2/+6
|
* Support the Certifciate DO of the v2 OpenPGP cards.Werner Koch2008-09-231-0/+57
|
* Poems for AllowSetForegroundWindow (W32)Werner Koch2008-02-141-24/+72
|
* Started to implement the audit log feature.Werner Koch2007-11-191-0/+1
| | | | | | | | Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes.
* New option --list-config for gpgconf.Werner Koch2007-10-231-1/+1
|
* Fixed card key generation of gpg2.Werner Koch2007-07-051-5/+16
| | | | | Reveal less information about timings while generating a key.
* 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-103/+9
| | | | Windows.
* A whole bunch of changes to allow building for Windows.Werner Koch2007-06-141-1/+1
| | | | | See the ChangeLogs for details.
* g10/ and sm/Werner Koch2007-04-131-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.
* Added LIBINTL to more Makefile targets.Werner Koch2007-01-301-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.
* Fixed agent access for gpg.Werner Koch2006-10-041-87/+121
|
* Cleanups.Werner Koch2006-09-201-119/+5
|
* Take advantage of newer gpg-error features.Werner Koch2006-09-141-8/+8
|
* The big Assuan error code removal.Werner Koch2006-09-061-30/+26
|
* Minor changes and typo fixes.Werner Koch2006-09-061-1/+1
|
* With --enable-gpg the keyservers are now build and a first test using gpg2Werner Koch2006-08-161-8/+59
| | | | | shows no prblems. Needs more testing of course.
* Updated FSF's address.Werner Koch2006-06-201-1/+2
|
* g10/ does build again.Werner Koch2006-05-231-6/+18
|
* Merged with gpg 1.4.3 code. Werner Koch2006-04-191-2/+2
| | | | | The gpg part does not yet build.
* Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch2004-12-181-0/+2
|
* A whole bunch of changes to allow building for W32.Werner Koch2004-12-151-0/+2
|
* * card-util.c (change_login): Kludge to allow reading data from aWerner Koch2004-07-011-0/+15
| | | | | | | | | | | | | file. (card_edit): Pass ARG_STRING to change_login. (card_status): Print CA fingerprints. (change_cafpr): New. (card_edit): New command CAFPR. * call-agent.h: Add members for CA fingerprints. * call-agent.c (agent_release_card_info): Invalid them. (learn_status_cb): Store them.
* * card-util.c (card_edit): Remove PIN verification.Werner Koch2004-04-291-1/+1
| | | | | | (generate_card_keys): New arg SERIALNO. Do PIN verification here after resetting forced_chv1.
* * call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO.Werner Koch2004-02-181-1/+1
| | | | | * passphrase.c (agent_open): Ditto.
* (learn_status_cb, scd_genkey_cb): Fixed faulty useWerner Koch2003-10-251-5/+5
| | | | | of !spacep().
* * card-util.c (card_edit): New command "passwd". Add logic toWerner Koch2003-10-211-0/+22
| | | | | | | | check the PIN in advance. (card_status): Add new args to return the serial number. Changed all callers. * call-agent.c (agent_scd_checkpin): New.
* * call-agent.c (agent_scd_getattr): Don't clear the passed infoWerner Koch2003-10-081-1/+0
| | | | | | | | | | | | | | | structure, so that it can indeed be updated. * card-util.c (fpr_is_zero): New. (generate_card_keys): New. (card_edit): New command "generate". * keygen.c (generate_keypair): New arg CARD_SERIALNO, removed call to check_smartcard. (check_smartcard,show_smartcard): Removed. (show_sha1_fpr,fpr_is_zero): Removed. * app-openpgp.c (do_getattr): Support SERIALNO and AID.
* * keylist.c (print_card_serialno): New.Werner Koch2003-09-301-5/+37
| | | | | | | | | | | | | | | | | | (list_keyblock_print): Use it here. * card-util.c (toggle_forcesig): New. (card_edit): New command "forcesig". * card-util.c (print_name, print_isoname): Use 0 and not LF fro the max_n arg of tty_print_utf8_string2. * call-agent.c (agent_scd_getattr): New. (learn_status_cb): Release values before assignment so that it can be used by getattr to update the structure. * card-util.c (change_pin): Simplified. We now have only a PIN and an Admin PIN.
* Adjusted for use with current libgcrypt (1.1.42).Werner Koch2003-07-281-1/+1
|
* * g10.c: New command --card-status.Werner Koch2003-07-241-0/+52
| | | | | | | | | * card-util.c (card_status): New. * call-agent.c (learn_status_cb): Parse more information. * keylist.c (print_pubkey_info): Add FP arg for optinal printing to a stream. Changed all callers.