Re: gnupg 1.4.7 vs. pgp 6.5.3

2010-03-24 Thread David Shaw
On Mar 24, 2010, at 9:09 AM, Wolff, Alex wrote:

 Company 1 is using gnupg 1.4.7 on SunOS.  Company2 is using PGP 6.5.3 on
 Win2003.
 
 Company1 encrypts using Company2's public key and ftp's file in ascii
 mode to Company2.
 
 Company2 tries to decrypt file and receives error : 
 
 bad session keys or 1 unknown key(s)
 
 To encrypt we are using command:  gpg -r charlie.ca...@company.com
 --output TEST.txt.pgp --encrypt OUTFILE.go
 
 Is this incompatibility issue between gnupg and pgp or a bonehead
 mistake?

PGP 6.5.3 is really, really old now, and predates a good amount of stuff that 
is now part of the OpenPGP standard, including some things that were added for 
security reasons.  The real answer here is to get company 2 to upgrade to 
something newer.  It doesn't have to be GPG - any recent PGP would be fine as 
well.

Since that may not be under your control (I assume you are company 1 in the 
above), you can try adding the --pgp6 option to your GPG command line.  This 
tells GPG to internally backdate itself, so it won't generate any messages 
using features or algorithms that were added to the standard after PGP 6.   
Even so, note that the --pgp6 option backdates to PGP 6.5.8, and company 2 is 
using a version even older than *that*.

David


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: gnupg 1.4.7 vs. pgp 6.5.3

2010-03-24 Thread Laurent Jumet

Hello Wolff, !

Wolff, Alex awo...@newbreed.com wrote:

 Company 1 is using gnupg 1.4.7 on SunOS.  Company2 is using PGP 6.5.3 on
 Win2003.
 Company1 encrypts using Company2's public key and ftp's file in ascii
 mode to Company2.
 Company2 tries to decrypt file and receives error :
 bad session keys or 1 unknown key(s)
 To encrypt we are using command:  gpg -r charlie.ca...@company.com
 --output TEST.txt.pgp --encrypt OUTFILE.go
 Is this incompatibility issue between gnupg and pgp or a bonehead
 mistake?

PGP6 is able to use IDEA for encrypting and GPG doesn't decrypt it by 
default; try load-extension IDEA.DLL in GPG.

You said ascii transfer but the pgp file is a binary one?


-- 
Laurent Jumet
  KeyID: 0xCFAF704C

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: gnupg 1.4.7 vs. pgp 6.5.3

2010-03-24 Thread vedaal
Laurent Jumet laurent.jumet () skynet ! be wrote on 2010-03-24 
13:57:35:

PGP6 is able to use IDEA for encrypting and GPG doesn't decrypt it 
by  default; \ try load-extension IDEA.DLL in GPG.

The problem was on the PGP end. The company using PGP6.x couldn't 
decrypt, and the error message, bad session keys indicates that 
the it didn't recognize the algorithm used, (probably AES or 
another one that came after PGP 6.x. )

David's advice of using the option of --PGP6 on the GnuPG side will 
make everything work again on the PGP end. 


vedaal


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users