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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP & PGP

Status
Not open for further replies.

lobstah

Programmer
May 14, 2001
384
US
Hello,

Has anyone used PGP with ASP, using NSDPGP, to send encrypted email messages?

I am able to send okay using my keyid, but when I import another users' keyid and try to use that one to encrypt the message I get the error:

NSDPGP error '80004005'
Invalid Encryption KeyId

I've been searching everywhere to try and find what to even look at for where the problem may arise.

Any suggestions at all would be greatly appreciated.

Thanks!
 
I haven't done it using ASP, but you might want to make sure that your private key is set to be the default (displayed as bold in the keyring utility).
You'll also need to sign anyone else's public key on your ring before it becomes valid (look for the green "LED" next to it's entry).

BTW, how are you storing the passphrase?

Chip H.
 
Okay, my private key is the default, and I've signed the users' public keys that I want to encrypt the email with, it has the green LED and I set the trust level to maximum, but I'm still getting the invalid encryption keyid...

Do I need to make these changes on the server, or can I do it through the PGPkey interface on my station? We tried it on the server but it wouldn't let us sign any public keys..... But I could sign them on my workstation, but I continue to get the invalid keyid error...
 
the problem actually turned out to be that keyring file wasn't in whatever profile the utility was looking for it in, so we copied the keyring to every profile on the server to ensure it would find it, then still had the problem because in copying from one folder to another, it carried the permissions of the source folder, and we hadn't gone to each folder and set permissions to allow everyone full access.

once that was all done, everything was golden!

hope this helps someone in the future!

*:->*

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top