using decrypt from shell script
Fri May 31 16:28:02 2002
# COPYRIGHT (c) 1995-2002 Stephen M. Butler dba XRG
# This information may be copied, distributed and/or modified under
# certain conditions, but it comes WITHOUT ANY WARRANTY.
# See the Design Science License for more details
# Interface for edi and default routines to decrypt pgp files vi GnuPG.
rm -f "$3" 2>&1 1> /dev/null
default gpg_pass$1 \
| gpg --homedir $homedir --passphrase-fd 0 --no-tty --skip-verify \
--output "$3" --decrypt "$2"
From: Terry Gehring [mailto:firstname.lastname@example.org]
Sent: Friday, May 31, 2002 6:15 AM
Subject: using decrypt from shell script
I'm really new to using Gnupg, so I apologize for probably asking a
question that has been asked many times before. But I have an
application developed in C and Korn Shell scripts that needs to decrypt
GPG files automatically and can't seem to get pass the requirement to
enter the passphrase. I've tried using "here" and attempted to use
--batch. How can I do this?
Gnupg-users mailing list
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.