aboutsummaryrefslogtreecommitdiffstats
path: root/agent/divert-scd.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-25Finished support for v2 cards with the exception of secure messaging.Werner Koch1-2/+15
2008-05-27Fixed segv in gpg-agent (command marktrusted).Werner Koch1-2/+2
Replaced almost all free by xfree. Translation fixes.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
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-10-06Make it also work for the card.Werner Koch1-0/+3
2006-10-06Add TLS hash modeWerner Koch1-11/+21
2006-10-05bug fixesWerner Koch1-0/+2
2006-09-14Take advantage of newer gpg-error features.Werner Koch1-2/+2
2006-09-06The big Assuan error code removal.Werner Koch1-4/+4
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2005-11-28Preparing an interim releaseWerner Koch1-1/+18
2005-07-27Removed directories which are only used by the 1.9 branchWerner Koch1-319/+0
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch1-3/+6
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-24* call-scd.c (inq_needpin): Skip leading spaces in of PINWerner Koch1-11/+89
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-18Changed the scdaemon to handle concurrent sessions. AdjustedWerner Koch1-7/+0
gpg-agent accordingly. Code cleanups.
2005-04-11typo fixesWerner Koch1-1/+1
2004-02-21* command.c (cmd_passwd): Take acount of a key description.Werner Koch1-1/+1
* genkey.c (reenter_compare_cb): Do not set the error text. (agent_protect_and_store, agent_genkey): Force a re-enter after a non-matching passphrase. * query.c (agent_askpin): Add new arg INITIAL_ERRTEXT; changed all callers.
2004-02-13(main): New options --no-fail-on-exist, --homedir.Werner Koch1-1/+1
(store_private_key): Use them here.
2004-01-29* agent.h (server_control_s): Add connection_fd field.Werner Koch1-4/+11
* command.c (start_command_handler): Init it here. * gpg-agent.c (agent_init_default_ctrl): and here. * call-scd.c: Add the CTRL arg to all functions calling start_scd and pass it to start_scd. Changed all callers (start_scd): Keep track of the current active connection. (agent_reset_scd): New. * command.c (start_command_handler): Call it here. * learncard.c (agent_handle_learn): Add arg CTRL; changed caller. (send_cert_back): Ditto.
2004-01-28(agent_marktrusted): Check whether the trustlist isWerner Koch1-1/+1
writable.
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+319
'GNUPG-1-9-BRANCH'.
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch1-2/+14
2003-06-04Update error handling to match gpg-error in CVS.Marcus Brinkmann1-7/+7
2003-06-03Make use of libgpg-errorWerner Koch1-20/+21
2003-01-09Updated from latest NewPG projectWerner Koch1-11/+12
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-305/+0
'GNUPG-1-9-BRANCH'.
2002-08-21* divert-scd.c (getpin_cb): Pass a more descritive text to theWerner Koch1-4/+12
pinentry. * Makefile.am: Renamed the binary protect-tool to gpg-protect-tool. * protect-tool.c: Removed the note about internal use only. * gpg-agent.c (main): New option --daemon so that the program is not accidently started in the background.
2002-06-27* Makefile.am (pkglib_PROGRAMS): Put protect-tool there.Werner Koch1-1/+0
* findkey.c (agent_write_private_key,agent_key_from_file) (agent_key_available): Use GNUPG_PRIVATE_KEYS_DIR constant. * gpg-agent.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * protect-tool.c (store_private_key): New. (import_p12_file): Store the new file if requested. (main): New options --force and --store. * gpg-agent.c (main): Set a global flag when runing detached. * query.c (start_pinentry): Pass the list of FD to keep in the child when not running detached. * call-scd.c (start_scd): Ditto.
2002-06-17* agent.h: Add a callback function to the pin_entry_info structure.Werner Koch1-17/+9
* query.c (agent_askpin): Use the callback to check for a correct PIN. Removed the start_err_text argument becuase it is not anymore needed; changed callers. * findkey.c (unprotect): Replace our own check loop by a callback. (try_unprotect_cb): New. * genkey.c (reenter_compare_cb): New. (agent_genkey): Use this callback here. Fixed setting of the pi2 variable and a segv in case of an empty PIN. * divert-scd.c (getpin_cb): Removed some unused stuff and explained what we still have to change.
2002-04-242002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+1
* agent.h (agent_get_confirmation): Replace paramter prompt with two parameters ok and cancel. * query.c (agent_get_confirmation): Likewise. Implement this. * trustlist.c (agent_marktrusted): Fix invocation of agent_get_confirmation. * divert-scd.c (ask_for_card): Likewise.
2002-03-28* divert-scd.c (encode_md_for_card): Don't do the pkcs-1 padding,Werner Koch1-34/+17
the scdaemon should take care of it. (ask_for_card): Hack to not display the trailing zero.
2002-03-06sm/Werner Koch1-5/+6
* gpgsm.c: New command --learn-card * call-agent.c (learn_cb,gpgsm_agent_learn): New. * gpgsm.c (main): Print error messages for non-implemented commands. agent/ * learncard.c: New. * divert-scd.c (ask_for_card): The serial number is binary so convert it to hex here. * findkey.c (agent_write_private_key): New. * genkey.c (store_key): And use it here. scd/ * pkdecrypt.c (agent_pkdecrypt): Changed the way the diversion is done. * divert-scd.c (divert_pkdecrypt): Changed interface and implemented it.
2002-03-06Decryption using a Cryptoflex card does now work.Werner Koch1-8/+52
2002-03-05Signing using a PKCS15 smartcard does work. How to create such a cardWerner Koch1-3/+118
is of course a different thing. Note, that you need to create the shadowed-private-key file manually.
2002-03-04* pksign.c (agent_pksign): Detect whether a Smartcard is to beWerner Koch1-0/+116
used and divert the operation in this case. * pkdecrypt.c (agent_pkdecrypt): Likewise * findkey.c (agent_key_from_file): Add optional arg shadow_info and have it return information about a shadowed key. * protect.c (agent_get_shadow_info): New. * protect.c (snext,sskip,smatch): Moved to * sexp-parse.h: new file. * divert-scd.c: New.
2002-02-28* assuan-client.c (assuan_transact): Add 2 more arguments toWerner Koch1-10/+15
support status lines. Passing NULL yields the old behaviour. * assuan-handler.c (process_request): Flush data lines send without using the data fp.
2001-12-10The Agent does now call the pin entry program; however because we haveWerner Koch1-4/+14
not yet implemeted secret key protection, its purpose is somewhat limited. Well, the PIN entry modules can now be tested.
2001-11-24Added new directory common to enable sharing of some code and errorWerner Koch1-59/+0
numbers between gpg, gpgsm and gpg-agent. Move some files and code to there.
2001-11-13We have reached a state where we are able to import certs andWerner Koch1-2/+52
check the certification path.
2001-11-07Implemented server main loop and started with import command.Werner Koch1-3/+17
2001-11-07Assuan server mode is now basically usableWerner Koch1-19/+2
2001-11-06First chunk of code for the Assuan libraryWerner Koch1-8/+22
2000-07-14See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch1-1/+1
2000-01-27See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch1-3/+3
1999-03-20See ChangeLog: Sat Mar 20 11:53:40 CET 1999 Werner KochWerner Koch1-0/+1
1999-01-19See ChangeLog: Tue Jan 19 19:34:58 CET 1999 Werner KochWerner Koch1-0/+1
1999-01-16See ChangeLog: Sat Jan 16 09:27:30 CET 1999 Werner KochWerner Koch1-20/+6
1998-12-23See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1-3/+3
1998-07-06intermediate releaseWerner Koch1-9/+21
1998-06-16some more internall structure changesWerner Koch1-4/+4