aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-connect-agent.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-12-12Doc fixes.Werner Koch1-2/+2
Add more files to POTFILES. Protect against malloc bombs.
2007-11-19Started to implement the audit log feature.Werner Koch1-1/+1
Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes.
2007-10-24Add a /while loop.Werner Koch1-12/+216
2007-10-24Changed wording of passphrase checking messages.Werner Koch1-2/+4
Fixed a segv in gpg-connect-agent.
2007-10-19Enhanced gpg-conect-agent scripting.Werner Koch1-77/+466
Typo fixes in comments.
2007-10-12Allow ${foo} syntax for variables.Werner Koch1-3/+20
2007-10-11Add more sytem variables: cwd, foodir and serverpid.Werner Koch1-7/+48
2007-10-11* gpg-connect-agent.c (get_var): Expand environment variables.Werner Koch1-6/+32
Suggested by Marc Mutz. (set_var): Return the value. (assign_variable): Add arg syslet. (main): New command /slet.
2007-10-02Add commands /run and /bye so that we can better automate tests.Werner Koch1-8/+91
Also add option --run.
2007-10-02Extended gpg-connect-agent.Werner Koch1-7/+432
New "GETINFO pid" command for scdaemon and gpg-agent.
2007-10-01Use Assuan socket wrapper calls.Werner Koch1-2/+12
Made socket servers secure under Windows.
2007-07-162007-07-16 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+7
* gpg-connect-agent.c (main): Bail out if write fails.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch1-0/+4
See the ChangeLogs for details.
2007-06-06First steps towards supporting W32.Werner Koch1-15/+0
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
2007-04-03Add a way to get a listing of available CCID readers.Werner Koch1-44/+95
2007-01-25agent/Werner Koch1-1/+1
* 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-09-13Various fixes and new features.Werner Koch1-17/+137
Enhanced gpg-connect-agent.
2006-09-06The big Assuan error code removal.Werner Koch1-8/+9
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch1-1/+1
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-05-20* protect-tool.c: New option --canonical.Werner Koch1-2/+221
(show_file): Implement it. * keyformat.txt: Define the created-at attribute for keys. * ccid-driver.c: Replaced macro DEBUG_T1 by a new debug level. (parse_ccid_descriptor): Mark SCR335 firmware version 5.18 good. (ccid_transceive): Arghhh. The seqno is another bit in the R-block than in the I block, this was wrong at one place. * scdaemon.c: New options --debug-ccid-driver and --debug-disable-ticker. * app-openpgp.c (do_genkey, do_writekey): Factored code to check for existing key out into .. (does_key_exist): .. New function. * gpg-connect-agent.c (add_definq, show_definq, clear_definq) (handle_inquire): New. (read_and_print_response): Handle INQUIRE command. (main): Implement control commands.
2005-05-18Changed the scdaemon to handle concurrent sessions. AdjustedWerner Koch1-1/+19
gpg-agent accordingly. Code cleanups.
2005-04-11* gpg-connect-agent.c (start_agent): Use PATHSEP_C instead of ':'.Werner Koch1-2/+2
2005-02-25* findkey.c (modify_description): Keep invalid % escapes, so thatWerner Koch1-4/+43
%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* gpg-agent.c (handle_connections): Need to check for events ifWerner Koch1-0/+362
select returns with -1. * tools.texi (gpg-connect-agent): New. * app-openpgp.c (get_one_do): Never try to get a non cacheable object from the cache. (get_one_do): Add new arg to return an error code. Changed all callers. (do_getattr): Let it return a proper error code. * 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. * scdaemon.c (ticker_thread): Termintate if a shutdown is pending. * apdu.c: Added some PCSC error codes. (pcsc_error_to_sw): New. (reset_pcsc_reader, pcsc_get_status, pcsc_send_apdu) (open_pcsc_reader): Do proper error code mapping. * gpg-connect-agent.c: New. * Makefile.am: Add it.