2002-04-24 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Check for locale.h.
agent/
2002-04-24 Marcus Brinkmann <marcus@g10code.de>
* 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 <marcus@g10code.de>
* 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-24 21:52:47 +00:00
|
|
|
2002-04-24 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
2002-04-09 18:34:38 +00:00
|
|
|
2002-04-05 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* protect-tool.c (show_file): New. Used as default action.
|
|
|
|
|
2002-03-28 11:42:40 +00:00
|
|
|
2002-03-28 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* divert-scd.c (encode_md_for_card): Don't do the pkcs-1 padding,
|
|
|
|
the scdaemon should take care of it.
|
|
|
|
(ask_for_card): Hack to not display the trailing zero.
|
|
|
|
|
2002-03-18 09:30:35 +00:00
|
|
|
2002-03-11 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* learncard.c (kpinfo_cb): Remove the content restrictions from
|
|
|
|
the keyID.
|
|
|
|
|
2002-03-06 09:01:12 +00:00
|
|
|
2002-03-06 Werner Koch <wk@gnupg.org>
|
|
|
|
|
2002-03-06 14:16:37 +00:00
|
|
|
* 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.
|
|
|
|
|
2002-03-06 09:01:12 +00:00
|
|
|
* pkdecrypt.c (agent_pkdecrypt): Changed the way the diversion is done.
|
|
|
|
* divert-scd.c (divert_pkdecrypt): Changed interface and
|
|
|
|
implemented it.
|
|
|
|
|
2002-03-05 17:14:45 +00:00
|
|
|
2002-03-05 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* call-scd.c (inq_needpin): New.
|
|
|
|
(agent_card_pksign): Add getpin_cb args.
|
2002-03-06 09:01:12 +00:00
|
|
|
(agent_card_pkdecrypt): New.
|
2002-03-05 17:14:45 +00:00
|
|
|
|
|
|
|
2002-03-04 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* pksign.c (agent_pksign): Changed how the diversion is done.
|
2002-03-06 09:01:12 +00:00
|
|
|
* divert-scd.c (divert_pksign): Changed interface and implemented it.
|
2002-03-05 17:14:45 +00:00
|
|
|
(encode_md_for_card): New.
|
|
|
|
* call-scd.c (agent_card_pksign): New.
|
|
|
|
|
2002-02-28 11:07:59 +00:00
|
|
|
2002-02-28 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* pksign.c (agent_pksign): Detect whether a Smartcard is to be
|
|
|
|
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.
|
2002-03-04 10:34:51 +00:00
|
|
|
|
|
|
|
* protect.c (snext,sskip,smatch): Moved to
|
|
|
|
* sexp-parse.h: new file.
|
2002-02-28 11:07:59 +00:00
|
|
|
* divert-scd.c: New.
|
|
|
|
|
|
|
|
2002-02-27 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* protect.c (agent_shadow_key): New.
|
|
|
|
|
|
|
|
* command.c (cmd_learn): New command LEARN.
|
|
|
|
* gpg-agent.c: New option --scdaemon-program.
|
|
|
|
* call-scd.c (start_scd): New. Based on query.c
|
|
|
|
* query.c: Add 2 more arguments to all uses of assuan_transact.
|
|
|
|
|
2002-02-18 20:44:48 +00:00
|
|
|
2002-02-18 Werner Koch <wk@gnupg.org>
|
|
|
|
|
2002-02-18 22:39:26 +00:00
|
|
|
* findkey.c (unprotect): Show an error message for a bad passphrase.
|
|
|
|
|
2002-02-18 20:44:48 +00:00
|
|
|
* command.c (cmd_marktrusted): Implemented.
|
|
|
|
* trustlist.c (agent_marktrusted): New.
|
|
|
|
(open_list): Add APPEND arg.
|
|
|
|
|
|
|
|
* query.c (agent_get_confirmation): New.
|
|
|
|
|
2002-02-06 14:51:35 +00:00
|
|
|
2002-02-06 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* cache.c (housekeeping): Fixed linking in the remove case.
|
|
|
|
|
2002-02-01 11:39:06 +00:00
|
|
|
2002-02-01 Werner Koch <wk@gnupg.org>
|
|
|
|
|
2002-02-06 14:51:35 +00:00
|
|
|
* gpg-agent.c: New option --default-cache-ttl.
|
|
|
|
* cache.c (agent_put_cache): Use it.
|
|
|
|
|
2002-02-01 11:39:06 +00:00
|
|
|
* cache.c: Add a few debug outputs.
|
|
|
|
|
|
|
|
* 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 16:38:45 +00:00
|
|
|
2002-01-31 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* genkey.c (store_key): Protect the key.
|
|
|
|
(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-30 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* protect.c: New.
|
|
|
|
(hash_passphrase): Based on the GnuPG 1.0.6 version.
|
|
|
|
* protect-tool.c: New
|
|
|
|
|
2002-01-29 10:05:05 +00:00
|
|
|
2002-01-29 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* findkey.c (agent_key_available): New.
|
|
|
|
* command.c (cmd_havekey): New.
|
|
|
|
(register_commands): And register new command.
|
|
|
|
|
2002-01-20 16:49:10 +00:00
|
|
|
2002-01-20 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* command.c (cmd_get_passphrase): Remove the plus signs.
|
|
|
|
|
|
|
|
* 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 18:19:47 +00:00
|
|
|
2002-01-19 Werner Koch <wk@gnupg.org>
|
|
|
|
|
2002-01-19 20:59:19 +00:00
|
|
|
* gpg-agent.c (main): Disable core dumps.
|
|
|
|
|
|
|
|
* cache.c: New.
|
|
|
|
* command.c (cmd_get_passphrase): Use the cache.
|
|
|
|
(cmd_clear_passphrase): Ditto.
|
|
|
|
|
2002-01-19 18:19:47 +00:00
|
|
|
* 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-15 13:01:52 +00:00
|
|
|
2002-01-15 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* trustlist.c: New.
|
|
|
|
* command.c (cmd_istrusted, cmd_listtrusted, cmd_marktrusted): New.
|
|
|
|
|
2002-01-10 19:45:32 +00:00
|
|
|
2002-01-07 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* genkey.c: Store the secret part and return the public part.
|
|
|
|
|
|
|
|
2002-01-03 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* command.c (cmd_get_passphrase): New.
|
|
|
|
(cmd_clear_passphrase): New.
|
|
|
|
* query.c (agent_get_passphrase): New.
|
|
|
|
|
|
|
|
2002-01-02 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* genkey.c: New.
|
|
|
|
* command.c (cmd_genkey): New.
|
|
|
|
|
|
|
|
* command.c (rc_to_assuan_status): Removed and changed all callers
|
|
|
|
to use map_to_assuan_status.
|
|
|
|
|
2001-12-19 15:03:35 +00:00
|
|
|
2001-12-19 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* keyformat.txt: New.
|
|
|
|
|
2001-12-19 00:18:11 +00:00
|
|
|
2001-12-19 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* query.c (start_pinentry): Add new argument to assuan_pipe_connect.
|
|
|
|
|
2001-12-18 19:35:12 +00:00
|
|
|
2001-12-18 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* Makefile.am: Use LIBGCRYPT macros
|
|
|
|
|
2001-12-14 13:43:42 +00:00
|
|
|
2001-12-14 Werner Koch <wk@gnupg.org>
|
|
|
|
|
2001-12-14 15:39:44 +00:00
|
|
|
* gpg-agent.c (main): New option --batch. New option --debug-wait
|
|
|
|
n, so that it is possible to attach gdb when used in server mode.
|
|
|
|
* query.c (agent_askpin): Don't ask in batch mode.
|
|
|
|
|
2001-12-14 13:43:42 +00:00
|
|
|
* command.c: Removed the conversion macros as they are now in
|
|
|
|
../common/util.h.
|
|
|
|
|
2001-12-13 23:20:02 +00:00
|
|
|
2001-12-14 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* query.c (LINELENGTH): Removed.
|
|
|
|
(agent_askpin): Use ASSUAN_LINELENGTH, not LINELENGTH.
|
|
|
|
|
2001-11-24 17:43:43 +00:00
|
|
|
2001-11-19 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* gpg-agent.c: Removed all GUI code, removed code for old
|
|
|
|
protocol. New code to use the Assuan protocol as a server and
|
|
|
|
also to communicate with a new ask-passphrase utility.
|
|
|
|
|
|
|
|
2000-11-22 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* gpg-agent.c (main): csh support by Dan Winship, new options --sh
|
|
|
|
and --csh and set default by consulting $SHELL.
|
|
|
|
|
|
|
|
Mon Aug 21 17:59:17 CEST 2000 Werner Koch <wk@openit.de>
|
|
|
|
|
|
|
|
* gpg-agent.c (passphrase_dialog): Cleanup the window and added the
|
|
|
|
user supplied text to the window.
|
|
|
|
(main): Fixed segv in gtk_init when used without a command to start.
|
|
|
|
|
|
|
|
* gpg-agent.c: --flush option.
|
|
|
|
(req_flush): New.
|
|
|
|
(req_clear_passphrase): Implemented.
|
|
|
|
|
|
|
|
Fri Aug 18 14:27:14 CEST 2000 Werner Koch <wk@openit.de>
|
|
|
|
|
|
|
|
* gpg-agent.c: New.
|
|
|
|
* Makefile.am: New.
|
|
|
|
|
2002-01-10 19:45:32 +00:00
|
|
|
|
|
|
|
Copyright 2001, 2002 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
This file is free software; as a special exception the author gives
|
|
|
|
unlimited permission to copy and/or distribute it, with or without
|
|
|
|
modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
This file is distributed in the hope that it will be useful, but
|
|
|
|
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|