gnupg/g10 (11 files)

cvs user werner cvs@cvs.gnupg.org
Thu, 10 Apr 2003 11:56:57 +0200


    Date: Thursday, April 10, 2003 @ 11:56:47
  Author: werner
    Path: /cvs/gnupg/gnupg/g10

Modified: ChangeLog decrypt.c encode.c gpgv.c keydb.h keyedit.c keygen.c
          mainproc.c passphrase.c seckey-cert.c sign.c

* 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.


---------------+
 ChangeLog     |   27 ++++++++++
 decrypt.c     |   20 +++----
 encode.c      |    3 -
 gpgv.c        |    6 +-
 keydb.h       |    2 
 keyedit.c     |    6 +-
 keygen.c      |   13 +++--
 mainproc.c    |    4 -
 passphrase.c  |  141 ++++++++++++++++++++++++++++++++++++++++++--------------
 seckey-cert.c |   18 ++++---
 sign.c        |    2 
 11 files changed, 175 insertions(+), 67 deletions(-)