aboutsummaryrefslogtreecommitdiffstats
path: root/agent/ChangeLog (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-07-31minor changes to make make distcheck happyWerner Koch1-0/+5
2003-07-28Adjusted for use with current libgcrypt (1.1.42).Werner Koch1-0/+4
2003-07-16* simple-pwquery.c, simple-pwquery.h: Moved to ../common.Werner Koch1-0/+6
* Makefile.am (gpg_protect_tool_LDADD): Add simple-pwquery.o. Removed it from xx_SOURCES.
2003-07-04Minor changes to make make dist work correctly.Werner Koch1-0/+5
2003-07-01* app-openpgp.c (store_fpr): Fixed fingerprint calculation.Werner Koch1-0/+4
* keygen.c (gen_card_key): Obviously we should use the creation date received from SCDAEMON, so that the fingerprints will match. * sign.c (do_sign): Pass the serialno to the sign code. * keyid.c (serialno_and_fpr_from_sk): New.
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch1-0/+27
2003-06-05A small step for GnuPG but a huge leap for error codes.Werner Koch1-0/+4
(Sorry, it does not build currently - I need to check it in to avoid duplicate work.)
2003-06-03Make use of libgpg-errorWerner Koch1-0/+11
2003-04-29* command.c (register_commands): Adjusted for new Assuan semantics.Werner Koch1-1/+8
* Makefile.am: Don't override LDFLAGS.
2003-01-09Updated from latest NewPG projectWerner Koch1-0/+73
2002-09-26* gpg-agent.c (handle_signal): Flush cache on SIGHUP.Werner Koch1-0/+9
* cache.c (agent_flush_cache): New. * gpg-agent.c, agent.h: Add --keep-display and --keep-tty. * query.c (start_pinentry): Implement them. The option passing needs more thoughts.
2002-09-09* gpg-agent.c (create_private_keys_directory)Werner Koch1-1/+7
(create_directories): New. (main): Try to create a home directory.
2002-09-052002-09-04 Neal H. Walfield <[email protected]>Neal Walfield1-0/+4
* gpg-agent.c (main): Use sigaction, not signal.
2002-09-052002-09-03 Neal H. Walfield <[email protected]>Neal Walfield1-0/+6
* findkey.c: Include <fcntl.h>. (agent_write_private_key): Prefer POSIX compatibity, open and fdopen, over the simplicity of GNU extensions, fopen(file, "x").
2002-08-22* query.c (agent_askpin): Provide the default desc text dependingNEWPG-0-9-1Werner Koch1-0/+6
on the pininfo. Do the basic PIN verification only when min_digist is set.
2002-08-21* query.c (agent_askpin): Hack to show the right default prompt.NEWPG-0-9-0Werner Koch1-0/+5
(agent_get_passphrase): Ditto. * 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-08-21* divert-scd.c (getpin_cb): Pass a more descritive text to theWerner Koch1-0/+11
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-08-16* call-scd.c (learn_status_cb): Handle CERTINFO status.Werner Koch1-0/+8
(agent_card_learn): Add args for certinfo cb. * learncard.c (release_certinfo,certinfo_cb): New. (send_cert_back): New. With factored out code from .. (agent_handle_learn): here. Return certinfo stuff.
2002-08-09Minor fixesWerner Koch1-1/+11
2002-07-01typo fix.NEWPG-0-3-9Werner Koch1-1/+1
2002-06-29* query.c (start_pinentry): Use GNUPG_DERAULT_PINENTRY.Werner Koch1-0/+5
* call-scd.c (start_scd): Use GNUPG_DEFAULT_SCDAEMON.
2002-06-28* protect-tool.c (export_p12_file): New.Werner Koch1-0/+10
(main): New command --p12-export. * minip12.c (create_final,p12_build,compute_tag_length): New. (store_tag_length): New.
2002-06-27* Makefile.am (pkglib_PROGRAMS): Put protect-tool there.Werner Koch1-0/+27
* 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-25* protect-tool.c (rsa_key_check): New.NEWPG-0-3-8Werner Koch1-1/+13
(import_p12_file): New. (main): New command --p12-import. * minip12.c, minip12.h: New.
2002-06-17* agent.h: Add a callback function to the pin_entry_info structure.Werner Koch1-0/+15
* 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-06-13* gpgsm.c (main): New option --log-file.Werner Koch1-0/+4
2002-06-12* protect-tool.c: Add command --show-keygripWerner Koch1-0/+5
(show_keygrip): New.
2002-05-23* no-pth.c, Makefile.am: Removed.Werner Koch1-0/+22
* 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-05-14sm/Werner Koch1-0/+4
* gpgsm.c: New option --faked-system-time * sign.c (gpgsm_sign): And use it here. * certpath.c (gpgsm_validate_path): Ditto. common/ * gettime.c: New. agent/ * cache.c (housekeeping, agent_put_cache): Use our time() wrapper. / * doc/: New * configure.ac, Makefile.am: Added doc/
2002-04-27Debug message cleanups.Werner Koch1-0/+9
Fixed passphrase caching.
2002-04-242002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+9
* 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-04-242002-04-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+12
* 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-04-09* protect-tool.c (show_file): New. Used as default action.Werner Koch1-0/+4
2002-03-28* divert-scd.c (encode_md_for_card): Don't do the pkcs-1 padding,Werner Koch1-0/+6
the scdaemon should take care of it. (ask_for_card): Hack to not display the trailing zero.
2002-03-18Doc fixes, moved some fizmes to TODO, fixed minor bugs.Werner Koch1-0/+5
2002-03-06sm/Werner Koch1-0/+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-1/+8
2002-03-05Signing using a PKCS15 smartcard does work. How to create such a cardWerner Koch1-0/+12
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/+3
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/+19
no real code yet.
2002-02-18* findkey.c (unprotect): Show an error message for a bad passphrase.Werner Koch1-0/+2
2002-02-18* command.c (cmd_marktrusted): Implemented.Werner Koch1-0/+8
* trustlist.c (agent_marktrusted): New. (open_list): Add APPEND arg. * query.c (agent_get_confirmation): New.
2002-02-06* cache.c (housekeeping): Fixed linking in the remove case.Werner Koch1-0/+7
2002-02-01* cache.c: Add a few debug outputs.Werner Koch1-0/+15
* protect.c (agent_private_key_type): New. * agent.h: Add PRIVATE_KEY_ enums. * findkey.c (agent_key_from_file): Use it to decide whether we have to unprotect a key. (unprotect): Cache the passphrase. * findkey.c (agent_key_from_file,agent_key_available): The key files do now require a ".key" suffix to make a script's life easier. * genkey.c (store_key): Ditto.
2002-01-31* genkey.c (store_key): Protect the key.Werner Koch1-0/+13
(agent_genkey): Ask for the passphrase. * findkey.c (unprotect): Actually unprotect the key. * query.c (agent_askpin): Add an optional start_err_text.
2002-01-29* findkey.c (agent_key_available): New.Werner Koch1-0/+6
* 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/+7
* 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-0/+6
* 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-0/+9
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/+5
* command.c (cmd_istrusted, cmd_listtrusted, cmd_marktrusted): New.