PGP Auto Respond


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers PGP Auto Respond
# 1  
Old 11-08-2007
PGP Auto Respond

This is relating PGP:

I wrote a shell script to encrypt a file:

pgpe -r <key> (file)

Im looking to automate this but when I run my script it keeps running because it prompts:

WARNING: The above key is not trusted to belong to:

Do you want to use the key with this name? [y/N]

It's waiting for an answer...

My question is, is there a way to have it auto repsond to yes or not ask this question at all? Any body know? Any help would be much appreciated!

Thank You!
# 2  
Old 11-08-2007
A lot of the pgp commandline tools accept the -y (answer yes to everything) and/or -b (batch mode).

Alternativly, resolve the issue that is causing the warning Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to send command and respond to prompt

I m totally new to this so excuse my ignorance. I want to write a small and simple script to execute in terminal on my MAC. I want to be able to send a ssh command and then once connected send the password and once logged in send two commands. I can easily write the script to connect, but then... (2 Replies)
Discussion started by: NOYB111
2 Replies

2. HP-UX

Make_Recovery Question Urgent Plse Respond

I have a make_recovery tape, if I restore the VG00 volume group using this, will my other volume groups still be ok after the restore(I have 7 data volume groups) I used make_recovery -A to create the tape I have a HP9000 HP-UX 11 An internal disk is failing, the other volume groups are on... (3 Replies)
Discussion started by: rees_a
3 Replies

3. Programming

Hi Folks please see the code and respond the questions!

Hi All. I have a package discreibed down. CREATE OR REPLACE PACKAGE BODY IRISCOS_REFRESH_pkg AS PROCEDURE IRISCOS IS CURSOR cur_pci(c_myear number) IS Select cstc.cid, cstc.elid, p.first_name,p.last_name,p.email_id ,pl.plan_name, ptc.chair_id from person p, person_to_chair ptc,... (7 Replies)
Discussion started by: Haque123
7 Replies

4. Programming

SQL Issue please respond !!!

Hi Folks, I have a issue regards space in the records. Example: 999207404 |sp818056|STEVEN |LAWRENCE |Mike.S.Lawrence@sprint.com |2003 S Data Sales Mgr 77 |SVC ... (5 Replies)
Discussion started by: Haque123
5 Replies

5. UNIX for Advanced & Expert Users

Sript need, please respond

Hi I am looking for the script which can move 1month old data from a TXT file.actully in this file data is appended on daily basis.pleasehalp me out. Here is the file content : $head abc.txt. 20070301130052,xxz. 20070307132111,cvasjchgjhcg gacg chjbgasjkchjk.... (3 Replies)
Discussion started by: vpandey
3 Replies

6. Solaris

server not respond

Hi all, i am phasing one problem yesterday.when i was login into sun server with my user id, i am trying to execute unix commands but the server responce is very slow. the command result will give after 5-10 min. i checked /var,/tmp and /export/home file system also.every thing is normal... (4 Replies)
Discussion started by: krishna176
4 Replies

7. Shell Programming and Scripting

Please respond immediately

Hi ..please tell me how to modinfy an existing file in a directory, i need commands like to open edit and save n execute the file in BASH. please respond immediately (3 Replies)
Discussion started by: deepti.1104
3 Replies

8. UNIX for Advanced & Expert Users

Volcheck does not respond

what should i do if there's no response by executing volcheck. Rgrds, --NIkk (2 Replies)
Discussion started by: nikk
2 Replies

9. Windows & DOS: Issues & Discussions

[help]Win98 doesn't respond

My system is combined by Win98 and sco opensever.......but when Win98 is starting .my computer doesn't respond........what can i do? (1 Reply)
Discussion started by: dingxf
1 Replies
Login or Register to Ask a Question