summaryrefslogtreecommitdiff
path: root/security/gnutls
diff options
context:
space:
mode:
authortnn <tnn>2009-05-02 20:04:32 +0000
committertnn <tnn>2009-05-02 20:04:32 +0000
commit645cea0ba16a09aa05391a092e1f9e49a390309b (patch)
tree10668dfa3ccfb6a6a9f7766ed0242264558c0927 /security/gnutls
parent161389e2c12180c0d70e57eb435ccb97f475ca9a (diff)
downloadpkgsrc-645cea0ba16a09aa05391a092e1f9e49a390309b.tar.gz
Update to gnutls-2.6.6.
* Version 2.6.6 (released 2009-04-30) libgnutls: Corrected double free on signature verification failure. Reported by Miroslav Kratochvil. See the advisory for more details. [GNUTLS-SA-2009-1] [CVE-2009-1415] libgnutls: Fix DSA key generation. Noticed when investigating the previous GNUTLS-SA-2009-1 problem. All DSA keys generated using GnuTLS 2.6.x are corrupt. See the advisory for more details. [GNUTLS-SA-2009-2] [CVE-2009-1416] libgnutls: Check expiration/activation time on untrusted certificates. Reported by Romain Francoise. Before the library did not check activation/expiration times on certificates, and was documented as not doing so. We have realized that many applications that use libgnutls, including gnutls-cli, fail to perform proper checks. Implementing similar logic in all applications leads to code duplication. Hence, we decided to check whether the current time (as reported by the time function) is within the activation/expiration period of certificates when verifying untrusted certificates. This changes the semantics of gnutls_x509_crt_list_verify, which in turn is used by gnutls_certificate_verify_peers and gnutls_certificate_verify_peers2. We add two new gnutls_certificate_status_t codes for reporting the new error condition, GNUTLS_CERT_NOT_ACTIVATED and GNUTLS_CERT_EXPIRED. We also add a new gnutls_certificate_verify_flags flag, GNUTLS_VERIFY_DISABLE_TIME_CHECKS, that can be used to disable the new behaviour. API and ABI modifications: gnutls_x509_crt_list_verify: CHANGED, checks activation/expiration times. gnutls_certificate_verify_peers: Likewise. gnutls_certificate_verify_peers2: Likewise. GNUTLS_CERT_NOT_ACTIVATED: ADDED. GNUTLS_CERT_EXPIRED: ADDED. GNUTLS_VERIFY_DISABLE_TIME_CHECKS: ADDED.
Diffstat (limited to 'security/gnutls')
-rw-r--r--security/gnutls/Makefile4
-rw-r--r--security/gnutls/distinfo8
2 files changed, 6 insertions, 6 deletions
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
index 05179eac446..99c87e9e152 100644
--- a/security/gnutls/Makefile
+++ b/security/gnutls/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.79 2009/05/01 13:49:07 zafer Exp $
+# $NetBSD: Makefile,v 1.80 2009/05/02 20:04:32 tnn Exp $
-DISTNAME= gnutls-2.6.5
+DISTNAME= gnutls-2.6.6
CATEGORIES= security devel
MASTER_SITES= ftp://ftp.gnutls.org/pub/gnutls/ \
ftp://ftp.gnupg.org/gcrypt/gnutls/ \
diff --git a/security/gnutls/distinfo b/security/gnutls/distinfo
index 50c61f2cf84..b7dfa3f320a 100644
--- a/security/gnutls/distinfo
+++ b/security/gnutls/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.53 2009/04/20 13:11:57 wiz Exp $
+$NetBSD: distinfo,v 1.54 2009/05/02 20:04:33 tnn Exp $
-SHA1 (gnutls-2.6.5.tar.bz2) = 87d0fd82debee0d644f72fcf404ccd7540c6c71a
-RMD160 (gnutls-2.6.5.tar.bz2) = 9e484d26c50bda0e26e0788ca5465da1ef620fe3
-Size (gnutls-2.6.5.tar.bz2) = 5112923 bytes
+SHA1 (gnutls-2.6.6.tar.bz2) = d1693e611aa7270f14bc500bd56ef529ffcb1703
+RMD160 (gnutls-2.6.6.tar.bz2) = dc6e717e38741628508208244f07fed8faedb13c
+Size (gnutls-2.6.6.tar.bz2) = 5116385 bytes
SHA1 (patch-aa) = 8e9ea317342d584fb6f931f96458cc3d7d747ca0
SHA1 (patch-ab) = 17605f0d3b1895c1c63c8dabc21bdebf95eb7785
SHA1 (patch-ae) = f505476ce0477dc547e8698d205d6ba26fe85f48