Re: Corrupted File

2010-03-24 Thread Paul Richard Ramer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Wed, 24 Mar 2010 15:56:48 -0700 (PDT), James Board wrote:
>> Have you tried decrypting the file with either PGP or
>> GnuPG?  Also,
>> where in the file is the corruption?
>
> The file is corrupted (a 4096-byte page full of zereos), at seemingly
random places, but not near the front of the file.
>
> The file was encrypted with PGP 5.0.  I tried to decrypt with PGP 5.0
and that didn't work. [...]

I haven't used PGP 5.0, but does it give an error message when you try
to decrypt the file.  If it does, please let us know what the error
message is.  It could be helpful.

> [...] Should I try with gpg?  Does gpg behave gracefully if the input
file is corrupted? [...]

It wouldn't hurt to try.  As for the second question, I don't know.  I
don't have the knowledge or experience with these situations to answer that.

> [...] I don't normally use gpg: can I decrypt a file with gpg that was
originally encrypted with pgp 5.0?

To the best of my knowledge, GnuPG can work with old versions of PGP
going back to PGP 2.x.  So I think that it may.  If you do use GnuPG to
decrypt your file, let us know whether it works or not.  And if it
doesn't work, post the error message so that we can further diagnose.


- -Paul

- --
You wouldn't send all of your mail written on the back of postcards
would you?  Then why would you send your e-mail the same way?


+-+
| PGP Key ID: 0x3DB6D884  |
| PGP Fingerprint: EBA7 88B3 6D98 2D4A E045  A9F7 C7C6 6ADF 3DB6 D884 |
+-+
-BEGIN PGP SIGNATURE-

iQGcBAEBCAAGBQJLqrLVAAoJEJhBiuhgbQLInbEL/iU8azdfLK6tH2/CiNDjBtq9
PCzDDf7vFCZqChkNeNJJLJ1qPmhpjDPnakZLCHmhTiPhlA/AKlHOP2H6HhgReNmR
Lr7rLP0OYRcUj5VgWmFod7624qdwrqK05zS70may15fCRpi7z/VssGNNbf9FMVyT
GsPZm2KFUC++ZHCjFYo6qKVKltNuMHiH7SuNzACuOOSkASkdoBR+uQoUcUvL3ngF
XZuzgtfi4m13r+q8IfKBqh/sMI61qQs7f6Ky+Ji4PHom4mSDoVBT9cw5lbt1fUeZ
Z3w+W9HdxmFsoh+qH/qRvyut9szyPvVdZvB2+K4/Mcd8+vbq3Hk/CPwfI3UOjtKj
voxpAdgz6qageCSRGvGAg0vFbt/0CoJdAFanxKa7LJP8hounFY/uy87x9R5ktw7c
+uVRDdGatPC4Jv5fxKI5xkf1vuWv4BFtuLaExt6kelHnwwH4k+gmLsWTJfgNvHkx
6DhRIjXA/HegJOvDIyq6ZJas0XQHL/0MvNccT+xSPg==
=rjHb
-END PGP SIGNATURE-

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


Re: Corrupted File

2010-03-24 Thread James Board
> Have you tried decrypting the file with either PGP or
> GnuPG?  Also,
> where in the file is the corruption?

The file is corrupted (a 4096-byte page full of zereos), at seemingly random 
places, but not near the front of the file.

The file was encrypted with PGP 5.0.  I tried to decrypt with PGP 5.0 and that 
didn't work.  Should I try with gpg?  Does gpg behave gracefully if the input 
file is corrupted?  I don't normally use gpg: can I decrypt a file with gpg 
that was originally encrypted with pgp 5.0?




  

___
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"  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


Re: gnupg 1.4.7 vs. pgp 6.5.3

2010-03-24 Thread Laurent Jumet

Hello Wolff, !

"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?

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 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


gnupg 1.4.7 vs. pgp 6.5.3

2010-03-24 Thread Wolff, Alex
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?

Thanks.




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