<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src, branch libressl-v3.8.0</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.8.0</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.8.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2023-05-27T13:54:46+00:00</updated>
<entry>
<title>Bump LibreSSL version</title>
<updated>2023-05-27T13:54:46+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-27T13:54:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2f2250317843f203cc5e5a81d870b029d8c8aea9'/>
<id>urn:sha1:2f2250317843f203cc5e5a81d870b029d8c8aea9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clean up alignment handling for SHA-512.</title>
<updated>2023-05-27T09:18:17+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-05-27T09:18:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fce75c36c6fda1fa1488c600abe6490c27e90d75'/>
<id>urn:sha1:fce75c36c6fda1fa1488c600abe6490c27e90d75</id>
<content type='text'>
This recommits r1.37 of sha512.c, however uses uint8_t * instead of void *
for the crypto_load_* functions and primarily uses const uint8_t * to track
input, only casting to const SHA_LONG64 * once we know that it is suitably
aligned. This prevents the compiler from implying alignment based on type.

Tested by tb@ and deraadt@ on platforms with gcc and strict alignment.

ok tb@
</content>
</entry>
<entry>
<title>Remove malloc interposition, a workaround that was once needed for emacs</title>
<updated>2023-05-27T04:33:00+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2023-05-27T04:33:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=79242671d4fc62c0520403a6875e4c4254611365'/>
<id>urn:sha1:79242671d4fc62c0520403a6875e4c4254611365</id>
<content type='text'>
ok guenther@
</content>
</entry>
<entry>
<title>Move verified_chain from SSL to SSL_HANDSHAKE</title>
<updated>2023-05-26T13:44:05+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-26T13:44:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=33f6bc89aff8b9c4a1a456d40bfb863802115b1a'/>
<id>urn:sha1:33f6bc89aff8b9c4a1a456d40bfb863802115b1a</id>
<content type='text'>
This is a better version of the fix for the missing pointer invalidation
but a bit larger, so errata got the minimal fix.

tested by jcs
ok jsing
</content>
</entry>
<entry>
<title>Forcibly update the EVP_PKEY's internal key</title>
<updated>2023-05-25T07:46:21+00:00</updated>
<author>
<name>op</name>
<email></email>
</author>
<published>2023-05-25T07:46:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=38d31da6097a882f2d9c61b4831257122ba27fc1'/>
<id>urn:sha1:38d31da6097a882f2d9c61b4831257122ba27fc1</id>
<content type='text'>
To aid privilege separation, libtls maintains application-specific data
on the key inside the EVP_PKEY abstraction because the EVP API doesn't
provide a way to do that on the EVP_PKEY itself.

OpenSSL 3 changed behavior of EVP_PKEY_get1_RSA() and related functions.
These now return a struct from some cache.  Thus, modifying the RSA will
no longer modify the EVP_PKEY like it did previously, which was clearly
implied to be the case in the older documentation.
This is a subtle breaking change that affects several applications.

While this is documented, no real solution is provided.  The transition
plan from one OpenSSL major version to the next one tends to involve
many #ifdef in the ecosystem, and the only suggestion provided by the
new documentation is to switch to a completely unrelated, new API.

Instead, forcibly reset the internal key on EVP_PKEY after modification,
this way the change is picked up also by OpenSSL 3.

Fixes issue 1171 in OpenSMTPD-portable

ok tb@, jsing@
</content>
</entry>
<entry>
<title>Update X509_VERIFY_PARAM_inherit() to reflect the change of behavior</title>
<updated>2023-05-24T09:57:50+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-24T09:57:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=56399223febab8afe987ce313ede003d9bd49348'/>
<id>urn:sha1:56399223febab8afe987ce313ede003d9bd49348</id>
<content type='text'>
in x509_vpm.c r1.39.
</content>
</entry>
<entry>
<title>Copy the verify param hostflags independently of the host list</title>
<updated>2023-05-24T09:15:14+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-24T09:15:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cb416a0ac54838a4c54249c6c74fbaa3aafa6d6b'/>
<id>urn:sha1:cb416a0ac54838a4c54249c6c74fbaa3aafa6d6b</id>
<content type='text'>
Without this, hostflags set on the SSL_CTX would not propagate to newly
created SSL. This is surprising behavior that was changed in OpenSSL 1.1
by Christian Heimes after the issue was flagged by Quentin Pradet:
https://bugs.python.org/issue43522
This is a version of the fix that landed in OpenSSL.

There used to be a workaround in place in urllib3, but that was removed at
some point. We haven't fixed this earlier since it wasn't reported. It only
showed up after recent fallout of extraordinarily strict library checking
in urllib3 coming from their own interpretation of the implications of
PEP 644.

ok jsing
</content>
</entry>
<entry>
<title>Add a test to verify that an SSL inherits the hostflags from the SSL_CTX</title>
<updated>2023-05-24T08:54:59+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-24T08:54:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0151931d7b9060a9d578a30bd59113ee37d19c9d'/>
<id>urn:sha1:0151931d7b9060a9d578a30bd59113ee37d19c9d</id>
<content type='text'>
This is currently an expected failure that will be fixed shortly.
</content>
</entry>
<entry>
<title>Provide CRYPTO_INT for statically linking libcrypto for libssl regress</title>
<updated>2023-05-24T08:49:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-24T08:49:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c30d8915b92324dbd7b7e4ae1afec4b16a034358'/>
<id>urn:sha1:c30d8915b92324dbd7b7e4ae1afec4b16a034358</id>
<content type='text'>
This will be needed for the ssl_verify_param test
</content>
</entry>
<entry>
<title>Provide X509_VERIFY_PARAM_set_hostflags()</title>
<updated>2023-05-24T08:46:01+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-24T08:46:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=56ed6e40d9d9c7905b788e788884d3c7302807cc'/>
<id>urn:sha1:56ed6e40d9d9c7905b788e788884d3c7302807cc</id>
<content type='text'>
This is needed for an upcoming regress test that needs to access the
hostflag. This is public API in OpenSSL but since nothing seems to be
using this, this accessor will be kept internal-only for the time being.

ok jsing
</content>
</entry>
</feed>
