bug?: gpg 1.0 symmetric crypto 3DES problems with PGP 5.0/6.5.1

Ulf Möller ulf at fitug.de
Wed Sep 29 23:40:18 CEST 1999


> It turns out that the 3DES-encrypted file created by PGP is not decryptable
> by gpg (I hadn't tried that combination before).  Turn-about is fair play?

--- /usr/local/src/gnupg/gnupg-1.0.0/cipher/md.c	Thu Jun 17 17:33:19 1999
+++ cipher/md.c	Wed Sep 29 22:38:27 1999
@@ -291,7 +291,7 @@
 {
     struct md_digest_list_s *r;
 
-    a->bufcount = 0;
+    a->bufcount = a->finalized = 0;
     for( r=a->list; r; r = r->next ) {
 	memset( r->context.c, 0, r->contextsize );
 	(*r->init)( &r->context.c );



More information about the Gnupg-devel mailing list