Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Skip warning when signing with someone else's public key

Status
Not open for further replies.

meenakshikalera

Programmer
Jun 23, 2004
8
0
0
US
Hello,

I am encrypting some files using someone else's public key...His public key is already in my keyring...And I wanna do it through code, while I am running one of my programs.

But it gives me the following prompt...

Recipients' public key(s) will be used to encrypt.

Key for user ID: username <hisemailid@somedomain.com>
1024-bit DSS key, Key ID 0x5B65A072, created 2004/07/23
WARNING: Because this public key is not certified with a trusted
signature, it is not known with high confidence that this public key
actually belongs to: "username <hisemailid@somedomain.com>".

Are you sure you want to use this public key (y/N)?

I do wanna encrypt using his key whatever be the case, so my answer is always gonna be a yes :)...I wanna run this particular program automatically without any manual intervention and each time I try to do it, it sits there waiting for my input....Is there anyway to override this behaviour?

Please lemme know at your earliest convenience.
Thanks!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top