gpg script in cron failed with "stdin must be a tty"

Mike Hsu
Thu Aug 7 19:21:02 2003

	A simple gpg script with no passphrase needed:
	gpg --output junk.txt --decrypt junk2.gpg

	runs OK in bash but fails in cron job.

	I get the following message in mail:
	stdin must be a tty

	How can I fix this?

Mike Hsu (
Database Technologist
Northrop Grumman IT
Defense Enterprise Solutions
La Mesa, CA  =20
619-460-2281 x 237