aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch1-1/+18
2003-06-05A small step for GnuPG but a huge leap for error codes.Werner Koch1-9/+9
(Sorry, it does not build currently - I need to check it in to avoid duplicate work.)
2003-06-03Make use of libgpg-errorWerner Koch1-2/+2
2003-04-29* command.c (register_commands): Adjusted for new Assuan semantics.Werner Koch1-25/+22
* Makefile.am: Don't override LDFLAGS.
2003-01-09Updated from latest NewPG projectWerner Koch1-66/+137
2002-08-09Minor fixesWerner Koch1-2/+12
2002-06-27* Makefile.am (pkglib_PROGRAMS): Put protect-tool there.Werner Koch1-3/+19
* 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-05-23* no-pth.c, Makefile.am: Removed.Werner Koch1-11/+14
* call-scd.c: Seirialized all scdaeom access when using Pth. * cache.c: Made the cache Pth-thread-safe. (agent_unlock_cache_entry): New. * findkey.c (unprotect): Unlock the returned cache value. * command.c (cmd_get_passphrase): Ditto. * gpg-agent.c (main): Register pth_read/write with Assuan.
2002-04-25* call-agent.c (start_agent): Make copies of old locales and checkWerner Koch1-1/+4
for setlocale. * configure.ac: Check for setlocale.
2002-04-242002-04-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+53
* configure.ac: Check for locale.h. agent/ 2002-04-24 Marcus Brinkmann <[email protected]> * agent.h (struct opt): Add members display, ttyname, ttytype, lc_ctype, and lc_messages. * gpg-agent.c (enum cmd_and_opt_values): Add oDisplay, oTTYname, oTTYtype, oLCctype, and LCmessages. (main): Handle these options. * command.c (option_handler): New function. (register_commands): Register option handler. * query.c (start_pinentry): Pass the various display and tty options to the pinentry. sm/ 2002-04-24 Marcus Brinkmann <[email protected]> * gpgsm.h (struct opt): New members display, ttyname, ttytype, lc_ctype, lc_messages. * gpgsm.c (enum cmd_and_opt_values): New members oDisplay, oTTYname, oTTYtype, oLCctype, oLCmessages. (opts): New entries for these options. (main): Handle these new options. * call-agent.c (start_agent): Set the various display and tty parameter after resetting.
2002-03-06sm/Werner Koch1-5/+20
* 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-04* pksign.c (agent_pksign): Detect whether a Smartcard is to beWerner Koch1-1/+1
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-28Changes needed to support smartcards. Well, only _support_. There isWerner Koch1-0/+17
no real code yet.
2002-02-18* command.c (cmd_marktrusted): Implemented.Werner Koch1-3/+32
* trustlist.c (agent_marktrusted): New. (open_list): Add APPEND arg. * query.c (agent_get_confirmation): New.
2002-01-29* findkey.c (agent_key_available): New.Werner Koch1-0/+32
* command.c (cmd_havekey): New. (register_commands): And register new command.
2002-01-20* command.c (cmd_get_passphrase): Remove the plus signs.Werner Koch1-0/+21
* query.c (start_pinentry): Send no-grab option to pinentry * gpg-agent.c (main): Move variable grab as no_grab to agent.h.
2002-01-19* gpg-agent.c (main): Disable core dumps.Werner Koch1-15/+78
* cache.c: New. * command.c (cmd_get_passphrase): Use the cache. (cmd_clear_passphrase): Ditto. * gpg-agent.c: Removed unused cruft and implement the socket based server. (my_strusage): Take bug report address from configure.ac. * command.c (start_command_handler): Add an argument to start as regular server. (start_command_handler): Enable Assuan logging.
2002-01-19* gpg-agent.c: Removed unused cruft and implement the socketWerner Koch1-14/+27
based server. (my_strusage): Take bug report address from configure.ac. * command.c (start_command_handler): Add an argument to start as regular server. (start_command_handler): Enable Assuan logging.
2002-01-15* trustlist.c: New.Werner Koch1-0/+59
* command.c (cmd_istrusted, cmd_listtrusted, cmd_marktrusted): New.
2002-01-10* genkey.c: Store the secret part and return the public part.Werner Koch1-48/+93
2001-12-14* util.h (digitp, hexdigitp): New ctype like macros.Werner Koch1-12/+3
(atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New. * command.c: Removed the conversion macros as they are now in ../common/util.h.
2001-12-10The Agent does now call the pin entry program; however because we haveWerner Koch1-2/+5
not yet implemeted secret key protection, its purpose is somewhat limited. Well, the PIN entry modules can now be tested.
2001-12-05Added decryption, some code cleanupWerner Koch1-6/+78
2001-11-25As promised a agent which already does some things. Not very usefulWerner Koch1-32/+55
yet but may be of help for using it in ther contexts.
2001-11-24Friedman is setting up his deskWerner Koch1-0/+229