Revisited: RE: encrypted session key is bad

William X. Walsh
Wed, 26 Jan 2000 13:16:44 -0800 (PST)

Hash: SHA1

On 23-Jan-2000 William X. Walsh wrote:

>> When I encrpt a file to a public key using GPG, then decrypt it using PGP
>> 6.5.2
>> on windows, I get an error "An error has occured: encypted session key is
>> bad"
>> Has anyone encountered this and can tell me what options to pass to GPG to
>> solve it?
> Just an addendum, the original error was when attempting to use the GSecure
> cgi
> script to encrypt form input before emailing. As I said, I can decrypt fine
> using GPG, but in this case the client is using Windows PGP 6.5.2.
> This morning I encrypted a text file manually, and tried to decrypt it using
> PGP 6.5.2 in windows (gotta love vmware) and had the same problem (encrypted
> session key is bad) and it can't decrypt it. So it's not directly related to
> the CGI script.
> I've been reading the docs and list archives and so far can't find any option
> that might solve this, so if anyone has any possible solution for me to try,
> I'd be most appreciative.
The only responses I have gotten to this (and those privately) are from people saying "I'm having that problem to, let me know if you get a fix." But so far no one who has any clue to fix this interoperability problem. My next option is to replace gpg on the server with PGP, something I really would rather not do. The solution is for emailing form contents from a CGI to the user in encrypted format How do all of you handle encrypting to people that are using PGP6? I know that this problem isn't unique to me, from the private responses. Is there anyone here who is using gpg to encypt to PGP6 users and has gotten around this problem? I'd sure like to hear from you if so, or even if you just have an option to try that you think might work. The problem occurs only with encryption, not with signing,verifying signatures, etc. Anyone????? - -- William X. Walsh <> DSo Networks Fax: 877-860-5412 or +1-559-851-9192 GPG/PGP Key at -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (GNU/Linux) Comment: DSo Networks iD8DBQE4j2Q88zLmV94Pz+IRAirLAJwIENLqpXFfjhw1vjJ2v+pEdoNWLACfdOtU JnuYJYRsmOUoLMl5zloBjss= =32GV -----END PGP SIGNATURE-----