<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto, branch libressl-v3.3.5</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.3.5</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.3.5'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2021-09-30T18:28:20+00:00</updated>
<entry>
<title>delete expired DST Root CA X3 to work around bugs various libraries</title>
<updated>2021-09-30T18:28:20+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2021-09-30T18:28:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=83bc5cc5ee52fc0847ad86d9499c1ac8b9de9fe0'/>
<id>urn:sha1:83bc5cc5ee52fc0847ad86d9499c1ac8b9de9fe0</id>
<content type='text'>
ok sthen, beck, jsing, tb, etc etc

This cannot be issued as an errata/syspatch, because syspatch cannot
</content>
</entry>
<entry>
<title>Enable X509_V_FLAG_TRUSTED_FIRST by default in the legacy verifier.</title>
<updated>2021-09-30T18:25:43+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2021-09-30T18:25:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8e81e40d0c1296f1862d4a6749edd4cba53c4a23'/>
<id>urn:sha1:8e81e40d0c1296f1862d4a6749edd4cba53c4a23</id>
<content type='text'>
In order to work around the expired DST Root CA X3 certficiate, enable
X509_V_FLAG_TRUSTED_FIRST in the legacy verifier. This means that the
default chain provided by Let's Encrypt will stop at the ISRG Root X1
intermediate, rather than following the DST Root CA X3 intermediate.

Note that the new verifier does not suffer from this issue, so only a
small number of things will hit this code path.

ok millert@ robert@ tb@

this is errata 6.9/018_cert
</content>
</entry>
<entry>
<title>Avoid a potential overread in x509_constraints_parse_mailbox()</title>
<updated>2021-09-26T14:07:40+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2021-09-26T14:07:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=35f8ef07a93e59616eb96dc41d4f8e6a21a6319b'/>
<id>urn:sha1:35f8ef07a93e59616eb96dc41d4f8e6a21a6319b</id>
<content type='text'>
The length checks need to be &gt;= rather than &gt; in order to ensure the string
remains NUL terminated. While here consistently check wi before using it
so we have the same idiom throughout this function.

Issue reported by GoldBinocle on GitHub.

ok deraadt@ tb@

this is 6.9 errata 017
</content>
</entry>
<entry>
<title>In LibreSSL, printing a certificate can result in a crash in</title>
<updated>2021-08-20T19:54:59+00:00</updated>
<author>
<name>benno</name>
<email></email>
</author>
<published>2021-08-20T19:54:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3627e057ddf00759d5985e80a8bb317a1b071a4a'/>
<id>urn:sha1:3627e057ddf00759d5985e80a8bb317a1b071a4a</id>
<content type='text'>
X509_CERT_AUX_print().

Commit in -current:

CVSROOT:        /cvs
Module name:    src
Changes by:     schwarze@cvs.openbsd.org        2021/07/10 11:45:16

Modified files:
        lib/libcrypto/asn1: t_x509a.c

Log message:
Fix a read buffer overrun in X509_CERT_AUX_print(3),
which by implication also affects X509_print(3).

The ASN1_STRING_get0_data(3) manual explitely cautions the reader
that the data is not necessarily NUL-terminated, and the function
X509_alias_set1(3) does not sanitize the data passed into it in
any way either, so we must assume the alias-&gt;data field is merely
a byte array and not necessarily a string in the sense of the C
language.

I found this bug while writing manual pages for these functions.

OK tb@

As an aside, note that the function still produces incomplete and
misleading results when the data contains a NUL byte in the middle
and that error handling is consistently absent throughout, even
though the function provides an "int" return value obviously intended
to be 1 for success and 0 for failure, and even though this function
is called by another function that also wants to return 1 for success
and 0 for failure and even does so in many of its code paths, though
not in others.  But let's stay focussed.  Many things would be nice
to have in the wide wild world, but a buffer overflow must not be
allowed to remain in our backyard.

This is patches/6.9/common/015_x509.patch.sig
</content>
</entry>
<entry>
<title>Switch back to the legacy verifier for the release.</title>
<updated>2021-04-15T14:15:03+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-04-15T14:15:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=013c39e97f0af8342cdb560b4a2a45f87602f7b7'/>
<id>urn:sha1:013c39e97f0af8342cdb560b4a2a45f87602f7b7</id>
<content type='text'>
This is disappointing as a lot of work was put into the new verifier
during this cycle. However, there are still too many known bugs and
incompatibilities. It is better to be faced with known broken behavior
than with new broken behavior and to switch now rather than via errata.
This way we have another cycle to iron out the kinks and to fix some of
the remaining bugs.

ok jsing
</content>
</entry>
<entry>
<title>Don't leak param-&gt;name in x509_verify_param_zero()</title>
<updated>2021-04-05T07:02:50+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-04-05T07:02:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=57e3ff55d71172acc1caf21e8c346e67b7089676'/>
<id>urn:sha1:57e3ff55d71172acc1caf21e8c346e67b7089676</id>
<content type='text'>
For dynamically allocated verify parameters, param-&gt;name is only ever set
in X509_VERIFY_set1_name() where the old one is freed and the new one is
assigned via strdup(). Setting it to NULL without freeing it beforehand is
a leak.

looks correct to millert, ok inoguchi
</content>
</entry>
<entry>
<title>Bump minors after symbol addition</title>
<updated>2021-03-31T17:02:18+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-03-31T17:02:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0c1b885ba6292c3b2d58d343977ac4cab728cc2b'/>
<id>urn:sha1:0c1b885ba6292c3b2d58d343977ac4cab728cc2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Expose various DTLSv1.2 specific functions and defines</title>
<updated>2021-03-31T16:59:32+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-03-31T16:59:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2ebb1bafcf20e3417b35907fc27572bb0ff9faac'/>
<id>urn:sha1:2ebb1bafcf20e3417b35907fc27572bb0ff9faac</id>
<content type='text'>
ok bcook inoguchi jsing
</content>
</entry>
<entry>
<title>Provide missing prototype for d2i_DSAPrivateKey_fp(3)</title>
<updated>2021-03-31T16:51:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-03-31T16:51:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a2c7dc9f61c905842b4ecaed7ee8beba13289e15'/>
<id>urn:sha1:a2c7dc9f61c905842b4ecaed7ee8beba13289e15</id>
<content type='text'>
ok bcook inoguchi jsing
</content>
</entry>
<entry>
<title>Document EVP_PKEY_new_CMAC_key(3)</title>
<updated>2021-03-31T16:48:43+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-03-31T16:48:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5f72b11bd2dc2e740c447ac146e4fdf67f2aee3b'/>
<id>urn:sha1:5f72b11bd2dc2e740c447ac146e4fdf67f2aee3b</id>
<content type='text'>
ok bcook inoguchi jsing
</content>
</entry>
</feed>
