Thread Tools Search this Thread
Top Forums Shell Programming and Scripting openpgp
# 1  
Old 09-05-2009

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)
# 2  
Old 09-06-2009
Only guessing - but did you try the --batch-mode and/or --yes command(s) mentioned in the according man page ...?
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question