pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/wolfssl



Module Name:    pkgsrc
Committed By:   fox
Date:           Sun Nov 19 10:26:36 UTC 2023

Modified Files:
        pkgsrc/security/wolfssl: Makefile PLIST distinfo

Log Message:
security/wolfssl: Update to v5.6.4

Changes since v5.6.3:

wolfSSL Release 5.6.4 (October 30, 2023)

NOTE: * --enable-heapmath is being deprecated and will be removed by 2024
* Old CyaSSL/CtaoCrypt shim layer was removed in this release (5.6.4)

Vulnerabilities

  * [Medium] A fix was added, but still under review for completeness, for a
    Bleichenbacher style attack, leading to being able to decrypt a saved TLS
    connection and potentially forge a signature after probing with a large
    number of trial connections. This issue is around RSA decryption and
    affects static RSA cipher suites on the server side, which are not
    recommended to be used and are off by default. Static RSA cipher suites
    were also removed from the TLS 1.3 protocol and only present in TLS 1.2
    and lower. All padding versions of RSA decrypt are affected since the code
    under review is outside of the padding processing. Information about the
    private keys is NOT compromised in affected code. It's recommended to
    disable static RSA cipher suites and update the version of wolfSSL used if
    using RSA private decryption alone outside of TLS. The fix is located in
    this pull request (#6896)

New Feature Additions

  * DTLS 1.3 PQC: support fragmenting the second ClientHello message. This
    allows arbitrarily long keys to be used, opening up support for all PQC
    ciphersuites in DTLS 1.3.
  * SM2/SM3/SM4: Chinese cipher support including TLS 1.3 and 1.2 cipher
    suites. SM2 SP implementation available.
  * Ability to parse ASN1 only with SMIME_read_PKCS7
  * Added support for MemUse Entropy on Windows
  * Added Ada Bindings for wolfSSL
  * Added a PEM example that converts to and from DER/PEM.
  * Added LMS/HSS and XMSS/XMSS^MT wolfcrypt hooks, both normal and
    verify-only options.
  * Added support for the AES EAX mode of operation
  * Port for use with Hitch (https://github.com/varnish/hitch) added
  * Add XTS API's to handle multiple sectors in new port ot VeraCrypt

Enhancements and Optimizations

  * Turned on SNI by default on hosts with resources
  * Improved support for Silicon Labs Simplicity Studio and the ERF32 Gecko
    SDK
  * Thumb-2 and ARM32 Curve25519 and Ed25519 assembly have significantly
    improved performance.
  * Thumb-2 AES assembly code added.
  * Thumb-2 and ARM32 SP implementations of RSA, DH and ECC have
    significantly improved performance.
  * Minor performance improvements to SP ECC for Intel x64.
  * AES-XTS assembly code added for Intel x64, Aarch64 and ARM32.
  * Added support for X963 KDFs to ECIES.
  * Added 32-bit type only implementation of AES GMULT using tables.
  * Add support for nginx version 1.25.0
  * Add support for Kerberos version 5 1.21.1
  * Check all CRL entries in case a single issuer has multiple CRL's loaded
  * CRL verify the entire chain including loaded CA's
  * Added example for building wolfSSL as an Apple universal binary
    framework using configure
  * Sniffer tool now supports decrypting TLS sessions using secrets obtained
    from a SSLKEYLOGFILE
  * Updates made for EBSNET port
  * Update "--enable-jni" to include additional defines for expanded JNI
    support. Also includes JCE and JSSE builds under the single enable option
    now.

Fixes

  * Fixed error handling when decrypted pre-master secret is too long when
    using static RSA.
  * Added a fix for keymod use with i.MX RT1170 CAAM blobs
  * Added a fix for AES-GCM use with Petalinux Xilinx
  * Fixed wc_SignatureGenerate_ex to not call verify twice
  * Fixed wolfCrypt FIPS DLL on Win32
  * Fixed TFM math library big-endian reading implementation when a zero
    length buffer is passed in.
  * Fixed NO_CERT configurations to build correctly.
  * Fixed ARM AES-GCM streaming assembly when –enable-opensslextra defined.
  * Added modulus checks to heap math implementation of mp_exptmod().
  * Fixed Windows assembly code to handle that certain XMM registers are
    non-volatile.
  * Aarch64 SP ECC implementation of sp_256_mont_dbl_4 has the register list
    for the assembly code fixed to include all used registers.
  * mp_sqrt_mod_prime fixed to limit the number of iterations of a loop to
    handle malicious non-prime values being passed in.
  * Ignore session ID's shorter than 32 bytes instead of erroring out


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/security/wolfssl/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/security/wolfssl/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/security/wolfssl/distinfo

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

Modified files:

Index: pkgsrc/security/wolfssl/Makefile
diff -u pkgsrc/security/wolfssl/Makefile:1.20 pkgsrc/security/wolfssl/Makefile:1.21
--- pkgsrc/security/wolfssl/Makefile:1.20       Sat Jul  1 17:01:09 2023
+++ pkgsrc/security/wolfssl/Makefile    Sun Nov 19 10:26:36 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2023/07/01 17:01:09 fox Exp $
+# $NetBSD: Makefile,v 1.21 2023/11/19 10:26:36 fox Exp $
 
-DISTNAME=      wolfssl-5.6.3
+DISTNAME=      wolfssl-5.6.4
 CATEGORIES=    security
 MASTER_SITES=  https://www.wolfssl.com/
 EXTRACT_SUFX=  .zip

Index: pkgsrc/security/wolfssl/PLIST
diff -u pkgsrc/security/wolfssl/PLIST:1.12 pkgsrc/security/wolfssl/PLIST:1.13
--- pkgsrc/security/wolfssl/PLIST:1.12  Thu Mar 30 07:33:53 2023
+++ pkgsrc/security/wolfssl/PLIST       Sun Nov 19 10:26:36 2023
@@ -1,96 +1,5 @@
-@comment $NetBSD: PLIST,v 1.12 2023/03/30 07:33:53 fox Exp $
+@comment $NetBSD: PLIST,v 1.13 2023/11/19 10:26:36 fox Exp $
 bin/wolfssl-config
-include/cyassl/callbacks.h
-include/cyassl/certs_test.h
-include/cyassl/crl.h
-include/cyassl/ctaocrypt/aes.h
-include/cyassl/ctaocrypt/arc4.h
-include/cyassl/ctaocrypt/asn.h
-include/cyassl/ctaocrypt/asn_public.h
-include/cyassl/ctaocrypt/blake2-impl.h
-include/cyassl/ctaocrypt/blake2-int.h
-include/cyassl/ctaocrypt/blake2.h
-include/cyassl/ctaocrypt/camellia.h
-include/cyassl/ctaocrypt/chacha.h
-include/cyassl/ctaocrypt/coding.h
-include/cyassl/ctaocrypt/compress.h
-include/cyassl/ctaocrypt/des3.h
-include/cyassl/ctaocrypt/dh.h
-include/cyassl/ctaocrypt/dsa.h
-include/cyassl/ctaocrypt/ecc.h
-include/cyassl/ctaocrypt/error-crypt.h
-include/cyassl/ctaocrypt/fips_test.h
-include/cyassl/ctaocrypt/hmac.h
-include/cyassl/ctaocrypt/integer.h
-include/cyassl/ctaocrypt/logging.h
-include/cyassl/ctaocrypt/md2.h
-include/cyassl/ctaocrypt/md4.h
-include/cyassl/ctaocrypt/md5.h
-include/cyassl/ctaocrypt/memory.h
-include/cyassl/ctaocrypt/misc.h
-include/cyassl/ctaocrypt/mpi_class.h
-include/cyassl/ctaocrypt/mpi_superclass.h
-include/cyassl/ctaocrypt/pkcs7.h
-include/cyassl/ctaocrypt/poly1305.h
-include/cyassl/ctaocrypt/pwdbased.h
-include/cyassl/ctaocrypt/random.h
-include/cyassl/ctaocrypt/ripemd.h
-include/cyassl/ctaocrypt/rsa.h
-include/cyassl/ctaocrypt/settings.h
-include/cyassl/ctaocrypt/settings_comp.h
-include/cyassl/ctaocrypt/sha.h
-include/cyassl/ctaocrypt/sha256.h
-include/cyassl/ctaocrypt/sha512.h
-include/cyassl/ctaocrypt/tfm.h
-include/cyassl/ctaocrypt/types.h
-include/cyassl/ctaocrypt/visibility.h
-include/cyassl/ctaocrypt/wc_port.h
-include/cyassl/error-ssl.h
-include/cyassl/ocsp.h
-include/cyassl/openssl/asn1.h
-include/cyassl/openssl/bio.h
-include/cyassl/openssl/bn.h
-include/cyassl/openssl/conf.h
-include/cyassl/openssl/crypto.h
-include/cyassl/openssl/des.h
-include/cyassl/openssl/dh.h
-include/cyassl/openssl/dsa.h
-include/cyassl/openssl/ec.h
-include/cyassl/openssl/ec25519.h
-include/cyassl/openssl/ec448.h
-include/cyassl/openssl/ecdh.h
-include/cyassl/openssl/ecdsa.h
-include/cyassl/openssl/ed25519.h
-include/cyassl/openssl/ed448.h
-include/cyassl/openssl/engine.h
-include/cyassl/openssl/err.h
-include/cyassl/openssl/evp.h
-include/cyassl/openssl/hmac.h
-include/cyassl/openssl/lhash.h
-include/cyassl/openssl/md4.h
-include/cyassl/openssl/md5.h
-include/cyassl/openssl/ocsp.h
-include/cyassl/openssl/opensslconf.h
-include/cyassl/openssl/opensslv.h
-include/cyassl/openssl/ossl_typ.h
-include/cyassl/openssl/pem.h
-include/cyassl/openssl/pkcs12.h
-include/cyassl/openssl/rand.h
-include/cyassl/openssl/ripemd.h
-include/cyassl/openssl/rsa.h
-include/cyassl/openssl/sha.h
-include/cyassl/openssl/ssl.h
-include/cyassl/openssl/ssl23.h
-include/cyassl/openssl/stack.h
-include/cyassl/openssl/ui.h
-include/cyassl/openssl/x509.h
-include/cyassl/openssl/x509v3.h
-include/cyassl/options.h
-include/cyassl/sniffer.h
-include/cyassl/sniffer_error.h
-include/cyassl/ssl.h
-include/cyassl/test.h
-include/cyassl/version.h
 include/wolfssl/callbacks.h
 include/wolfssl/certs_test.h
 include/wolfssl/crl.h
@@ -187,6 +96,8 @@ include/wolfssl/wolfcrypt/ed25519.h
 include/wolfssl/wolfcrypt/ed448.h
 include/wolfssl/wolfcrypt/error-crypt.h
 include/wolfssl/wolfcrypt/ext_kyber.h
+include/wolfssl/wolfcrypt/ext_lms.h
+include/wolfssl/wolfcrypt/ext_xmss.h
 include/wolfssl/wolfcrypt/falcon.h
 include/wolfssl/wolfcrypt/fe_448.h
 include/wolfssl/wolfcrypt/fe_operations.h
@@ -199,6 +110,7 @@ include/wolfssl/wolfcrypt/hpke.h
 include/wolfssl/wolfcrypt/integer.h
 include/wolfssl/wolfcrypt/kdf.h
 include/wolfssl/wolfcrypt/kyber.h
+include/wolfssl/wolfcrypt/lms.h
 include/wolfssl/wolfcrypt/logging.h
 include/wolfssl/wolfcrypt/md2.h
 include/wolfssl/wolfcrypt/md4.h
@@ -224,6 +136,9 @@ include/wolfssl/wolfcrypt/sha3.h
 include/wolfssl/wolfcrypt/sha512.h
 include/wolfssl/wolfcrypt/signature.h
 include/wolfssl/wolfcrypt/siphash.h
+include/wolfssl/wolfcrypt/sm2.h
+include/wolfssl/wolfcrypt/sm3.h
+include/wolfssl/wolfcrypt/sm4.h
 include/wolfssl/wolfcrypt/sp_int.h
 include/wolfssl/wolfcrypt/sphincs.h
 include/wolfssl/wolfcrypt/srp.h
@@ -232,14 +147,19 @@ include/wolfssl/wolfcrypt/types.h
 include/wolfssl/wolfcrypt/visibility.h
 include/wolfssl/wolfcrypt/wc_encrypt.h
 include/wolfssl/wolfcrypt/wc_kyber.h
+include/wolfssl/wolfcrypt/wc_lms.h
 include/wolfssl/wolfcrypt/wc_port.h
+include/wolfssl/wolfcrypt/wc_xmss.h
 include/wolfssl/wolfcrypt/wolfevent.h
 include/wolfssl/wolfcrypt/wolfmath.h
+include/wolfssl/wolfcrypt/xmss.h
 include/wolfssl/wolfio.h
 lib/libwolfssl.la
 lib/pkgconfig/wolfssl.pc
 share/doc/wolfssl/QUIC.md
 share/doc/wolfssl/README.txt
+share/doc/wolfssl/example/async_client.c
+share/doc/wolfssl/example/async_server.c
 share/doc/wolfssl/example/client.c
 share/doc/wolfssl/example/echoclient.c
 share/doc/wolfssl/example/echoserver.c

Index: pkgsrc/security/wolfssl/distinfo
diff -u pkgsrc/security/wolfssl/distinfo:1.21 pkgsrc/security/wolfssl/distinfo:1.22
--- pkgsrc/security/wolfssl/distinfo:1.21       Sat Jul  1 17:01:09 2023
+++ pkgsrc/security/wolfssl/distinfo    Sun Nov 19 10:26:36 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.21 2023/07/01 17:01:09 fox Exp $
+$NetBSD: distinfo,v 1.22 2023/11/19 10:26:36 fox Exp $
 
-BLAKE2s (wolfssl-5.6.3.zip) = 41b493e2d27346ad24e93570c1ffa825bbbd9c89672f8a1d795d1ad43096527b
-SHA512 (wolfssl-5.6.3.zip) = 78790d77911eb662e5cea6480bff1921fc6faa70fa5ec8f5621968d7aefecc8e64324bfd093939cf669d37f99e7734de64195799c9de421e6efb5e1ca34ae003
-Size (wolfssl-5.6.3.zip) = 23603783 bytes
+BLAKE2s (wolfssl-5.6.4.zip) = 9a0c428fc9f1d0ae1592c7b9a6f7fb420c1c49d7d4ed07c0720d2893ecf8cb8d
+SHA512 (wolfssl-5.6.4.zip) = 87a676135853abc81224c5bfdf9b9392d4d80d5e3b912e500e77eaf353e0122b0c10c8cd6b400af10d92c39cf0d8bc5a9781b4c039b7ec36313e793cbe35189d
+Size (wolfssl-5.6.4.zip) = 24103922 bytes



Home | Main Index | Thread Index | Old Index