PGP and GnuPG compatibility issue

dwpalmer at dwpalm.jf.intel.com dwpalmer at dwpalm.jf.intel.com
Wed Feb 10 15:48:56 CET 1999


Hopefully going over all these permutations is not needed.  PGP 5.5
doesn't automate all that well.

I've tried MD5, SHA1, and RIPEMD160 with 3DES.  All fail in the same
way, but almost works.  The file that PGP creates has everything but
the first few lines of the original file before complaining, "The
keyring contains a bad (corrupted) PGP packet."  Note that everything
works fine when using much smaller files.

The following is a diff of the two files.  The file "try001" is what
PGP creates.  The original text file is "h:/secrets.txt".

E:/$ diff try001 h:/secrets.txt
1c1,4
< 87d6 1da1 dbe0
---
> 0000000 d3fb 5f19 4315 17d1 7bfc d1e3 1633 a747
> 0000010 9888 33f6 7b7f b10d 3fe1 f97c 2112 0434
> 0000020 c294 6927 a038 ac0a ce7b 72de d0db 6343
> 0000030 ee82 6ab0 57b4 182b 73f5 87d6 1da1 dbe0

E:/$ head try001 
87d6 1da1 dbe0
0000040 8129 c6cf 71ec 4a8b 5151 a3e1 3f31 4c59
0000050 6de4 2b56 f6f9 0df3 ef31 117b a172 2d14
0000060 ef70 9c7b 97c1 b331 e055 5305 b6f5 4e3b
0000070 56eb 9b13 dc80 38a6 ea92 b0ec 51d8 234d
0000080 1acf c9d0 a2d8 46c9 df99 65ea 076f d802
0000090 f433 3fe2 2604 5673 22dd 7d64 4888 a9d5
00000a0 119b de52 a1bf ef10 01bb f6b9 7069 500d
00000b0 d911 820f 126b 39e1 aac7 a941 bf0e 060a
00000c0 fe1a 24c3 8f7b 3b3d f14c 8b39 e68b f52e

E:/$ head h:/secrets.txt
0000000 d3fb 5f19 4315 17d1 7bfc d1e3 1633 a747
0000010 9888 33f6 7b7f b10d 3fe1 f97c 2112 0434
0000020 c294 6927 a038 ac0a ce7b 72de d0db 6343
0000030 ee82 6ab0 57b4 182b 73f5 87d6 1da1 dbe0
0000040 8129 c6cf 71ec 4a8b 5151 a3e1 3f31 4c59
0000050 6de4 2b56 f6f9 0df3 ef31 117b a172 2d14
0000060 ef70 9c7b 97c1 b331 e055 5305 b6f5 4e3b
0000070 56eb 9b13 dc80 38a6 ea92 b0ec 51d8 234d
0000080 1acf c9d0 a2d8 46c9 df99 65ea 076f d802
0000090 f433 3fe2 2604 5673 22dd 7d64 4888 a9d5


Any ideas?

Thanks,
Dave




More information about the Gnupg-devel mailing list