Needless passphrase prompt
wk at gnupg.org
Fri Nov 30 09:09:05 CET 2007
On Fri, 30 Nov 2007 00:44, hesla at 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
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.
Die Gedanken sind frei. Auschnahme regelt ein Bundeschgesetz.
More information about the Gnupg-users