[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-users
Subject:    Re: Needless passphrase prompt
From:       Werner Koch <wk () gnupg ! org>
Date:       2007-11-30 8:09:05
Message-ID: 87oddcxihq.fsf () wheatstone ! g10code ! de
[Download RAW message or body]

On Fri, 30 Nov 2007 00:44, hesla@aem.umn.edu said:

> Is there any way to eliminate this needless passphrase prompt?  I have tried
> redirecting both standard output and standard error to /dev/null, but to no
> avail.

Unfortunately there is no easy way to remove this prompt (or lets better
say, information about the passphrase to use).  gpg2 does not know in
advance whether gpg-agent will be able to return the passphrase from the
cache and it always print that prompt.  Eventually we will move all
secret key operation into the aganet, so that the agent as full control
and will emit the prompt only when needed.

You may remove that message (but also other prompts like "overwrite
file?") by using the option --no-tty.


Shalom-Salam,

   Werner



-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic