aboutsummaryrefslogtreecommitdiffstats
path: root/sm/call-agent.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-29/+27
| | | | | | | | 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.
* Exporting secret keys via gpg-agent is now basically supported.Werner Koch2010-10-011-1/+2
| | | | | | A couple of forward ported changes. Doc updates.
* Implement export of pkcs#12 objects using a direct agent connection.Werner Koch2010-06-211-3/+58
|
* Avoid using the protect-tool to import pkcs#12.Werner Koch2010-06-171-1/+136
|
* Decryption and signi via agent is now implemented.Werner Koch2010-04-231-1/+1
|
* agent/Marcus Brinkmann2009-11-021-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Comment changes.Werner Koch2009-07-301-6/+4
| | | | | Changed --learn-card.
* Reworked passing of envars to Pinentry.Werner Koch2009-07-071-2/+1
|
* Create a pkcs#10 request directly from a card.Werner Koch2009-07-021-0/+142
| | | | | Deprecate gpgsm-gencert.sh script.
* Fixed a trustlist update problem.Werner Koch2009-03-261-3/+7
| | | | | Pretty format the marktrusted pinentry prompt.
* Fix keygrip computation for TCOS 3 cards.Werner Koch2009-03-201-1/+23
| | | | | Emit PROGRESS status lines during --learn-card.
* New gpg-agent command to list key information.Werner Koch2009-03-061-1/+66
| | | | | | Gpgsm does now print the S/N of cards. Consider ephemeral keys during listing an export.
* Help dirmngr to use supplied trust anchors.Werner Koch2008-10-211-10/+24
|
* Marked all unused args on non-W32 platforms.Werner Koch2008-10-201-0/+2
|
* Add gpgsm server command GETINFO agent-check.Werner Koch2008-09-301-1/+19
| | | | | Fix tests.
* Poems for AllowSetForegroundWindow (W32)Werner Koch2008-02-141-24/+80
|
* Always search missing certifcates using a running Dirmngr's cache.Werner Koch2008-02-131-1/+3
|
* Support DSA2.Werner Koch2007-12-121-7/+15
| | | | | | Support Camellia for testing. More audit stuff.
* 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.
* Implemented the chain model for X.509 validation.Werner Koch2007-08-101-0/+4
|
* 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-147/+10
| | | | Windows.
* [w32] gpg-agent is now started automagically by gpgsm.Werner Koch2007-06-201-28/+61
|
* A whole bunch of changes to allow building for Windows.Werner Koch2007-06-141-1/+5
| | | | | 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.
* Allow pkcs#10 creation directkly from a smart cardWerner Koch2006-10-111-3/+85
|
* New "relax" option for trustlist.txtWerner Koch2006-09-251-3/+25
|
* The big Assuan error code removal.Werner Koch2006-09-061-31/+31
|
* See ChangeLogsWerner Koch2006-08-291-9/+24
|
* Updated FSF's address.Werner Koch2006-06-201-1/+2
|
* Print a note that the software has not been approved for qualified signatures.Werner Koch2005-11-231-1/+0
|
* Added qualified signature features.Werner Koch2005-11-131-0/+21
|
* * findkey.c (agent_public_key_from_file): Fixed array assignment.Werner Koch2005-07-251-1/+46
| | | | | | | This was the cause for random segvs. * call-agent.c (gpgsm_agent_readkey): New.
* gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch2005-06-161-11/+14
| | | | | | | 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 (start_dirmngr): Use PATHSEP_C instead of ':'.Werner Koch2005-04-111-1/+1
| | | | | * call-agent.c (start_agent): Ditto.
* * configure.ac: Add PATHSEP_C and PATHSEP_S. For W32 let allWerner Koch2004-12-201-30/+42
| | | | | | | | | | | | | | | | | | | | directories default to c:/gnupg. Require libassuan 0.6.9. * gpg-agent.c (main) [W32]: Now that Mutexes work we can remove the pth_init kludge. (main): Add new options --[no-]use-standard-socket. (check_for_running_agent): Check whether it is running on the standard socket. * sysutils.h [W32]: Define sleep. * util.h: Add prototype for mkdtemp. * call-agent.c (start_agent): Before starting a pipe server start to connect to a server on the standard socket. Use PATHSEP * call-dirmngr.c (start_dirmngr): Use PATHSEP. * import.c: Include unistd.h for dup and close.
* Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch2004-12-181-1/+1
|
* VArious hacks to make it at least build under W32.Werner Koch2004-12-131-1/+1
| | | | | | | | | | * stringhelp.c (w32_strerror) [W32]: New. * w32-pth.c, w32-pth.h: Added real code written by Timo Schulz. Not finished, though. * gpgconf-comp.c <ignore-ocsp-service-url>: Fixed typo.
* * call-agent.c (gpgsm_agent_pksign, gpgsm_agent_pkdecrypt)Werner Koch2004-04-261-20/+23
| | | | | | | | | | | | | | (gpgsm_agent_genkey, gpgsm_agent_istrusted) (gpgsm_agent_marktrusted, gpgsm_agent_havekey) (gpgsm_agent_passwd): Add new arg CTRL and changed all callers. (start_agent): New arg CTRL. Send progress item when starting a new agent. * sign.c (gpgsm_get_default_cert, get_default_signer): New arg CTRL to be passed down to the agent function. * decrypt.c (prepare_decryption): Ditto. * certreqgen.c (proc_parameters, read_parameters): Ditto. * certcheck.c (gpgsm_create_cms_signature): Ditto.
* Preparing for a releaseWerner Koch2004-03-061-118/+5
|
* * keylist.c (list_internal_keys): Return error codes.Werner Koch2004-02-211-2/+14
| | | | | | | | | (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-2/+2
| | | | | | * call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO. * call-dirmngr.c (start_dirmngr): Likewise for DIRMNGR_INFO.
* * certcheck.c (gpgsm_create_cms_signature): Format a descriptionWerner Koch2004-02-131-2/+22
| | | | | | | | | | | | for use by the pinentry. * decrypt.c (gpgsm_decrypt): Ditto. Free HEXKEYGRIP. * certdump.c (format_name_cookie, format_name_writer) (gpgsm_format_name): New. (gpgsm_format_serial): New. (gpgsm_format_keydesc): New. * call-agent.c (gpgsm_agent_pksign): New arg DESC. (gpgsm_agent_pkdecrypt): Ditto.
* Replaced deprecated type names.Werner Koch2003-12-171-5/+5
| | | | | | | | * certdump.c (gpgsm_print_serial): Cleaned up cast use in strtoul. (gpgsm_dump_serial): Ditto. * decrypt.c (gpgsm_decrypt): Replaced ERR by RC.
* Mainly changes to adjust for the changed KSBA API.Werner Koch2003-11-121-5/+5
|
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+713
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-751/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * call-agent.c (learn_cb): Special treatment when the issuerWerner Koch2002-08-161-1/+6
| | | | | certificate is missing.
* * keydb.c (keydb_store_cert): Add optional ar EXISTED and changedWerner Koch2002-07-021-2/+9
| | | | | | | | | | | | all callers. * call-agent.c (learn_cb): Print info message only for real imports. * import.c (gpgsm_import): Moved duplicated code to ... (check_and_store): new function. Added magic to import the entire chain. Print status only for real imports and moved printing code to .. (print_imported_status): New.
* * gpgsm.c: New option --auto-issuer-key-retrieve.Werner Koch2002-06-291-1/+1
| | | | | | | | | | | | | | | | * certpath.c (find_up): Try to retrieve an issuer key from an external source and from the ephemeral key DB. (find_up_store_certs_cb): New. * keydb.c (keydb_set_ephemeral): Does now return the old state. Call the backend only when required. * call-dirmngr.c (start_dirmngr): Use GNUPG_DEFAULT_DIRMNGR. (lookup_status_cb): Issue status only when CTRL is not NULL. (gpgsm_dirmngr_lookup): Document that CTRL is optional. * call-agent.c (start_agent): Use GNUPG_DEFAULT_AGENT.