agent/
authorWerner Koch <wk@gnupg.org>
Thu, 25 Jan 2007 08:30:47 +0000 (08:30 +0000)
committerWerner Koch <wk@gnupg.org>
Thu, 25 Jan 2007 08:30:47 +0000 (08:30 +0000)
commit6cee3e66c25871a8d94bf0fd22be3579a4d1b775
treed1f9bf251aa5ff3c6f0daad99613051f637af809
parent09bc5abc9248660e637a5240ed99419b5f9d1322
agent/
* 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.
16 files changed:
NEWS
TODO
agent/ChangeLog
agent/agent.h
agent/call-pinentry.c
agent/command.c
agent/divert-scd.c
agent/genkey.c
agent/gpg-agent.c
agent/protect-tool.c
common/ChangeLog
doc/gpg-agent.texi
po/de.po
scd/sc-copykeys.c
tools/gpg-connect-agent.c
tools/symcryptrun.c