pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/gnutls



Module Name:    pkgsrc
Committed By:   prlw1
Date:           Fri Jul  6 16:15:28 UTC 2018

Modified Files:
        pkgsrc/security/gnutls: Makefile distinfo
        pkgsrc/security/gnutls/patches: patch-lib_Makefile.in
            patch-lib_accelerated_x86_x86-common.c
Removed Files:
        pkgsrc/security/gnutls/patches: patch-fuzz_Makefile.in
            patch-lib_atomic.h patch-tests_suite_Makefile.in

Log Message:
Update gnutls to 3.6.2

* Version 3.6.2 (released 2018-02-16)

** libgnutls: When verifying against a self signed certificate ignore issuer.
   That is, ignore issuer when checking the issuer's parameters strength, resolving
   issue #347 which caused self signed certificates to be additionally marked as of
   insufficient security level.

** libgnutls: Corrected MTU calculation for the CBC ciphersuites. The data
   MTU calculation now, it correctly accounts for the fixed overhead due to
   padding (as 1 byte), while at the same time considers the rest of the
   padding as part of data MTU.

** libgnutls: Address issue of loading of all PKCS#11 modules on startup
   on systems with a PKCS#11 trust store (as opposed to a file trust store).
   Introduced a multi-stage initialization which loads the trust modules, and
   other modules are deferred for the first pure PKCS#11 request.

** libgnutls: The SRP authentication will reject any parameters outside
   RFC5054. This protects any client from potential MitM due to insecure
   parameters. That also brings SRP in par with the RFC7919 changes to
   Diffie-Hellman.

** libgnutls: Added the 8192-bit parameters of SRP to the accepted parameters
   for SRP authentication.

** libgnutls: Addressed issue in the accelerated code affecting interoperability
   with versions of nettle >= 3.4.

** libgnutls: Addressed issue in the AES-GCM acceleration under aarch64.

** libgnutls: Addressed issue in the AES-CBC acceleration under ssse3 (patch by
   Vitezslav Cizek).

** srptool: the --create-conf option no longer includes 1024-bit parameters.

** p11tool: Fixed the deletion of objects in batch mode.

** API and ABI modifications:
gnutls_srp_8192_group_generator: Added
gnutls_srp_8192_group_prime: Added

* Version 3.6.1 (released 2017-10-21)

** libgnutls: Fixed interoperability issue with openssl when safe renegotiation was
   used. Resolves gitlab issue #259.

** libgnutls: gnutls_x509_crl_sign, gnutls_x509_crt_sign,
   gnutls_x509_crq_sign, were modified to sign with a better algorithm than
   SHA1. They will now sign with an algorithm that corresponds to the security
   level of the signer's key.

** libgnutls: gnutls_x509_*_sign2() functions and gnutls_x509_*_privkey_sign()
   accept GNUTLS_DIG_UNKNOWN (0) as a hash function option. That will signal
   the function to auto-detect an appropriate hash algorithm to use.

** libgnutls: Removed support for signature algorithms using SHA2-224 in TLS.
   TLS 1.3 no longer uses SHA2-224 and it was never a widespread algorithm
   in TLS 1.2. As such, no reason to keep supporting it.

