<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/tls13_internal.h, branch OPENBSD_7_9_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-03-09T15:12:18+00:00</updated>
<entry>
<title>Support OPENSSL_NO_FILENAMES</title>
<updated>2025-03-09T15:12:18+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-03-09T15:12:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b8acfd2983c50474382bf8ed132a5b7e7bdedb34'/>
<id>urn:sha1:b8acfd2983c50474382bf8ed132a5b7e7bdedb34</id>
<content type='text'>
Some people are concerned that leaking a user name is a privacy issue.
Allow disabling the __FILE__ and __LINE__ argument in the error stack
to avoid this. This can be improved a bit in tree.

From Viktor Szakats in https://github.com/libressl/portable/issues/761

ok bcook jsing
</content>
</entry>
<entry>
<title>Add and use tls13_record_layer_alert_sent()</title>
<updated>2024-09-09T03:32:29+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-09-09T03:32:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=461979ad807ebd887bb629ba3072f150b5390cd2'/>
<id>urn:sha1:461979ad807ebd887bb629ba3072f150b5390cd2</id>
<content type='text'>
This is a small refactoring that wraps a direct call to the record layer's
alert_sent() callback into a handler for upcoming reuse in the QUIC code.

No functional change.

ok jsing
</content>
</entry>
<entry>
<title>Make tls13_legacy_return_code() static.</title>
<updated>2024-01-27T14:31:01+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-01-27T14:31:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=45ebc1fd8bf20df5839902550fef5aeb0e072ec5'/>
<id>urn:sha1:45ebc1fd8bf20df5839902550fef5aeb0e072ec5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add message callbacks for alerts in the TLSv1.3 stack.</title>
<updated>2024-01-27T14:23:51+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-01-27T14:23:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9f10df8c2961b5d22fbb67942ef04e74ea843ece'/>
<id>urn:sha1:9f10df8c2961b5d22fbb67942ef04e74ea843ece</id>
<content type='text'>
This will make it easier to regress test shutdown behaviour in the TLSv1.3
stack. Additionally, `openssl -msg` now shows alerts for TLSv1.3
connections.

ok tb@
</content>
</entry>
<entry>
<title>Provide record layer callbacks for QUIC.</title>
<updated>2022-07-24T14:28:16+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-07-24T14:28:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2c5937ccb88658c18243c49fc57c58b62e344235'/>
<id>urn:sha1:2c5937ccb88658c18243c49fc57c58b62e344235</id>
<content type='text'>
QUIC uses TLS to complete the handshake, however unlike normal TLS it does
not use the TLS record layer, rather it provides its own transport. This
means that we need to intercept all communication between the TLS handshake
and the record layer. This allows TLS handshake message writes to be
directed to QUIC, likewise for TLS handshake message reads. Alerts also
need to be sent via QUIC, plus it needs to be provided with the traffic
keys that are derived by TLS.

ok tb@
</content>
</entry>
<entry>
<title>Provide QUIC encryption levels.</title>
<updated>2022-07-24T14:16:29+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-07-24T14:16:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8e1be2bf4fabd0e39f3d547284095e5c4610e056'/>
<id>urn:sha1:8e1be2bf4fabd0e39f3d547284095e5c4610e056</id>
<content type='text'>
QUIC wants to know what "encryption level" handshake messages should be
sent at. Provide an ssl_encryption_level_t enum (via BoringSSL) that
defines these (of course quictls decided to make this an
OSSL_ENCRYPTION_LEVEL typedef, so provide that as well).

Wire these through to tls13_record_layer_set_{read,write}_traffic_key() so
that they can be used in upcoming commits.

ok tb@
</content>
</entry>
<entry>
<title>Remove tls_buffer_set_data() and remove/revise callers.</title>
<updated>2022-07-20T06:32:24+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-07-20T06:32:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c883f86bc052054b4a1fc92fd72cc4c7ea17657e'/>
<id>urn:sha1:c883f86bc052054b4a1fc92fd72cc4c7ea17657e</id>
<content type='text'>
There is no way that tls_buffer_set_data() can currently work in
conjunction with tls_buffer_expand(). This fact is currently hidden by the
way that PHH works, which reads the same data from the record layer (which
it needs to do anyway, since we may not have all of the handshake message
in a single record).

Since this is broken, mop it up and change the PHH callback to not provide
the record data.

ok beck@ tb@
</content>
</entry>
<entry>
<title>Pass SSL pointer to tls13_ctx_new().</title>
<updated>2022-07-17T15:49:20+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-07-17T15:49:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=aa01620723c4a62e50c3f8ec40f18389e2240ca8'/>
<id>urn:sha1:aa01620723c4a62e50c3f8ec40f18389e2240ca8</id>
<content type='text'>
struct tls13_ctx already knows about SSL's and this way tls13_ctx_new() can
set up various pointers, rather than duplicating this in
tls13_legacy_accept() and tls13_legacy_connect().

ok tb@
</content>
</entry>
<entry>
<title>Provide #defines for the two currently registered PskKeyExchangeModes.</title>
<updated>2022-06-03T13:11:04+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-06-03T13:11:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=932b210d41e3f39b4fa4f872cb281251d94172a8'/>
<id>urn:sha1:932b210d41e3f39b4fa4f872cb281251d94172a8</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Rename tls13_key_share to tls_key_share.</title>
<updated>2022-01-05T17:10:03+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-01-05T17:10:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=767ff39662be70f355eac7cf069fd9c23c34580d'/>
<id>urn:sha1:767ff39662be70f355eac7cf069fd9c23c34580d</id>
<content type='text'>
In preparation to use the key share code in both the TLSv1.3 and legacy
stacks, rename tls13_key_share to tls_key_share, moving it into the shared
handshake struct. Further changes will then allow the legacy stack to make
use of the same code for ephemeral key exchange.

ok inoguchi@ tb@
</content>
</entry>
</feed>
