Development Island


Facebook logo

Knowledge

Here you can search for answers in our knowledge base.

If you feel that any information contained here is incorrect please contact us with full details.



Running GPG from a cron or application

Last updated: 21/02/2012 20:50:01

gpg is normally run interactively and expects a terminal to be present for its output. If gpg is run non-interactively via a cron or some code the following error will be generated:

gpg: cannot open `/dev/tty': No such device or address

To resolve this problem just add the "--no-tty" option to your gpg command line.

RSS 2.0 Feed