** libgnutls: Refuse to use client certificates containing disallowed
   algorithms for a session. That reverts a change on 3.5.5, which allowed
   a client to use DSA-SHA1 due to his old DSA certificate, without requiring him
   to enable DSA-SHA1 (and thus make it acceptable for the server's certificate).
   The previous approach was to allow a smooth move for client infrastructure
   after the DSA algorithm became disabled by default, and is no longer necessary
   as DSA is now being universally deprecated.

** libgnutls: Refuse to resume a session which had a different SNI advertised. That
   improves RFC6066 support in server side. Reported by Thomas Klute.

** p11tool: Mark all generated objects as sensitive by default.

** p11tool: added options --sign-params and --hash. This allows testing
   signature with multiple algorithms, including RSA-PSS.

** API and ABI modifications:
No changes since last version.


To generate a diff of this commit:
cvs rdiff -u -r1.182 -r1.183 pkgsrc/security/gnutls/Makefile
cvs rdiff -u -r1.128 -r1.129 pkgsrc/security/gnutls/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/security/gnutls/patches/patch-fuzz_Makefile.in \
    pkgsrc/security/gnutls/patches/patch-lib_atomic.h \
    pkgsrc/security/gnutls/patches/patch-tests_suite_Makefile.in
cvs rdiff -u -r1.8 -r1.9 pkgsrc/security/gnutls/patches/patch-lib_Makefile.in
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/security/gnutls/patches/patch-lib_accelerated_x86_x86-common.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/gnutls/Makefile
diff -u pkgsrc/security/gnutls/Makefile:1.182 pkgsrc/security/gnutls/Makefile:1.183
--- pkgsrc/security/gnutls/Makefile:1.182       Mon Jun  4 16:12:52 2018
+++ pkgsrc/security/gnutls/Makefile     Fri Jul  6 16:15:28 2018
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.182 2018/06/04 16:12:52 wiz Exp $
+# $NetBSD: Makefile,v 1.183 2018/07/06 16:15:28 prlw1 Exp $
 
-DISTNAME=      gnutls-3.6.0
-PKGREVISION=   3
+DISTNAME=      gnutls-3.6.2
 CATEGORIES=    security devel
 MASTER_SITES=  ftp://ftp.gnutls.org/gcrypt/gnutls/v3.6/
 EXTRACT_SUFX=  .tar.xz
@@ -21,6 +20,7 @@ CONFIGURE_ARGS+=              --disable-openssl-comp
 CONFIGURE_ARGS+=               --disable-guile
 CONFIGURE_ARGS+=               --disable-libdane
 CONFIGURE_ARGS+=               --without-tpm
+CONFIGURE_ARGS+=               --disable-destructive-tests
 CONFIGURE_ARGS+=               --disable-valgrind-tests
 CONFIGURE_ARGS+=               --with-libintl-prefix=${BUILDLINK_PREFIX.gettext}
 CONFIGURE_ARGS+=               --enable-local-libopts

Index: pkgsrc/security/gnutls/distinfo
diff -u pkgsrc/security/gnutls/distinfo:1.128 pkgsrc/security/gnutls/distinfo:1.129
--- pkgsrc/security/gnutls/distinfo:1.128       Wed Sep  6 13:41:26 2017
+++ pkgsrc/security/gnutls/distinfo     Fri Jul  6 16:15:28 2018
@@ -1,16 +1,13 @@
-$NetBSD: distinfo,v 1.128 2017/09/06 13:41:26 wiz Exp $
+$NetBSD: distinfo,v 1.129 2018/07/06 16:15:28 prlw1 Exp $
 
-SHA1 (gnutls-3.6.0.tar.xz) = 7526804877a555b0bd136dfaa8a2ade738018301
-RMD160 (gnutls-3.6.0.tar.xz) = e2346506096e63a5a622a18c72c4269302ec4003
-SHA512 (gnutls-3.6.0.tar.xz) = e5f36d7e8d64e8432098e30549c321745d3605eeb85aba2a04bfa92146ca771961f0e2f3682bcae36be5b6095acd25996104a4213ce7b3466d61332a5188dc03
-Size (gnutls-3.6.0.tar.xz) = 8024972 bytes
-SHA1 (patch-fuzz_Makefile.in) = 8123ed5ac06c338a7ce0fb6da9533defaf93169f
-SHA1 (patch-lib_Makefile.in) = 3320a7ffa6252d116037974b6de8f5d9cd3bc610
-SHA1 (patch-lib_accelerated_x86_x86-common.c) = 7a46ef6892b3a06ff4c949a965073c720a2491a4
-SHA1 (patch-lib_atomic.h) = c59748108d6379fe09d2b5f7c2e31b2616ff40cb
+SHA1 (gnutls-3.6.2.tar.xz) = 24e5a416ce320945a2515619f3c2f0f6f2290ddc
+RMD160 (gnutls-3.6.2.tar.xz) = 8f08c2f8e4957338b5efcb40d3584870a53741e1
+SHA512 (gnutls-3.6.2.tar.xz) = 6a574d355226bdff6198ab3f70633ff2a3cff4b5d06793bdaf19d007063bd4dd515d1bd3f331a9eb1a9ad01f83007801cfa55e5fd16c1cd3461ac33d1813fb06
+Size (gnutls-3.6.2.tar.xz) = 8093304 bytes
+SHA1 (patch-lib_Makefile.in) = c9a6bbe6238ccd9de41c708012e36b202d2a86e7
+SHA1 (patch-lib_accelerated_x86_x86-common.c) = eaf3c473b1ca83c5b15be26f8c06a82d7961420c
 SHA1 (patch-src_libopts_autoopts_options.h) = 9202c55314fe8764ac82c95bbfabfa1b031e9ba4
 SHA1 (patch-src_libopts_compat_compat.h) = 240fbfc0ba20af35e0634ba873fe9e34bfbcc921
 SHA1 (patch-src_libopts_libopts.c) = ce5e7681def882e95ed5ab770564d1f999b97039
 SHA1 (patch-src_libopts_makeshell.c) = e5b7d66caaec45e12ae5490d515fc9fc75de3d92
 SHA1 (patch-src_libopts_proto.h) = 78f845bdcbac8de74953a3cee0b77fa9c5b05386
-SHA1 (patch-tests_suite_Makefile.in) = 69aac0ebae7fa8b755497d3ebe6145be118c6a52

Index: pkgsrc/security/gnutls/patches/patch-lib_Makefile.in
diff -u pkgsrc/security/gnutls/patches/patch-lib_Makefile.in:1.8 pkgsrc/security/gnutls/patches/patch-lib_Makefile.in:1.9
--- pkgsrc/security/gnutls/patches/patch-lib_Makefile.in:1.8    Wed Sep  6 13:41:26 2017
+++ pkgsrc/security/gnutls/patches/patch-lib_Makefile.in        Fri Jul  6 16:15:28 2018
@@ -1,18 +1,9 @@
-$NetBSD: patch-lib_Makefile.in,v 1.8 2017/09/06 13:41:26 wiz Exp $
+$NetBSD: patch-lib_Makefile.in,v 1.9 2018/07/06 16:15:28 prlw1 Exp $
 
 Correct path to locale files.
 
 --- lib/Makefile.in.orig       2015-05-03 17:30:56.000000000 +0000
 +++ lib/Makefile.in
-@@ -386,7 +386,7 @@ am__v_lt_0 = --silent
- am__v_lt_1 = 
- libgnutls_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
--      $(libgnutls_la_LDFLAGS) $(LDFLAGS) -o $@
-+      $(libgnutls_la_LDFLAGS) $(LDFLAGS) -lgmp -o $@
- @ENABLE_CXX_TRUE@libgnutlsxx_la_DEPENDENCIES = libgnutls.la
- am__libgnutlsxx_la_SOURCES_DIST = gnutlsxx.cpp
- @ENABLE_CXX_TRUE@am_libgnutlsxx_la_OBJECTS =  \
 @@ -1443,7 +1443,7 @@ infodir = @infodir@
  install_sh = @install_sh@
  libdir = @libdir@

Index: pkgsrc/security/gnutls/patches/patch-lib_accelerated_x86_x86-common.c
diff -u pkgsrc/security/gnutls/patches/patch-lib_accelerated_x86_x86-common.c:1.1 pkgsrc/security/gnutls/patches/patch-lib_accelerated_x86_x86-common.c:1.2
--- pkgsrc/security/gnutls/patches/patch-lib_accelerated_x86_x86-common.c:1.1   Mon Apr 10 10:43:49 2017
+++ pkgsrc/security/gnutls/patches/patch-lib_accelerated_x86_x86-common.c       Fri Jul  6 16:15:28 2018
@@ -1,12 +1,12 @@
-$NetBSD: patch-lib_accelerated_x86_x86-common.c,v 1.1 2017/04/10 10:43:49 jperkin Exp $
+$NetBSD: patch-lib_accelerated_x86_x86-common.c,v 1.2 2018/07/06 16:15:28 prlw1 Exp $
 
 Avoid unsupported xgetbv instruction on older Darwin assemblers.
 
---- lib/accelerated/x86/x86-common.c.orig      2017-01-22 00:00:30.000000000 +0000
+--- lib/accelerated/x86/x86-common.c.orig      2018-02-12 07:06:04.000000000 +0000
 +++ lib/accelerated/x86/x86-common.c
 @@ -101,6 +101,8 @@ static unsigned check_4th_gen_intel_feat
  
- #if defined(_MSC_VER)
+ #if defined(_MSC_VER) && !defined(__clang__)
        xcr0 = _xgetbv(0);
 +#elif defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070
 +      return 0;



Home | Main Index | Thread Index | Old Index