<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/regress/lib/libcrypto/x509, branch OPENBSD_7_2_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_2_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_2_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2022-06-28T07:56:34+00:00</updated>
<entry>
<title>Fix the legacy verifier callback behaviour for untrusted certs.</title>
<updated>2022-06-28T07:56:34+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2022-06-28T07:56:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=355c949cf9ad60bf97cba6f09a938127c655e98a'/>
<id>urn:sha1:355c949cf9ad60bf97cba6f09a938127c655e98a</id>
<content type='text'>
The verifier callback is used by mutt to do a form of certificate
pinning where the callback gets fired and depending on a
cert saved to a file will decide to accept an untrusted cert.

This corrects two problems that affected this. The callback was not
getting the correct depth and chain for the error where mutt would
save the certificate in the first place, and then the callback was not
getting fired to allow it to override the failing certificate
validation.

thanks to Avon Robertson &lt;avon.r@xtra.co.nz&gt; for the report and
sthen@ for analysis.

"The callback is not an API, it's a gordian knot - tb@"
ok jsing@
</content>
</entry>
<entry>
<title>Fix URI name constraints, allow for URI's with no host part.</title>
<updated>2022-06-26T11:29:27+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2022-06-26T11:29:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f0e25790ea89d59867bdced3cbb8dae45cb6ae78'/>
<id>urn:sha1:f0e25790ea89d59867bdced3cbb8dae45cb6ae78</id>
<content type='text'>
Such uri's must be parsed and allowed, but then should
fail if a name constraint is present.

Adds regress testing for this same case.

fixes https://github.com/libressl-portable/openbsd/issues/131

ok tb@
</content>
</entry>
<entry>
<title>Move leaf certificate checks to the last thing after chain validation.</title>
<updated>2022-06-25T20:01:43+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2022-06-25T20:01:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e9036ffdef0c2cfa078cbb4d5452bcdbf2133de1'/>
<id>urn:sha1:e9036ffdef0c2cfa078cbb4d5452bcdbf2133de1</id>
<content type='text'>
While seemingly illogical and not what is done in Go's validator, this
mimics OpenSSL's behavior so that callback overrides for the expiry of
a certificate will not "sticky" override a failure to build a chain.

ok jsing@
</content>
</entry>
<entry>
<title>Use consistent spacing around assignments</title>
<updated>2022-06-02T12:08:41+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-06-02T12:08:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1360fa38584f9ec6d9f1509c152fd92d44b5540a'/>
<id>urn:sha1:1360fa38584f9ec6d9f1509c152fd92d44b5540a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Only constraints and verify need static linking in here.</title>
<updated>2022-06-02T11:48:36+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-06-02T11:48:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=de9867de0b7aa903804bde135611359139ae2b93'/>
<id>urn:sha1:de9867de0b7aa903804bde135611359139ae2b93</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enable X509v3_asid_subset() tests now that they no longer segfault.</title>
<updated>2022-05-12T19:58:45+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-05-12T19:58:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ce5ffdb84ae24939f1596018cbb79cb7d2226a97'/>
<id>urn:sha1:ce5ffdb84ae24939f1596018cbb79cb7d2226a97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a few more testcases for X509v3_asid_subset()</title>
<updated>2022-05-12T10:12:18+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-05-12T10:12:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=99ee6080eef8a0f58cbbbad5ae344a4e558938f7'/>
<id>urn:sha1:99ee6080eef8a0f58cbbbad5ae344a4e558938f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add some workarounds to make build_addr_block_test_data const.</title>
<updated>2022-01-07T22:46:05+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-07T22:46:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1a32dddf946a2c1991541d3afdc15598c788cd6b'/>
<id>urn:sha1:1a32dddf946a2c1991541d3afdc15598c788cd6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert previous accidental commit</title>
<updated>2022-01-07T17:17:02+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-07T17:17:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5924bca3ba9138d1349d77136a0d4742c0e1a423'/>
<id>urn:sha1:5924bca3ba9138d1349d77136a0d4742c0e1a423</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a comment that explains why build_addr_block_tests isn't const</title>
<updated>2022-01-06T14:55:52+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-06T14:55:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b792111bd996ccf4464f74ed5df03b9f3bc708cc'/>
<id>urn:sha1:b792111bd996ccf4464f74ed5df03b9f3bc708cc</id>
<content type='text'>
</content>
</entry>
</feed>
