09-05-2009
1,
0
Join Date: Sep 2009
Last Activity: 8 September 2009, 2:13 PM EDT
Posts: 1
Thanks Given: 0
Thanked 0 Times in 0 Posts
openpgp
I have to create a script that will automatically respond when I have to encrypt a file. I have tried in shell and bash, and even expect but can't get it to work. I really don't want to do it in perl. The problem is it keeps asking if I am sureif I want to use the key. How do I force it to encrypt without it asking the question?
The command I am using is:
gpg -e -r (email address) --openpgp (filename)