Up to [cvs.NetBSD.org] / pkgsrc / security / py-botan3
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Update botan3 to version 3.14.0 CVE fixes from changelog since version 3.9.0: CVE-2026-118770 Fix a use after free in the TLS asio integration which depending on application usage patterns may allow leaking heap memory to the peer. CVE-2026-118771 Fix a bug in TLS 1.3 which could allow an unauthenticated peer to pin unlimited amounts of memory in the handshake by sending many dummy ChangeCipherSpec messages. CVE-2026-118766 Fix a blind SSRF during OCSP request processing. A malicious OCSP responder or network attacker could cause the application to perform a blind GET to an internal service. CVE-2026-118765 Fix a bug in AutoSeeded_RNG, affecting only platforms without a system RNG, where an API sequence of calling first clear, followed by randomize writing to an empty buffer, resulted in the RNG object being considered seeded even though it was not. CVE-2026-104267 Fix an integer overflow in Scrypt parameter handling, affecting 32-bit platforms. CVE-2026-48057 Fix a bug where certain DN name constraints were not correctly enforced. CVE-2026-118769 Fix an integer overflow in the FFI interface which might be exploitable in unusual scenarios involving attacker-control cipher specifiers and the raw block cipher (ECB) APIs. CVE-2026-44378: Resolve a CPU based denial of service when decoding BER encoded data. CVE-2026-34582: Resolve TLS 1.3 client authentication bypass CVE-2026-32877: Fix a heap over-read during SM2 decryption CVE-2026-32883: Fix an OCSP response forgery vulnerability CVE-2026-32884: Fix a name constraints bypass for DNS names
Revbump for Boost 1.92.0
revbump for boost-libs
botan3 py-botan3: updated to 3.9.0 3.9.0 Add SHA-1 implementation using AVX2/BMI2 Add Camellia implementation using GFNI/AVX2 Add SHACAL2 implementation using AVX512 The eFrodoKEM TLS 1.3 ciphersuites have changed the suite code to match changes in OQS. Add support for TLS 1.2 NULL cipher suites. These suites are disabled in the build by default, enable tls_null module to use. Add support for X.509 extensions from RFC 3779 Elliptic curve improvements Add EC_Scalar::hash following RFC 9380’s hash_to_field Modify the OID lookup system to use a static switch for builtin OIDs. Optimizations for X448 and Ed448 Modify BOTAN_CLEAR_CPUID so that clearing ssse3 also disables AVX2/AVX512 Remove various internal references to “EMSA”, an obsolete term used for RSA signature padding that originates from IEEE 1363. Enable support for GCC’s “strub” stack clearing. This is disabled by default, use the --enable-stack-scrubbing option to turn on. Use std::span in the internal block cipher padding mode interfaces Properly check DNS label length restrictions when checking wildcards. Work around a GCC 13/14 miscompilation when LTO is used Fix a bug preventing building System_RNG with only getrandom enabled. Document the specific threat model the library uses Remove configure.py options to disable specific CPU instructions. Remove configure.py option --with-local-config Add a better interface for encoding optional ASN.1 elements using std::optional Internal cleanups relating to multiprecision integers Resolve many warnings from clang-tidy CMake improvements CI improvements
*: recursive bump for boost 1.89
revbump after updating boost
*: Recursive revbump from Boost 1.86.0
*botan3: update to 3.3.0 Version 3.3.0, 2024-02-20 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * Fix a potential denial of service caused by accepting arbitrary length primes as potential elliptic curve parameters in ASN.1 encodings. With very large inputs the primality verification can become computationally expensive. Now any prime field larger than 1024 bits is rejected immediately. Reported by Bing Shi. (GH #3913) * Add FrodoKEM post-quantum KEM (GH #3679 #3807 #3892) * Add support for Blake2s (GH #3796) * Add support for RFC 7250 in TLS 1.3 to allow authenticating peers using raw public keys (GH #3771) * Update the BSI TLS policy to match the latest TR, particularly enabling support for TLS 1.3 (GH #3809) * Add AsymmetricKey::generate_another() to generate a new key of the same type and parameters as an existing key (GH #3770 #3786) * Add Private_Key::remaining_operations() that indicates the number of remaining signatures for stateful hash-based signatures (GH #3821) * Add implementation of EC_PrivateKey::check_key() (GH #3782 #3804) * Add hardware acceleration for SHA-512 on ARMv8 (GH #3860 #3864) * X.509 certificates that contain Authority Information Access (AIA) extensions can now be encoded (GH #3784) * Various functions defined in ``mem_ops.h`` are now deprecated for public use (GH #3759 #3752 #3757) * The ASIO TLS stream can now be used with C++20 coroutines (GH #3764) * New public header asio_compat.h to check compatibility of the ASIO TLS stream with the available boost version (1.73.0+) (GH #3765) * Flatten input buffer sequences in the ASIO TLS stream to avoid creating unnecessarily small TLS records (GH #3839) * Hard-rename the potentially harmful build configuration flag --terminate-on-asserts to --unsafe-terminate-on-asserts (GH #3755) * Use modern SQLite3 APIs with integer width annotations from SQLite3 3.37 (GH #3788 #3793) * Generate and install a CMake package config file (botan-config.cmake) (GH #3722 #3827 #3830 #3825) * Add TLS::Channel::is_handshake_complete() predicate method (GH #3762) * Add support for setting thread names on Haiku OS and DragonflyBSD (GH #3758 #3785) * Use /Zc:throwingNew with MSVC (GH #3858) * Work around a warning in GCC 13 (GH #3852) * Add a CLI utility for testing RSA side channels using the MARVIN toolkit (GH #3749) * CLI utility 'tls_http_server' is now based on Boost Beast (GH #3763 #3791) * CLI utility 'tls_client_hello' can detect and handle TLS 1.3 messages (GH #3820) * Add a detailed migration guide for users of OpenSSL 1.1 (GH #3815) * Various updates to the documentation and code examples (GH #3777 #3805 #3802 #3794 #3815 #3823 #3828 #3842 #3841 #3849 #3745) * Fixes and improvements to the build experience using ``ninja`` (GH #3751 #3750 #3769 #3798 #3848) * Fix handling of cofactors when performing scalar blinding in EC (GH #3803) * Fix potential timing side channels in Kyber (GH #3846 #3874) * Fix a potential dangling reference resulting in a crash in the OCB mode of operation (GH #3814) * Fix validity checks in the construction of the ASIO TLS stream (GH #3766) * Fix error code handling in ASIO TLS stream (GH #3795 #3801 #3773) * Fix a TLS 1.3 assertion failure that would trigger if the application callback returned an empty certificate chain. (GH #3754) * Fix a RFC 7919 conformance bug introduced in 3.2.0, where the TLS server would fail to reject a client hello that advertised (only) FFDHE groups that are not known to us. (GH #3743 #3742 #3729) * Fix that modifications made in TLS::Callbacks::tls_modify_extensions() for the TLS 1.3 Certificate message were not being applied. (GH #3792) * Fix string mapping of the PKCS#11 mechanism RSA signing mechanism that use SHA-384 (GH #3868) * Fix a build issue on NetBSD (GH #3767) * Fix the configure.py to avoid recursing out of our source tree (GH #3748) * Fix various clang-tidy warnings (GH #3822) * Fix CLI tests on windows and enable them in CI (GH #3845) * Use ``BufferStuffer`` and ``concat`` helpers in public key code (GH #3756 #3753) * Add a nightly test to ensure hybrid TLS 1.3 PQ/T compatibility with external implementations (GH #3740) * Internal memory operation helpers are now memory container agnostic using C++20 ranges (GH #3715 #3707) * Public and internal headers are now clearly separated in the build directory. That restricts the examples build target to public headers. (GH #3880) * House keeping for better code formatting with clang-format (GH #3862 #3865) * Build documentation in CI and fail on warnings or errors (GH #3838) * Work around a GitHub Actions CI issue (actions/runner-images#8659) (GH #3783 #3833 #3888)
revbump for boost-libs
py-botan3: fix PLIST and set correct interpreter
Add py-botan3 version 3.0.0 Python bindings for botan3. Using a separate package for the python binding makes it possible to install for more than one python version.