Error when using gpg in a cron job
Jens Kubieziel
gnupg at kubieziel.de
Sat Mar 27 00:17:48 CET 2004
* Kurt Fitzner schrieb am 2004-03-26 13:08:01:
> cat /root/.gnupg/pass | $GPG --passphrase-fd 0 --quiet \
> --output $SIGNED --clearsign $REPORT
> gpg: cannot open `/dev/tty': No such device or address
> For some reason, gpg is trying to open up a tty directly - for what
> reason, I don't know.
--no-tty Make sure that the TTY (terminal) is never used for any out-
put. This option is needed in some cases because GnuPG some-
times prints warnings to the TTY if --batch is used.
--
Jens Kubieziel http://www.kubieziel.de
I'm meditating on the FORMALDEHYDE and the ASBESTOS leaking into my
PERSONAL SPACE!!
More information about the Gnupg-users
mailing list