mute output of gpg2 -d

J. Tull heavytull at hotmail.com
Sat Jul 14 14:09:20 CEST 2018


On +0200, Werner Koch wrote:
> On Fri, 13 Jul 2018 20:27, heavytull at hotmail.com said:
> 
> > [user at linuxbox ~]$ gpg2 -d .my_pwds.gpg 2>/dev/null
> >
> > You need a passphrase to unlock the secret key for
> 
> That output goes directly to the tty.  Without a pinentry you will need
> to enter the passphrase also directly via the tyy (because we need
> direct control to avoid echoing of the passphrase.  It seems that this
> is a left-over which should not be displayed (or to stderr) iff the
> pinentry is used.
> 
> Use --batch or --no-tty to suppress this output

both options worked. So you mean it's a bug in gpg2?
> 
> 
> Shalom-Salam,
> 
>    Werner
> 
> -- 
> Too old to Go, too young to Rust.

Too old to rock'n'roll, too young too die



More information about the Gnupg-users mailing list