* passphrase.c (read_passphrase_from_fd): Do a dummy read if the
authorWerner Koch <wk@gnupg.org>
Thu, 10 Apr 2003 09:56:47 +0000 (09:56 +0000)
committerWerner Koch <wk@gnupg.org>
Thu, 10 Apr 2003 09:56:47 +0000 (09:56 +0000)
commit6b5587891221213706b131e262f95072b5ff6a63
treef7ad6f0ea7eb77469d8e79cfc79e934087009bcd
parent3cf45b304e6df97e360b19408b85cf4d378ca23d
* passphrase.c (read_passphrase_from_fd): Do a dummy read if the
agent is to be used.  Noted by Ingo Kl�cker.
(agent_get_passphrase): Inhibit caching when we have no
fingerprint.  This is required for key generation as well as for
symmetric only encryption.

* passphrase .c (agent_get_passphrase): New arg CANCELED.
(passphrase_to_dek): Ditto.  Passed to above.  Changed all
callers to pass NULL.
* seckey-cert.c (do_check): New arg CANCELED.
(check_secret_key): Terminate loop when canceled.

* keyedit.c (change_passphrase): Pass ERRTEXT untranslated to
passphrase_to_dek and translate where appropriate.
* seckey-cert.c (check_secret_key): Ditto.
* keygen.c (ask_passphrase): Ditto.
* passphrase.c (agent_get_passphrase): Translate the TRYAGAIN_TEXT.
Switch the codeset to utf-8.
g10/ChangeLog
g10/decrypt.c
g10/encode.c
g10/gpgv.c
g10/keydb.h
g10/keyedit.c
g10/keygen.c
g10/mainproc.c
g10/passphrase.c
g10/seckey-cert.c
g10/sign.c