mute output of gpg2 -d

Werner Koch wk at gnupg.org
Sat Jul 14 09:52:21 CEST 2018


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


Shalom-Salam,

   Werner

-- 
Too old to Go, too young to Rust.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20180714/7cff2474/attachment-0001.sig>


More information about the Gnupg-users mailing list