View | Details | Raw Unified | Return to bug 80157 | Differences between
and this patch

Collapse All | Expand All

(-)gnupg/Makefile (-2 / +1 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	gnupg
8
PORTNAME=	gnupg
9
PORTVERSION=	1.4.0
9
PORTVERSION=	1.4.1
10
PORTREVISION?=	1
11
CATEGORIES=	security
10
CATEGORIES=	security
12
MASTER_SITES=	${MASTER_SITE_GNUPG}
11
MASTER_SITES=	${MASTER_SITE_GNUPG}
13
MASTER_SITE_SUBDIR=	gnupg
12
MASTER_SITE_SUBDIR=	gnupg
(-)gnupg/distinfo (-4 / +4 lines)
Lines 1-4 Link Here
1
MD5 (gnupg-1.4.0.tar.bz2) = 8c303606aaf73b7756b9fe6f3d8b58c2
1
MD5 (gnupg-1.4.1.tar.bz2) = fdfc5553d0904cd65011e47a42a9532c
2
SIZE (gnupg-1.4.0.tar.bz2) = 2722669
2
SIZE (gnupg-1.4.1.tar.bz2) = 2822791
3
MD5 (gnupg-1.4.0.tar.bz2.sig) = bdfb7093cf5d76d1b69e9b577e9d8514
3
MD5 (gnupg-1.4.1.tar.bz2.sig) = 440038771606d59e9cbc153cccdbac55
4
SIZE (gnupg-1.4.0.tar.bz2.sig) = 65
4
SIZE (gnupg-1.4.1.tar.bz2.sig) = 65
(-)gnupg/files/patch-cfb (-48 lines)
Lines 1-48 Link Here
1
Index: include/cipher.h
2
===================================================================
3
RCS file: /cvs/gnupg/gnupg/include/cipher.h,v
4
retrieving revision 1.63
5
diff -u -r1.63 cipher.h
6
--- include/cipher.h	29 Nov 2004 21:14:18 -0000	1.63
7
+++ include/cipher.h	8 Feb 2005 04:10:29 -0000
8
@@ -75,6 +75,7 @@
9
     int keylen;
10
     int algo_info_printed;
11
     int use_mdc;
12
+    int symmetric;
13
     byte key[32]; /* this is the largest used keylen (256 bit) */
14
 } DEK;
15
16
Index: g10/mainproc.c
17
===================================================================
18
RCS file: /cvs/gnupg/gnupg/g10/mainproc.c,v
19
retrieving revision 1.161
20
diff -u -r1.161 mainproc.c
21
--- g10/mainproc.c	21 Oct 2004 19:18:47 -0000	1.161
22
+++ g10/mainproc.c	8 Feb 2005 04:10:30 -0000
23
@@ -330,6 +330,8 @@
24
25
 	    if(c->dek)
26
 	      {
27
+		c->dek->symmetric=1;
28
+
29
 		/* FIXME: This doesn't work perfectly if a symmetric
30
 		   key comes before a public key in the message - if
31
 		   the user doesn't know the passphrase, then there is
32
Index: g10/encr-data.c
33
===================================================================
34
RCS file: /cvs/gnupg/gnupg/g10/encr-data.c,v
35
retrieving revision 1.30
36
diff -u -r1.30 encr-data.c
37
--- g10/encr-data.c	8 Oct 2004 21:54:26 -0000	1.30
38
+++ g10/encr-data.c	8 Feb 2005 04:10:30 -0000
39
@@ -125,7 +125,7 @@
40
     cipher_sync( dfx.cipher_hd );
41
     p = temp;
42
 /* log_hexdump( "prefix", temp, nprefix+2 ); */
43
-    if( p[nprefix-2] != p[nprefix] || p[nprefix-1] != p[nprefix+1] ) {
44
+    if( dek->symmetric && (p[nprefix-2] != p[nprefix] || p[nprefix-1] != p[nprefix+1]) ) {
45
 	rc = G10ERR_BAD_KEY;
46
 	goto leave;
47
     }
48
(-)gnupg/pkg-plist (-1 lines)
Lines 5-11 Link Here
5
libexec/gnupg/gpgkeys_finger
5
libexec/gnupg/gpgkeys_finger
6
libexec/gnupg/gpgkeys_hkp
6
libexec/gnupg/gpgkeys_hkp
7
libexec/gnupg/gpgkeys_http
7
libexec/gnupg/gpgkeys_http
8
libexec/gnupg/gpgkeys_mailto
9
@dirrm libexec/gnupg
8
@dirrm libexec/gnupg
10
%%DATADIR%%/FAQ
9
%%DATADIR%%/FAQ
11
%%DATADIR%%/faq.html
10
%%DATADIR%%/faq.html

Return to bug 80157