decrypt failure using scheduling tool on UNIX; receive msg 'cannot open /dev/tty'

Werner Koch wk at
Mon Oct 20 12:48:07 CEST 2003

On Fri, 17 Oct 2003 10:48:42 -0600, Kaipust, Michael said:

> All,
> The following command executed in a Korn shell script from our scheduling tool is yielding the message:
> gpg: cannot open /dev/tty: No such device or address

You need to add the --batch option and make sure that gpg does not ask
anything.   In some rare situations --no-tty is also useful.  

Werner Koch                                      <wk at>
The GnuPG Experts                      
Free Software Foundation Europe	       

More information about the Gnupg-users mailing list