Thu Oct 19 15:17:21 2023 UTC ()
botan3: update to 3.2.0.

Version 3.2.0, 2023-10-09
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* Add support for (experimental!) post-quantum secure key exchange
  in TLS 1.3 (GH #3609 #3732 #3733 #3739)

* Add support for TLS PSK (GH #3618)

* Add a first class interface for XOFs (GH #3671 #3672 #3701)

* Add KMAC from NIST SP 800-185 (GH #3689)

* Add cSHAKE XOF; currently this is not exposed to library users but
  is only for deriving further cSHAKE derived functions. (GH #3671)

* Add improved APIs for key encapsulation (GH #3611 #3652 #3653)

* As Kyber's 90s mode is not included in the NIST draft specification,
  and most implementations only support the SHAKE based mechanism,
  the Kyber 90s mode is now deprecated. (GH #3695)

* Previously ``KyberMode`` enums had elements like ``Kyber512`` to identify the
  scheme. These have changed to have ``_R3`` suffixes (like ``Kyber512_R3``) to
  clearly indicate these are not the final version but is instead the version
  from round3 of the PQC competition. The old names continue on as (deprecated)
  aliases. (GH #3695)

* Fix bugs in various signature algorithms where if a signature
  operation was used after the key object had been deleted, a use
  after free would occur. (GH #3702)

* The types defined in pubkey.h can now be moved (GH #3655)

* Add the Russian block cipher Kuznyechik (GH #3680 #3724)

* The ``TLS::Group_Params`` enum is now a class which emulates the
  behavior of the enumeration. (GH #3729)

* Implement serialization for the Certificate Authority TLS extension
  (GH #3687)

* Refactored the internal buffering logic of most hash functions
  (GH #3705 #3693 #3736)

* Add OS support for naming threads; now Botan thread pool threads
  are identified by name. (GH #3628 #3738)

* Updated the TLS documentation to reflect TLS 1.3 support and
  the removal of TLS 1.0 and 1.1. (GH #3708)

* Upon deserialization, the ``EC_Group`` type now tracks the encoding
  which was used to create it. This is necessary to implement policies
  which prohibit use of explicit curve encodings (which are in any case
  deprecated). (GH #3665)

* If compiling against an old glibc which does not support the ``getrandom``
  call, now the raw syscall is used instead. (GH #3688 #3685)

* On MinGW the global thread pool is disabled by default (GH #3726 #2582)

* Various internal functions now use ``std::span`` instead of raw pointers
  plus length field. NOTE: any implementations of ``BlockCipher``, ``HashFunction``
  etc that live outside the library will have to be updated. This is not covered
  by the SemVer guarantee; see ``doc/sem_ver.rst`` (GH #3684 #3681 #3713 #3714
  #3698 #3696)

* Add helper for buffer alignment, and adopt it within the hash function
  implementations. (GH #3693)

* Added support for encoding CRL Distribution Points extension in new
  certificates (GH #3712)

* Internal refactoring of SHA-3 to support further SHA-3 derived functionality
  (GH #3673)

* Add support for testing using TLS-Anvil (GH #3651) and fix a few cases
  where the TLS implementation sent the incorrect alert type in various
  error cases which were discovered using TLS-Anvil (GH #3676)

* Add initial (currently somewhat experimental) support for using the ninja
  build system as an alternative to make. (GH #3677)

* Remove an unused variable in BLAKE2b (GH #3624)

* Fix a number of clang-tidy warnings in the headers (GH #3646)

* Add checks for invalid length AD in Argon2 (GH #3626)

* CI now uses Android NDK 26, and earlier NDKs are not supported
  due to limitations of the C++ library in earlier NDKs (GH #3718)

* Improve support for IBM's XLC compiler (GH #3730)

* Avoid compilation failures when using ``-Werror`` mode with GCC 12
  due to spurious warnings in that version. (GH #3711 #3709)


(wiz)
diff -r1.3 -r1.4 pkgsrc/security/botan3/Makefile.common
diff -r1.3 -r1.4 pkgsrc/security/botan3/PLIST
diff -r1.2 -r1.3 pkgsrc/security/botan3/distinfo
diff -r0 -r1.1 pkgsrc/security/botan3/patches/patch-src_lib_utils_os__utils.cpp
Fri Oct 20 00:17:21 2023
Thu Jan 1 09:00:00 1970
pkgsrc/security/botan3/patches/patch-src_lib_utils_os__utils.cpp,v

anoncvs not yet been updated

cvs diff -r1.3 -r1.4 pkgsrc/security/botan3/Makefile.common (expand / switch to unified diff)

--- pkgsrc/security/botan3/Makefile.common 2023/09/09 16:30:44 1.3
+++ pkgsrc/security/botan3/Makefile.common 2023/10/19 15:17:20 1.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.common,v 1.3 2023/09/09 16:30:44 wiz Exp $ 1# $NetBSD: Makefile.common,v 1.4 2023/10/19 15:17:20 wiz Exp $
2# used by security/py-botan3/Makefile 2# used by security/py-botan3/Makefile
3 3
4DISTNAME= Botan-3.1.1 4DISTNAME= Botan-3.2.0
5CATEGORIES= security 5CATEGORIES= security
6MASTER_SITES= https://botan.randombit.net/releases/ 6MASTER_SITES= https://botan.randombit.net/releases/
7EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
8 8
9MAINTAINER= nros@NetBSD.org 9MAINTAINER= nros@NetBSD.org
10HOMEPAGE= https://botan.randombit.net/ 10HOMEPAGE= https://botan.randombit.net/
11LICENSE= 2-clause-bsd 11LICENSE= 2-clause-bsd
12 12
13DISTINFO_FILE= ${.CURDIR}/../../security/botan3/distinfo 13DISTINFO_FILE= ${.CURDIR}/../../security/botan3/distinfo
14PATCHDIR= ${.CURDIR}/../../security/botan3/patches 14PATCHDIR= ${.CURDIR}/../../security/botan3/patches

cvs diff -r1.3 -r1.4 pkgsrc/security/botan3/PLIST (expand / switch to unified diff)

--- pkgsrc/security/botan3/PLIST 2023/08/24 06:33:10 1.3
+++ pkgsrc/security/botan3/PLIST 2023/10/19 15:17:20 1.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.3 2023/08/24 06:33:10 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.4 2023/10/19 15:17:20 wiz Exp $
2bin/botan3 2bin/botan3
3include/botan-3/botan/aead.h 3include/botan-3/botan/aead.h
4include/botan-3/botan/argon2.h 4include/botan-3/botan/argon2.h
5include/botan-3/botan/argon2fmt.h 5include/botan-3/botan/argon2fmt.h
6include/botan-3/botan/asio_async_ops.h 6include/botan-3/botan/asio_async_ops.h
7include/botan-3/botan/asio_context.h 7include/botan-3/botan/asio_context.h
8include/botan-3/botan/asio_error.h 8include/botan-3/botan/asio_error.h
9include/botan-3/botan/asio_stream.h 9include/botan-3/botan/asio_stream.h
10include/botan-3/botan/asn1_obj.h 10include/botan-3/botan/asn1_obj.h
11include/botan-3/botan/asn1_print.h 11include/botan-3/botan/asn1_print.h
12include/botan-3/botan/assert.h 12include/botan-3/botan/assert.h
13include/botan-3/botan/auto_rng.h 13include/botan-3/botan/auto_rng.h
14include/botan-3/botan/base32.h 14include/botan-3/botan/base32.h
@@ -126,26 +126,27 @@ include/botan-3/botan/stream_cipher.h @@ -126,26 +126,27 @@ include/botan-3/botan/stream_cipher.h
126include/botan-3/botan/strong_type.h 126include/botan-3/botan/strong_type.h
127include/botan-3/botan/sym_algo.h 127include/botan-3/botan/sym_algo.h
128include/botan-3/botan/symkey.h 128include/botan-3/botan/symkey.h
129include/botan-3/botan/system_rng.h 129include/botan-3/botan/system_rng.h
130include/botan-3/botan/tls.h 130include/botan-3/botan/tls.h
131include/botan-3/botan/tls_alert.h 131include/botan-3/botan/tls_alert.h
132include/botan-3/botan/tls_algos.h 132include/botan-3/botan/tls_algos.h
133include/botan-3/botan/tls_callbacks.h 133include/botan-3/botan/tls_callbacks.h
134include/botan-3/botan/tls_channel.h 134include/botan-3/botan/tls_channel.h
135include/botan-3/botan/tls_ciphersuite.h 135include/botan-3/botan/tls_ciphersuite.h
136include/botan-3/botan/tls_client.h 136include/botan-3/botan/tls_client.h
137include/botan-3/botan/tls_exceptn.h 137include/botan-3/botan/tls_exceptn.h
138include/botan-3/botan/tls_extensions.h 138include/botan-3/botan/tls_extensions.h
 139include/botan-3/botan/tls_external_psk.h
139include/botan-3/botan/tls_handshake_msg.h 140include/botan-3/botan/tls_handshake_msg.h
140include/botan-3/botan/tls_magic.h 141include/botan-3/botan/tls_magic.h
141include/botan-3/botan/tls_messages.h 142include/botan-3/botan/tls_messages.h
142include/botan-3/botan/tls_policy.h 143include/botan-3/botan/tls_policy.h
143include/botan-3/botan/tls_psk_identity_13.h 144include/botan-3/botan/tls_psk_identity_13.h
144include/botan-3/botan/tls_server.h 145include/botan-3/botan/tls_server.h
145include/botan-3/botan/tls_server_info.h 146include/botan-3/botan/tls_server_info.h
146include/botan-3/botan/tls_session.h 147include/botan-3/botan/tls_session.h
147include/botan-3/botan/tls_session_manager.h 148include/botan-3/botan/tls_session_manager.h
148include/botan-3/botan/tls_session_manager_hybrid.h 149include/botan-3/botan/tls_session_manager_hybrid.h
149include/botan-3/botan/tls_session_manager_memory.h 150include/botan-3/botan/tls_session_manager_memory.h
150include/botan-3/botan/tls_session_manager_noop.h 151include/botan-3/botan/tls_session_manager_noop.h
151include/botan-3/botan/tls_session_manager_sql.h 152include/botan-3/botan/tls_session_manager_sql.h
@@ -157,32 +158,33 @@ include/botan-3/botan/tss.h @@ -157,32 +158,33 @@ include/botan-3/botan/tss.h
157include/botan-3/botan/types.h 158include/botan-3/botan/types.h
158include/botan-3/botan/uuid.h 159include/botan-3/botan/uuid.h
159include/botan-3/botan/version.h 160include/botan-3/botan/version.h
160include/botan-3/botan/x509_ca.h 161include/botan-3/botan/x509_ca.h
161include/botan-3/botan/x509_crl.h 162include/botan-3/botan/x509_crl.h
162include/botan-3/botan/x509_ext.h 163include/botan-3/botan/x509_ext.h
163include/botan-3/botan/x509_key.h 164include/botan-3/botan/x509_key.h
164include/botan-3/botan/x509_obj.h 165include/botan-3/botan/x509_obj.h
165include/botan-3/botan/x509cert.h 166include/botan-3/botan/x509cert.h
166include/botan-3/botan/x509path.h 167include/botan-3/botan/x509path.h
167include/botan-3/botan/x509self.h 168include/botan-3/botan/x509self.h
168include/botan-3/botan/xmss.h 169include/botan-3/botan/xmss.h
169include/botan-3/botan/xmss_parameters.h 170include/botan-3/botan/xmss_parameters.h
 171include/botan-3/botan/xof.h
170include/botan-3/botan/zfec.h 172include/botan-3/botan/zfec.h
171include/botan-3/botan/zlib.h 173include/botan-3/botan/zlib.h
172lib/libbotan-3.a 174lib/libbotan-3.a
173lib/libbotan-3.so 175lib/libbotan-3.so
174lib/libbotan-3.so.0 176lib/libbotan-3.so.2
175lib/libbotan-3.so.0.1.1 177lib/libbotan-3.so.2.2.0
176lib/pkgconfig/botan-3.pc 178lib/pkgconfig/botan-3.pc
177share/doc/${PKGNAME}/authors.txt 179share/doc/${PKGNAME}/authors.txt
178share/doc/${PKGNAME}/handbook/abi.rst 180share/doc/${PKGNAME}/handbook/abi.rst
179share/doc/${PKGNAME}/handbook/api_ref/bigint.rst 181share/doc/${PKGNAME}/handbook/api_ref/bigint.rst
180share/doc/${PKGNAME}/handbook/api_ref/block_cipher.rst 182share/doc/${PKGNAME}/handbook/api_ref/block_cipher.rst
181share/doc/${PKGNAME}/handbook/api_ref/cipher_modes.rst 183share/doc/${PKGNAME}/handbook/api_ref/cipher_modes.rst
182share/doc/${PKGNAME}/handbook/api_ref/compression.rst 184share/doc/${PKGNAME}/handbook/api_ref/compression.rst
183share/doc/${PKGNAME}/handbook/api_ref/contents.rst 185share/doc/${PKGNAME}/handbook/api_ref/contents.rst
184share/doc/${PKGNAME}/handbook/api_ref/credentials_manager.rst 186share/doc/${PKGNAME}/handbook/api_ref/credentials_manager.rst
185share/doc/${PKGNAME}/handbook/api_ref/cryptobox.rst 187share/doc/${PKGNAME}/handbook/api_ref/cryptobox.rst
186share/doc/${PKGNAME}/handbook/api_ref/ecc.rst 188share/doc/${PKGNAME}/handbook/api_ref/ecc.rst
187share/doc/${PKGNAME}/handbook/api_ref/env_vars.rst 189share/doc/${PKGNAME}/handbook/api_ref/env_vars.rst
188share/doc/${PKGNAME}/handbook/api_ref/ffi.rst 190share/doc/${PKGNAME}/handbook/api_ref/ffi.rst

cvs diff -r1.2 -r1.3 pkgsrc/security/botan3/distinfo (expand / switch to unified diff)

--- pkgsrc/security/botan3/distinfo 2023/08/24 06:33:10 1.2
+++ pkgsrc/security/botan3/distinfo 2023/10/19 15:17:20 1.3
@@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
1$NetBSD: distinfo,v 1.2 2023/08/24 06:33:10 wiz Exp $ 1$NetBSD: distinfo,v 1.3 2023/10/19 15:17:20 wiz Exp $
2 2
3BLAKE2s (Botan-3.1.1.tar.xz) = 303e3b1357c300f7c648b9ed5e642b6d9ea0bd8e93f2866fa88ddbc4d6cfba50 3BLAKE2s (Botan-3.2.0.tar.xz) = cdcb67817ff32606c6649d936af56c0e997d5eed93eb4a2460372fbfa513d88e
4SHA512 (Botan-3.1.1.tar.xz) = ed6bdadb910b0775245648140212953ed364aa26107f851e39ac5cb664d7f476c519a22cdad41f0e520796c4ebe453c56ca68a2178e39f815d445e9979333795 4SHA512 (Botan-3.2.0.tar.xz) = 526cf71144584fef6e73f14f6aa1e2a7b03a92a3e51436287764bb61e742a94e02926bcc2aab038f08ef2169cb511152c8ecd71d51e06deb4875dc676875c2d9
5Size (Botan-3.1.1.tar.xz) = 8800368 bytes 5Size (Botan-3.2.0.tar.xz) = 8998204 bytes
 6SHA1 (patch-src_lib_utils_os__utils.cpp) = 057756a0a44778ad2fe87e054a1e1d02f9fe8849
6SHA1 (patch-src_scripts_install.py) = c8ac2a6315e0e53a0292447e8e6b967572de9d24 7SHA1 (patch-src_scripts_install.py) = c8ac2a6315e0e53a0292447e8e6b967572de9d24

File Added: pkgsrc/security/botan3/patches/patch-src_lib_utils_os__utils.cpp