<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/regress/lib/libtls/verify, branch OPENBSD_7_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2023-05-28T09:02:01+00:00</updated>
<entry>
<title>Refactor tls_check_common_name to use lower level API.</title>
<updated>2023-05-28T09:02:01+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-05-28T09:02:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fc5c6fe4789b7726cefb7eef42e54c62ca51c1dc'/>
<id>urn:sha1:fc5c6fe4789b7726cefb7eef42e54c62ca51c1dc</id>
<content type='text'>
X509_NAME_get_text_by_NID is kind of a bad interface that
we wish to make safer, and does not give us the visibility
we really want here to detect hostile things.

Instead call the lower level functions to do some better
checking that should be done by X509_NAME_get_text_by_NID,
but is not in the OpenSSL version. Specifically we will treat
the input as hostile and fail if:

1) The certificate contains more than one CN in the subject.
2) The CN does not decode as UTF-8
3) The CN is of invalid length (must be between 1 and 64 bytes)
4) The CN contains a 0 byte

4) matches the existing logic, 1 and 2, and 3 are new checks.

ok tb@
</content>
</entry>
<entry>
<title>Add missing tls_init() and tls_free() calls.</title>
<updated>2017-04-30T03:53:31+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-04-30T03:53:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=275bb2f8af952b846dc2281d91a3aacd6a3e9e9d'/>
<id>urn:sha1:275bb2f8af952b846dc2281d91a3aacd6a3e9e9d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rework and significantly extend TLS name verification tests to match</title>
<updated>2017-04-10T17:12:30+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-04-10T17:12:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1a9c0927ed6ff9994f516950c7ae063fe921ef78'/>
<id>urn:sha1:1a9c0927ed6ff9994f516950c7ae063fe921ef78</id>
<content type='text'>
changes in libtls.
</content>
</entry>
<entry>
<title>Provide TLS_INT for consistency with libssl/libcrypto.</title>
<updated>2017-01-09T12:34:03+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-01-09T12:34:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5c58f201628336b2a71f433881452a326c289de2'/>
<id>urn:sha1:5c58f201628336b2a71f433881452a326c289de2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Some tests require internal symbols; have them link with the static</title>
<updated>2016-11-04T17:51:54+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2016-11-04T17:51:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=92a374b64d13c09f961d15aa0d371943b2661743'/>
<id>urn:sha1:92a374b64d13c09f961d15aa0d371943b2661743</id>
<content type='text'>
libssl or libtls so they can continue to see them after the shared
library namespace is cleaned up

ok jsing@
</content>
</entry>
<entry>
<title>regress test that we do not allow a wildcard match for ".openbsd.org"</title>
<updated>2015-09-11T13:10:42+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2015-09-11T13:10:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=30f08d2c42fd39467715e05733c598c792f4de62'/>
<id>urn:sha1:30f08d2c42fd39467715e05733c598c792f4de62</id>
<content type='text'>
against a wildcard of "*.openbsd.org"
</content>
</entry>
<entry>
<title>fix verify to allow for servername-&gt;name</title>
<updated>2015-09-11T12:57:24+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2015-09-11T12:57:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=994b9ccba77d1b0abb25d1ca9ed43f05218bf8bc'/>
<id>urn:sha1:994b9ccba77d1b0abb25d1ca9ed43f05218bf8bc</id>
<content type='text'>
ok jsing@
</content>
</entry>
<entry>
<title>Update for recent verify related naming changes.</title>
<updated>2015-02-22T15:14:32+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2015-02-22T15:14:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=aed39b600032f0395f7a180c678ab9317b32c5da'/>
<id>urn:sha1:aed39b600032f0395f7a180c678ab9317b32c5da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow specific libtls hostname validation errors to propagate.</title>
<updated>2014-12-07T16:56:17+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2014-12-07T16:56:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=26bb73d6664efd39d99f8477df943507a7f03b5e'/>
<id>urn:sha1:26bb73d6664efd39d99f8477df943507a7f03b5e</id>
<content type='text'>
Remove direct calls to printf from the tls_check_hostname() path. This allows
NUL byte error messages to bubble up to the caller, to be logged in a
program-appropriate way. It also removes non-portable calls to getprogname().

ok jsing@
</content>
</entry>
<entry>
<title>Initial regress for libtls hostname verification.</title>
<updated>2014-11-01T11:55:27+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-11-01T11:55:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=286b84d92107b01f487d9ec353363c1d5bfba7fc'/>
<id>urn:sha1:286b84d92107b01f487d9ec353363c1d5bfba7fc</id>
<content type='text'>
</content>
</entry>
</feed>
