aboutsummaryrefslogtreecommitdiffstats
path: root/agent/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* (main): New options --no-fail-on-exist, --homedir.Werner Koch2004-02-131-0/+7
| | | | | (store_private_key): Use them here.
* Include cmacros.am for common flags.Werner Koch2004-02-121-0/+5
| | | | | (libexec_PROGRAMS): Put gpg-protect-tool there.
* * minip12.c (parse_bag_encrypted_data): Finished implementation.Werner Koch2004-02-101-0/+12
| | | | | | | (p12_parse): Add callback args. * protect-tool.c (import_p12_cert_cb): New. (import_p12_file): Use it.
* * findkey.c (agent_key_from_file): Extra paranoid wipe.Werner Koch2004-02-031-0/+10
| | | | | | | | | | * protect.c (agent_unprotect): Ditto. (merge_lists): Ditto. Add arg RESULTLEN. * pkdecrypt.c (agent_pkdecrypt): Don't show the secret key even in debug mode. * protect.c: Add DSA and Elgamal description.
* * agent.h (server_control_s): Add connection_fd field.Werner Koch2004-01-291-1/+14
| | | | | | | | | | | | | * 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.
* (agent_marktrusted): Check whether the trustlist isWerner Koch2004-01-281-0/+5
| | | | | writable.
* Some minor bug fixes, new test utilities and started support for otherWerner Koch2004-01-271-1/+5
| | | | | smartcard applications.
* * call-scd.c (atfork_cb): New.Werner Koch2004-01-241-0/+7
| | | | | | | (start_scd): Make sure secmem gets cleared. * query.c (atfork_cb): New. (start_pinentry): Make sure secmem gets cleared.
* * findkey.c (agent_key_from_file): Now return an error code soWerner Koch2004-01-161-0/+9
| | | | | | | | | that we have more detailed error messages in the upper layers. This fixes the handling pinentry's cancel button. * pksign.c (agent_pksign): Changed accordingly. * pkdecrypt.c (agent_pkdecrypt): Ditto. * command.c (cmd_passwd): Ditto.
* (main): Set the prefixes for assuan logging.Werner Koch2003-12-161-0/+4
|
* * protect.c (do_encryption): Use gcry_create_nonce instad of theWerner Koch2003-12-161-0/+5
| | | | | obsolete WEAK_RANDOM.
* * sexp-parse.h (snext): Don't use atoi_1 and digitp macros, soWerner Koch2003-12-011-0/+5
| | | | | that this file is useful by other applications too.
* * command.c (cmd_get_confirmation): New command.Werner Koch2003-10-311-0/+4
|
* 2003-08-20 Timo Schulz <[email protected]>Timo Schulz2003-08-201-1/+6
| | | | | | * pksign.c (do_encode_md): Allocate enough space. Cast md byte to unsigned char to prevent sign extension.
* 2003-08-14 Timo Schulz <[email protected]>Timo Schulz2003-08-141-0/+5
| | | | | | * pksign.c: do_encode_md: Due to the fact pkcs#1 padding is now in Libgcrypt, use the new interface.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+565
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-419/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * gpg-agent.c (handle_signal): Flush cache on SIGHUP.Werner Koch2002-09-261-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.
* * gpg-agent.c (create_private_keys_directory)Werner Koch2002-09-091-1/+7
| | | | | | (create_directories): New. (main): Try to create a home directory.
* 2002-09-04 Neal H. Walfield <[email protected]>Neal Walfield2002-09-051-0/+4
| | | | | * gpg-agent.c (main): Use sigaction, not signal.
* 2002-09-03 Neal H. Walfield <[email protected]>Neal Walfield2002-09-051-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").
* * query.c (agent_askpin): Provide the default desc text dependingNEWPG-0-9-1Werner Koch2002-08-221-0/+6
| | | | | | on the pininfo. Do the basic PIN verification only when min_digist is set.
* * query.c (agent_askpin): Hack to show the right default prompt.NEWPG-0-9-0Werner Koch2002-08-211-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.
* * divert-scd.c (getpin_cb): Pass a more descritive text to theWerner Koch2002-08-211-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.
* * call-scd.c (learn_status_cb): Handle CERTINFO status.Werner Koch2002-08-161-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.
* Minor fixesWerner Koch2002-08-091-1/+11
|
* typo fix.NEWPG-0-3-9Werner Koch2002-07-011-1/+1
|
* * query.c (start_pinentry): Use GNUPG_DERAULT_PINENTRY.Werner Koch2002-06-291-0/+5
| | | | | * call-scd.c (start_scd): Use GNUPG_DEFAULT_SCDAEMON.
* * protect-tool.c (export_p12_file): New.Werner Koch2002-06-281-0/+10
| | | | | | | (main): New command --p12-export. * minip12.c (create_final,p12_build,compute_tag_length): New. (store_tag_length): New.
* * Makefile.am (pkglib_PROGRAMS): Put protect-tool there.Werner Koch2002-06-271-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.
* * protect-tool.c (rsa_key_check): New.NEWPG-0-3-8Werner Koch2002-06-251-1/+13
| | | | | | | (import_p12_file): New. (main): New command --p12-import. * minip12.c, minip12.h: New.
* * agent.h: Add a callback function to the pin_entry_info structure.Werner Koch2002-06-171-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.
* * gpgsm.c (main): New option --log-file.Werner Koch2002-06-131-0/+4
|
* * protect-tool.c: Add command --show-keygripWerner Koch2002-06-121-0/+5
| | | | | (show_keygrip): New.
* * no-pth.c, Makefile.am: Removed.Werner Koch2002-05-231-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.
* sm/Werner Koch2002-05-141-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/
* Debug message cleanups.Werner Koch2002-04-271-0/+9
| | | | | Fixed passphrase caching.
* 2002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-241-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-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-241-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.
* * protect-tool.c (show_file): New. Used as default action.Werner Koch2002-04-091-0/+4
|
* * divert-scd.c (encode_md_for_card): Don't do the pkcs-1 padding,Werner Koch2002-03-281-0/+6
| | | | | | the scdaemon should take care of it. (ask_for_card): Hack to not display the trailing zero.
* Doc fixes, moved some fizmes to TODO, fixed minor bugs.Werner Koch2002-03-181-0/+5
|
* sm/Werner Koch2002-03-061-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.
* Decryption using a Cryptoflex card does now work.Werner Koch2002-03-061-1/+8
|
* Signing using a PKCS15 smartcard does work. How to create such a cardWerner Koch2002-03-051-0/+12
| | | | | | is of course a different thing. Note, that you need to create the shadowed-private-key file manually.
* * pksign.c (agent_pksign): Detect whether a Smartcard is to beWerner Koch2002-03-041-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.
* Changes needed to support smartcards. Well, only _support_. There isWerner Koch2002-02-281-0/+19
| | | | | no real code yet.
* * findkey.c (unprotect): Show an error message for a bad passphrase.Werner Koch2002-02-181-0/+2
|
* * command.c (cmd_marktrusted): Implemented.Werner Koch2002-02-181-0/+8
| | | | | | | | * trustlist.c (agent_marktrusted): New. (open_list): Add APPEND arg. * query.c (agent_get_confirmation): New.
* * cache.c (housekeeping): Fixed linking in the remove case.Werner Koch2002-02-061-0/+7
|