Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751532 - dev-libs/libressl-3.2.2 version bump
Summary: dev-libs/libressl-3.2.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LibreSSL
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-28 04:33 UTC by David Duchesne
Modified: 2020-11-02 09:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Duchesne 2020-10-28 04:33:59 UTC
dev-libs/libressl-3.2.2 is out

Changelog :
This is the first stable release from the 3.2 series, which is included
with OpenBSD 6.8. It includes the following changes from LibreSSL 3.2.1

    * This is the first stable release with the new TLSv1.3
      implementation enabled by default for both client and server. The
      OpenSSL 1.1 TLSv1.3 API is not yet available and will be provided
      in an upcoming release.

    * New X509 certificate chain validator that correctly handles
      multiple paths through intermediate certificates. Loosely based on
      Go's X509 validator.

    * New name constraints verification implementation which passes the
      bettertls.com certificate validation check suite.

    * Improve the handling of BIO_read()/BIO_write() failures in the
      TLSv1.3 stack.

    * Start replacing the existing TLSv1.2 record layer.

    * Define OPENSSL_NO_SSL_TRACE in opensslfeatures.h.

    * Make SSL_CTX_get_ciphers(NULL) return NULL rather than crash.

    * Send alert on ssl_get_prev_session() failure.

    * Zero out variable on the stack to avoid leaving garbage in the tail
      of short session IDs.

    * Move state initialization from SSL_clear() to ssl3_clear() to ensure
      that it gets correctly reinitialized across a SSL_set_ssl_method()
      call.

    * Avoid an out-of-bounds write in BN_rand().

    * Fix numerous leaks in the UI_dup_* functions. Simplify and tidy up
      the code in ui_lib.c.

    * Correctly track selected ALPN length to avoid a potential segmentation
      fault with SSL_get0_alpn_selected() when alpn_selected is NULL.

    * Include machine/endian.h gost2814789.c in order to pick up the
      __STRICT_ALIGNMENT define.

    * Simplify SSL method lookups.

    * Clean up and simplify SSL_get_ciphers(), SSL_set_session(),
      SSL_set_ssl_method() and several internal functions.

    * Correctly handle ssl_cert_dup() failure in SSL_set_SSL_CTX().

    * Refactor dtls1_new(), dtls1_hm_fragment_new(),
      dtls1_drain_fragments(), dtls1_clear_queues().

    * Copy the session ID directly in ssl_get_prev_session() instead of
      handing it through several functions for copying.

    * Clean up and refactor ssl_get_prev_session(); simplify
      tls_decrypt_ticket() and tls1_process_ticket() exit paths.

    * Avoid memset() before memcpy() in CBS_add_bytes().

    * Rewrite X509_INFO_{new,free}() more idiomatically.

    * Remove unnecessary zeroing after recallocarray() in
      ASN1_BIT_STRING_set_bit().

    * Convert openssl(1) ocsp new option handling.

    * Document SSL_set1_host(3), SSL_set_SSL_CTX(3).

    * Document return value from EC_KEY_get0_public_key(3).

    * Greatly expanded test coverage via the tlsfuzzer test scripts.

    * Expanded test coverage via the bettertls certificate test suite.

    * Test interoperability with the Botan TLS client.

    * Make pthread_mutex static initialisation work on Windows.

    * Get __STRICT_ALIGNMENT from machine/endian.h with portable build.
Comment 1 Stefan Strogin gentoo-dev 2020-10-28 17:09:29 UTC
Needs patching
Comment 2 Joe Kappus 2020-11-02 06:15:27 UTC
Here's the patch needed: https://github.com/libressl-portable/portable/commit/1c023edb2a3488906d0b8435fcc4dc7f925bda3a.patch

Tested, works, and it's included in upstream.
Comment 3 Larry the Git Cow gentoo-dev 2020-11-02 09:55:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f4eb2c0233265332d3725e4658f5c616936148e

commit 4f4eb2c0233265332d3725e4658f5c616936148e
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2020-11-02 09:27:49 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2020-11-02 09:55:24 +0000

    dev-libs/libressl: fix building with USE=-static-libs
    
    Closes: https://bugs.gentoo.org/751532
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 dev-libs/libressl/files/libressl-3.2.2-build.patch | 56 ++++++++++++++++++++++
 dev-libs/libressl/libressl-3.2.2.ebuild            |  1 +
 2 files changed, 57 insertions(+)