aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-06-17Avoid using the protect-tool to import pkcs#12.Werner Koch1-0/+2
2010-05-11Update tests.Werner Koch1-0/+3
2010-04-21More changes on the way to remove secring.gpg.Werner Koch1-0/+1
2009-12-14Implement dynamic S2K count computation.Werner Koch1-0/+1
2009-07-07Reworked passing of envars to Pinentry.Werner Koch1-10/+4
2009-06-17Use cancel button in confirmation only if requested.Werner Koch1-1/+1
2009-05-15Fix bug #1053Werner Koch1-2/+7
Add option --qualitybar to command GET_PASSPHRASE.
2009-03-26Signing using Netkey 3 cards does now work.Werner Koch1-1/+1
2009-03-20Fix keygrip computation for TCOS 3 cards.Werner Koch1-1/+2
Emit PROGRESS status lines during --learn-card.
2009-03-19Changed order of the confirmation questions for root certificatesWerner Koch1-1/+1
and stores negative answers in trustlist.txt.
2009-03-06New gpg-agent command to list key information.Werner Koch1-0/+5
Gpgsm does now print the S/N of cards. Consider ephemeral keys during listing an export.
2009-03-03Add --reload command to gpgconf.Werner Koch1-0/+1
Fix a problem in exechelp.c Get ready for a release.
2008-09-29Remove hacks which are not anymore needed since we now require Libgcrypt 1.4Werner Koch1-3/+3
2008-03-20Fix a bug in the ambigious name detection.Werner Koch1-0/+1
Minor cleanups.
2007-11-27[W32] Changed default socket for dirmngr.Werner Koch1-0/+3
[W32] Add some code for event notifications between scdaemon and gpg-agent.
2007-11-19Started to implement the audit log feature.Werner Koch1-1/+4
Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes.
2007-10-01Use Assuan socket wrapper calls.Werner Koch1-6/+5
Made socket servers secure under Windows.
2007-09-18Support the SETQUALITYBAR command of recent pinentries.Werner Koch1-1/+2
2007-09-14Print used library version with --version.Werner Koch1-1/+1
Typo fixes
2007-08-28Add more passphrase policy rules.Werner Koch1-2/+10
(--max-passphrase-days).
2007-08-27Implemented more gpg-agen options to support certain passphrase policies.Werner Koch1-0/+8
New tool gpg-check-pattern.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-07-04A bunch of minor changes for Windows.Werner Koch1-0/+1
2007-06-21Implemented the --gen-key command as we can't use the gpgsm-gencert.sh under ↵Werner Koch1-2/+0
Windows.
2007-06-18Add missing fiels for W32.Werner Koch1-0/+1
New agent commands: GETINFO and KILLAGENT (w32 only). Agent does now detach from the console.
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch1-2/+3
See the ChangeLogs for details.
2007-02-14agent/Werner Koch1-0/+5
* gpg-agent.c: New option --pinentry-touch-file. (get_agent_socket_name): New. * agent.h (opt): Add pinentry_touch_file. * call-pinentry.c (start_pinentry): Send new option to the pinentry.
2007-01-25agent/Werner Koch1-2/+5
* protect-tool.c (get_passphrase): New arg OPT_CHECK. (get_new_passphrase): Enable OTP_CHECK on the first call. * command.c (cmd_get_passphrase): Implement option --check. * gpg-agent.c (MIN_PASSPHRASE_LEN): New (parse_rereadable_options): New option --min-passphrase-len. * genkey.c (check_passphrase_constraints): New. (agent_genkey, agent_protect_and_store): Call new function. Fix memory leak. * call-pinentry.c (agent_askpin): Allow translation of the displayed error message. (agent_popup_message_start): Remove arg CANCEL_BTN. (popup_message_thread): Use --one-button option. * command.c (cmd_passwd): Now that we don't distinguish between assuan and regular error codes we can jump to the end on error. common/ * simple-pwquery.c (simple_pwquery): New arg OPT_CHECK.
2006-11-20Made some PIN pads work.Werner Koch1-3/+8
Some cleanups for 64 bit CPUs.
2006-11-14New command GETEVENTCOUNTER.Werner Koch1-0/+2
* command.c (bump_key_eventcounter): New. (bump_card_eventcounter): New. (cmd_geteventcounter): New command. * gpg-agent.c (handle_signal): Call bump_card_eventcounter. * findkey.c (agent_write_private_key): Call bump_key_eventcounter. * trustlist.c (agent_reload_trustlist): Ditto.
2006-10-19FixesWerner Koch1-0/+1
2006-10-06Add TLS hash modeWerner Koch1-1/+8
2006-09-25New "relax" option for trustlist.txtWerner Koch1-1/+2
2006-09-15Allow for a global trustlist.Werner Koch1-5/+4
2006-09-06The big Assuan error code removal.Werner Koch1-10/+5
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2006-02-09PIN caching of cards does now work.Werner Koch1-1/+1
2005-11-28Preparing an interim releaseWerner Koch1-1/+6
2005-07-27Removed directories which are only used by the 1.9 branchWerner Koch1-226/+0
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch1-7/+8
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-06-07New debugging optionhs, updates to the manual.Werner Koch1-13/+36
2005-06-03* command.c (cmd_updatestartuptty): New.Werner Koch1-6/+8
* gpg-agent.c: New option --write-env-file. * gpg-agent.c (handle_connections): Make sure that the signals we are handling are not blocked.Block signals while creating new threads. * estream.c: Use HAVE_CONFIG_H and not USE_CONFIG_H! (es_func_fd_read, es_func_fd_write): Protect against EINTR. * gpg-agent.texi (Agent UPDATESTARTUPTTY): New. * scdaemon.c (handle_connections): Make sure that the signals we are handling are not blocked.Block signals while creating new threads. (handle_connections): Include the file descriptor into the name of the thread.
2005-05-31* agent.h (out_of_core): s/__inline__/inine. Noted by Ray Link.Werner Koch1-1/+1
* dynload.h: s/__inline__/inline/. * tlv.c [GNUPG_MAJOR_VERSION==1]: Define constants instead of including a gnupg 1.4 header. * watchgnupg.c: Make sure that PF_LCOAL and AF_LOCAL are defines. Noted by Ray Link.
2005-05-24* call-scd.c (inq_needpin): Skip leading spaces in of PINWerner Koch1-1/+2
description. * divert-scd.c (getpin_cb): Enhanced to cope with description flags. * query.c (agent_askpin): Add arg PROMPT_TEXT. Changed all callers.
2005-05-21* call-scd.c (start_scd): Don't test for an alive scdaemon here.Werner Koch1-0/+1
(agent_scd_check_aliveness): New. * gpg-agent.c (handle_tick): Test for an alive scdaemon. (handle_signal): Print thread info on SIGUSR1. * scdaemon.c (handle_signal): Print thread info on SIGUSR1.
2005-05-18Changed the scdaemon to handle concurrent sessions. AdjustedWerner Koch1-0/+9
gpg-agent accordingly. Code cleanups.
2005-04-20.Werner Koch1-0/+1
2005-02-25* findkey.c (modify_description): Keep invalid % escapes, so thatWerner Koch1-0/+3
%0A may pass through. * agent.h (server_control_s): New field USE_AUTH_CALL. * call-scd.c (agent_card_pksign): Make use of it. * command-ssh.c (data_sign): Set the flag. (ssh_send_key_public): New arg OVERRIDE_COMMENT. (card_key_available): Add new arg CARDSN. (ssh_handler_request_identities): Use the card s/n as comment. (sexp_key_extract): Use GCRYMPI_FMT_STD. (data_sign): Ditto. * learncard.c (make_shadow_info): Moved to .. * protect.c (make_shadow_info): .. here. Return NULL on malloc failure. Made global. * agent.h: Add prototype. * xasprintf.c (xtryasprintf): New. * app-openpgp.c (get_public_key): Make sure not to return negative numbers. (do_sign): Allow passing of indata with algorithm prefix. (do_auth): Allow OPENPGP.3 as an alternative ID. * app.c (app_getattr): Return just the S/N but not the timestamp. * no-libgcrypt.c (gcry_strdup): New.
2005-02-24* call-scd.c (unescape_status_string): New. Actual a copy ofWerner Koch1-0/+1
../g10/call-agent.c (card_getattr_cb, agent_card_getattr): New. * command-ssh.c (card_key_available): New. (ssh_handler_request_identities): First see whether a card key is available. * app.c (app_getattr): Return APPTYPE or SERIALNO type even if the application does dot support the getattr call. * app.c (select_application): Return an error code and the application context in an new arg. * command.c (open_card): Adjusted for that. Don't use the fallback if no card is present. Return an error if the card has been removed without a reset. (do_reset, cmd_serialno): Clear that error flag. (TEST_CARD_REMOVAL): New. Use it with all command handlers. (scd_update_reader_status_file): Set the error flag on all changes.
2005-02-23* command-ssh.c (get_passphrase): Removed.Werner Koch1-0/+12
(ssh_identity_register): Partly rewritten. (open_control_file, search_control_file, add_control_entry): New. (ssh_handler_request_identities): Return only files listed in our control file. * findkey.c (unprotect): Check for allocation error. * agent.h (opt): Add fields to record the startup terminal settings. * gpg-agent.c (main): Record them and do not force keep display with --enable-ssh-support. * command-ssh.c (start_command_handler_ssh): Use them here. * gpg-agent.c: Renamed option --ssh-support to --enable-ssh-support. * command.c (cmd_readkey): New. (register_commands): Register new command "READKEY". * command-ssh.c (ssh_request_process): Improved logging. * findkey.c (agent_write_private_key): Always use plain open. Don't depend on an umask for permissions. (agent_key_from_file): Factored file reading code out to .. (read_key_file): .. new function. (agent_public_key_from_file): New.