On 2023-12-31 18:55:10 +0100, Vincent Lefevre wrote: > When I run "gpg --batch -d file.gpg < /dev/null", I'm still asked > for a passphrase, while the gpg(1) man page says for this option: > > Use batch mode. Never ask, do not allow interactive commands.
I've eventually found that "--pinentry-mode error" (or "--pinentry-mode cancel") allows me to avoid this issue. I suppose that --batch should set the pinentry mode to "error" so that it behaves as documented. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)