<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/ssl_seclevel.c, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-01-18T10:52:09+00:00</updated>
<entry>
<title>ssl_seclevel: remove comment pertaining to DSA certs</title>
<updated>2025-01-18T10:52:09+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-01-18T10:52:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b12f6c726e20d0470b7a6a901e715a55070c47be'/>
<id>urn:sha1:b12f6c726e20d0470b7a6a901e715a55070c47be</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>libssl: rework cert signature security level</title>
<updated>2024-10-17T06:19:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-10-17T06:19:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3b3dd97a87b8d106bf71e76cb58356a4fd3ae645'/>
<id>urn:sha1:3b3dd97a87b8d106bf71e76cb58356a4fd3ae645</id>
<content type='text'>
This switches to using the X509_get_signature_info() API instead of hand
rolling a part of it. This is slightly tangly since the security level API
is strange. In particular, some failures are passed to the security level
callback so that applications can override them.

This makes the security level API handle RSA-PSS and EdDSA certificates
correctly and the handshake with such can progress a bit further. Of note,
we check that the certs are actually suitable for use in TLS per RFC 8446
contrary to what OpenSSL does.

ok beck jsing
</content>
</entry>
<entry>
<title>Plug a "leak" in ssl_security_group()</title>
<updated>2024-05-09T07:12:03+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-05-09T07:12:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7bb73306dd0a7d329d74b98508cca5d144841f0b'/>
<id>urn:sha1:7bb73306dd0a7d329d74b98508cca5d144841f0b</id>
<content type='text'>
The way the CBB API is used, CBB_add_u16() and CBB_finish() can't actually
fail here, but if they could, cbb-&gt;base would leak. Rewrite this code with
the proper idioms to make it look right.

ok jsing
</content>
</entry>
<entry>
<title>Make internal header file names consistent</title>
<updated>2022-11-26T16:08:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-26T16:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=81d98bf600a381a625eb11b39a725b08c0ba547f'/>
<id>urn:sha1:81d98bf600a381a625eb11b39a725b08c0ba547f</id>
<content type='text'>
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.

Adjust all .c files in libcrypto, libssl and regress.

The diff is mechanical with the exception of tls13_quic.c, where
#include &lt;ssl_locl.h&gt; was fixed manually.

discussed with jsing,
no objection bcook
</content>
</entry>
<entry>
<title>Get rid of SSL_CTX_INTERNAL and SSL_INTERNAL.</title>
<updated>2022-10-02T16:36:42+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-10-02T16:36:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=efde998d3821e41e124a4bfcdf103e506055fc52'/>
<id>urn:sha1:efde998d3821e41e124a4bfcdf103e506055fc52</id>
<content type='text'>
These are no longer necessary due to SSL_CTX and SSL now being fully
opaque. Merge SSL_CTX_INTERNAL back into SSL_CTX and SSL_INTERNAL back
into SSL.

Prompted by tb@
</content>
</entry>
<entry>
<title>Provide ssl_security_shared_group()</title>
<updated>2022-08-17T18:41:17+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-08-17T18:41:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=67d1268520f048f726db1405c371a8462036f2a0'/>
<id>urn:sha1:67d1268520f048f726db1405c371a8462036f2a0</id>
<content type='text'>
Refactor ssl_security_supported_group() into a wrapper of a new internal
ssl_security_group() which takes a secop as an argument. This allows
adding ssl_security_shared_group() which will be needed in upcoming
commits.

ok jsing
</content>
</entry>
<entry>
<title>update copyright years</title>
<updated>2022-07-30T17:26:01+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-30T17:26:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=193cb191256999fd1e30b1208bcabc5c49a02538'/>
<id>urn:sha1:193cb191256999fd1e30b1208bcabc5c49a02538</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Disallow MD5 and SHA-1 HMACs depending on the security level</title>
<updated>2022-07-19T18:55:12+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-19T18:55:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a2cde368c6a116181ea0786206cdfed562b4aa65'/>
<id>urn:sha1:a2cde368c6a116181ea0786206cdfed562b4aa65</id>
<content type='text'>
Ciphers using an MD5 HMAC are not allowed on security levels &gt;= 1 and
using a SHA-1 HMAC is disallowed on security levels &gt;= 4. This disables
RC4-MD5 by default.

ok jsing
</content>
</entry>
<entry>
<title>Use a local bits variable to avoid ugly line break due to nested function</title>
<updated>2022-07-07T17:08:28+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-07T17:08:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=164b82613a6ffdefe8f7ea9baa200dc4f753a173'/>
<id>urn:sha1:164b82613a6ffdefe8f7ea9baa200dc4f753a173</id>
<content type='text'>
calls.

ok jsing
</content>
</entry>
<entry>
<title>Unifdef LIBRESSL_HAS_SECURITY_LEVEL and remove some workarounds</title>
<updated>2022-07-07T13:04:39+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-07T13:04:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=398e5c0b9ea0e70d67c6c96abd3439afa327d8fb'/>
<id>urn:sha1:398e5c0b9ea0e70d67c6c96abd3439afa327d8fb</id>
<content type='text'>
that are no longer needed now that libcrypto exposes the necessary
security-bits API.

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