Up to [cvs.NetBSD.org] / pkgsrc / security / botan2
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
botan2: updated to 2.19.5 Version 2.19.5, 2024-07-08 * A reminder that Botan2 reaches end of life at the end of 2024 * CVE-2024-34702: Fix a DoS caused by excessive name constraints. * CVE-2024-39312: Fix a name constraint processing error, where if permitted and excluded rules both applied to a certificate, only the permitted rules would be checked. * Fix a crash in OCB * During certificate verification, first verify the entire chain of certificates, then perform other validation. * Fix a test failure in compression with certain versions of zlib * Fix some iterator debugging errors in TLS CBC decryption. * Avoid a miscompilation in ARIA when using XCode 14
Update botan2 to version 2.19.4 Pkgsrc changes: Add pkg-config override. Changes From changelog: * 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 #3914) * Switch to using a constant time binary algorithm for computing GCD (GH #3912) * Fix a bug in SHAKE_Cipher which could cause incorrect output if set_key was called multiple times. (GH #3192) * Fix a bug in RSA-KEM encryption where the shared secret key was incorrectly not padded to exactly the byte length of the modulus. This would cause an incorrect shared key with ~1/256 probability. (GH #3380) * In RSA decryption and signature verification, reject bytestrings which are longer than the public modulus. Previously, otherwise valid signatures/ciphertexts with additional leading zero bytes would also be accepted. (GH #3380) * Add support for short nonces in XTS (GH #3384 #3336) * Fix NIST keywrap which was incorrect when wrapping 64-bit keys (GH #3384 #3340) * Fix nonce handling bug in EAX (GH #3382 #3335) * Fix a bug in PKCS11 AttributeContainer where adding an attribute that already existed could cause incorrect references to the existing attributes. (GH #3185) * Apply patches which allow GCC 4.7 to compile Botan 2.x. Previously at least GCC 4.8 had been required. (GH #3273) * Fix a build time problem affecting VCpkg (GH #3071) * Fix a build problem affecting Windows ARM with Visual C++ (GH #3871)
botan: update to 2.19.3. Version 2.19.3, 2022-11-16 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * CVE-2022-43705: A malicious OCSP responder could forge OCSP responses due to a failure to validate that an embedded certificate was issued by the end-entity issuing certificate authority.
botan: update to 2.19.2. Version 2.19.2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * Add support for parallel computation in Argon2 (GH #2937 #2926) * Add SSSE3 implementation of Argon2 (GH #2937 #2927) * The OpenSSL provider was incompatible with OpenSSL 3.0. It has been removed (GH #2902) * Avoid using reserve in secure_vector appending, which caused a performance problem (GH #2945 #2920) * Fix TLS::Text_Policy behavior when X25519 is disabled at build time (GH #2894) * Fix several warnings from Clang (#2888 #2886)
security/botan2: import botan-2.19.1 Reimported from security/botan-devel. Botan is a crypto library written in C++. It provides a variety of cryptographic algorithms, including common ones such as AES, MD5, SHA, HMAC, RSA, Diffie-Hellman, DSA, and ECDSA, as well as many others that are more obscure or specialized. It also offers X.509v3 certificates and CRLs, and PKCS #10 certificate requests. A message processing system that uses a filter/pipeline metaphor allows for many common cryptographic tasks to be completed with just a few lines of code. Assembly optimizations for common CPUs, including x86, x86-64, and PowerPC, offers further speedups for critical tasks such as SHA-1 hashing and multiple precision integer operations. This package contains major version 2 of the library. The version contains a much improved TLS infrastructure. It also depends on C++11.