aboutsummaryrefslogtreecommitdiffstats
path: root/sm/call-agent.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-05Change all quotes in strings and comments to the new GNU standard.Werner Koch1-1/+1
The asymmetric quotes used by GNU in the past (`...') don't render nicely on modern systems. We now use two \x27 characters ('...'). The proper solution would be to use the correct Unicode symmetric quotes here. However this has the disadvantage that the system requires Unicode support. We don't want that today. If Unicode is available a generated po file can be used to output proper quotes. A simple sed script like the one used for en@quote is sufficient to change them. The changes have been done by applying sed -i "s/\`\([^'\`]*\)'/'\1'/g" to most files and fixing obvious problems by hand. The msgid strings in the po files were fixed with a similar command.
2011-02-04Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch1-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.
2010-10-01Exporting secret keys via gpg-agent is now basically supported.Werner Koch1-1/+2
A couple of forward ported changes. Doc updates.
2010-06-21Implement export of pkcs#12 objects using a direct agent connection.Werner Koch1-3/+58
2010-06-17Avoid using the protect-tool to import pkcs#12.Werner Koch1-1/+136
2010-04-23Decryption and signi via agent is now implemented.Werner Koch1-1/+1
2009-11-02agent/Marcus Brinkmann1-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.
2009-07-30Comment changes.Werner Koch1-6/+4
Changed --learn-card.
2009-07-07Reworked passing of envars to Pinentry.Werner Koch1-2/+1
2009-07-02Create a pkcs#10 request directly from a card.Werner Koch1-0/+142
Deprecate gpgsm-gencert.sh script.
2009-03-26Fixed a trustlist update problem.Werner Koch1-3/+7
Pretty format the marktrusted pinentry prompt.
2009-03-20Fix keygrip computation for TCOS 3 cards.Werner Koch1-1/+23
Emit PROGRESS status lines during --learn-card.
2009-03-06New gpg-agent command to list key information.Werner Koch1-1/+66
Gpgsm does now print the S/N of cards. Consider ephemeral keys during listing an export.
2008-10-21Help dirmngr to use supplied trust anchors.Werner Koch1-10/+24
2008-10-20Marked all unused args on non-W32 platforms.Werner Koch1-0/+2
2008-09-30Add gpgsm server command GETINFO agent-check.Werner Koch1-1/+19
Fix tests.
2008-02-14Poems for AllowSetForegroundWindow (W32)Werner Koch1-24/+80
2008-02-13Always search missing certifcates using a running Dirmngr's cache.Werner Koch1-1/+3
2007-12-12Support DSA2.Werner Koch1-7/+15
Support Camellia for testing. More audit stuff.
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-08-10Implemented the chain model for X.509 validation.Werner Koch1-0/+4
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-147/+10
Windows.
2007-06-20[w32] gpg-agent is now started automagically by gpgsm.Werner Koch1-28/+61
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch1-1/+5
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.
2006-10-11Allow pkcs#10 creation directkly from a smart cardWerner Koch1-3/+85
2006-09-25New "relax" option for trustlist.txtWerner Koch1-3/+25
2006-09-06The big Assuan error code removal.Werner Koch1-31/+31
2006-08-29See ChangeLogsWerner Koch1-9/+24
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2005-11-23Print a note that the software has not been approved for qualified signatures.Werner Koch1-1/+0
2005-11-13Added qualified signature features.Werner Koch1-0/+21
2005-07-27Removed directories which are only used by the 1.9 branchWerner Koch1-713/+0
2005-07-25* findkey.c (agent_public_key_from_file): Fixed array assignment.Werner Koch1-1/+46
This was the cause for random segvs. * call-agent.c (gpgsm_agent_readkey): New.
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch1-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.
2005-04-11* call-dirmngr.c (start_dirmngr): Use PATHSEP_C instead of ':'.Werner Koch1-1/+1
* call-agent.c (start_agent): Ditto.
2004-12-20* configure.ac: Add PATHSEP_C and PATHSEP_S. For W32 let allWerner Koch1-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.
2004-12-18Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch1-1/+1
2004-12-13VArious hacks to make it at least build under W32.Werner Koch1-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.
2004-04-26* call-agent.c (gpgsm_agent_pksign, gpgsm_agent_pkdecrypt)Werner Koch1-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.
2004-03-06Preparing for a releaseWerner Koch1-118/+5
2004-02-21* keylist.c (list_internal_keys): Return error codes.Werner Koch1-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.
2004-02-17* gpgsm.c: Fixed value parsing for --with-validation.Werner Koch1-2/+2
* call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO. * call-dirmngr.c (start_dirmngr): Likewise for DIRMNGR_INFO.
2004-02-13* certcheck.c (gpgsm_create_cms_signature): Format a descriptionWerner Koch1-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.
2003-12-17Replaced deprecated type names.Werner Koch1-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.
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch1-5/+5
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-412/+285
'GNUPG-1-9-BRANCH'.
2003-07-28Adjusted for use with current libgcrypt (1.1.42).Werner Koch1-1/+1
2003-07-24* g10.c: New command --card-status.Werner Koch1-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.