<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/usr.sbin/ocspcheck/ocspcheck.c, branch libressl-v4.0.0</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v4.0.0</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v4.0.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2024-03-24T11:30:12+00:00</updated>
<entry>
<title>Convert libressl to use the BoringSSL style time conversions</title>
<updated>2024-03-24T11:30:12+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2024-03-24T11:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0f167a53fa3e19b7e6bb0620e16c6d11f07f10ca'/>
<id>urn:sha1:0f167a53fa3e19b7e6bb0620e16c6d11f07f10ca</id>
<content type='text'>
This gets rid of our last uses of timegm and gmtime in the
library and things that ship with it. It includes a bit
of refactoring in ocsp_cl.c to remove some obvious ugly.

ok tb@
</content>
</entry>
<entry>
<title>Replace ASN1_time_parse() with ASN1_TIME_to_tm()</title>
<updated>2023-11-13T11:46:24+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-11-13T11:46:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a0154b770d70f850d122c9cc2abd1ed36ea2f25f'/>
<id>urn:sha1:a0154b770d70f850d122c9cc2abd1ed36ea2f25f</id>
<content type='text'>
Like in libtls, we use ASN1_GENERALIZEDTIME_check() to ensure we actually
have a GeneralizedTime.

ok beck
</content>
</entry>
<entry>
<title>spelling fixes; from paul tagliamonte</title>
<updated>2022-12-28T21:30:17+00:00</updated>
<author>
<name>jmc</name>
<email></email>
</author>
<published>2022-12-28T21:30:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=99447cbc42f558725184ccdb10e0a8d9abe1c418'/>
<id>urn:sha1:99447cbc42f558725184ccdb10e0a8d9abe1c418</id>
<content type='text'>
any parts of his diff not taken are noted on tech
</content>
</entry>
<entry>
<title>Change the error reporting pattern throughout the tree when unveil</title>
<updated>2021-07-12T15:09:21+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2021-07-12T15:09:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=23bd7adafc11c1870dc8edc89acb37fbc272ca9e'/>
<id>urn:sha1:23bd7adafc11c1870dc8edc89acb37fbc272ca9e</id>
<content type='text'>
fails to report the path that the failure occured on. Suggested by
deraadt@ after some tech discussion.

Work done and verified by Ashton Fagg &lt;ashton@fagg.id.au&gt;

ok deraadt@ semarie@ claudio@
</content>
</entry>
<entry>
<title>Walk over all results from getaddrinfo() instead of giving up after the</title>
<updated>2021-02-09T16:55:51+00:00</updated>
<author>
<name>claudio</name>
<email></email>
</author>
<published>2021-02-09T16:55:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8af47ee279457970b421d64595b54a8cce5042e1'/>
<id>urn:sha1:8af47ee279457970b421d64595b54a8cce5042e1</id>
<content type='text'>
first entry. This way ocspcheck will try all returned IPs to contact
the OCSP server. Found by the regress test and a resolv.conf file with
'family inet6 inet4'.
OK kn@ deraadt@
</content>
</entry>
<entry>
<title>Refactor a bunch of oscpcheck for single return to clean it up,</title>
<updated>2020-10-16T01:16:55+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2020-10-16T01:16:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fe78fdfa282adc6ae8665a1b7ebec62cb7171079'/>
<id>urn:sha1:fe78fdfa282adc6ae8665a1b7ebec62cb7171079</id>
<content type='text'>
and add the ability to parse a port in the specified ocsp url.

Since this will now pass them, enable regress tests previously
committed for ocspcheck.

mostly by me with some cleanup by tb after an obvious yak was found
to shave in the OCSP routines in libcrypto

ok tb@
</content>
</entry>
<entry>
<title>Ignore ftruncate failure with errno == EAGAIN</title>
<updated>2020-09-04T04:17:46+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-09-04T04:17:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=74441e9d617ee07f06388b7f86f34dbccc8a410a'/>
<id>urn:sha1:74441e9d617ee07f06388b7f86f34dbccc8a410a</id>
<content type='text'>
This makes piping the OCSP response to other programs with -o - work.

input and r+ guenther
</content>
</entry>
<entry>
<title>The X509_LOOKUP code tries to grope around in /etc/ssl/cert/ to find</title>
<updated>2020-01-23T03:53:39+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-01-23T03:53:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d074b68b31fc121e4b52ff0c09efcf6d853b383d'/>
<id>urn:sha1:d074b68b31fc121e4b52ff0c09efcf6d853b383d</id>
<content type='text'>
CA certs it couldn't find otherwise. This may lead to a pledge rpath
violation reported by Kor, son of Rynar.  Unfortunately, providing certs
inside a directory is common in linuxes, so we need to keep this
functionality for portable.

Check if /etc/ssl/cert.pem and /etc/ssl/cert exist and pledge
accordingly. Add unveils to restrict this program further on a
default OpenBSD install. Fix -C to look only inside the provided
root bundle.

Input from jsing and sthen, tests by sthen and Kor

ok beck, jsing, sthen (after much back and forth)
</content>
</entry>
<entry>
<title>check result of ftruncate() as we do write() below</title>
<updated>2019-05-15T13:44:18+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2019-05-15T13:44:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e237f626b47bb3bb017599ce57e9d817f613b817'/>
<id>urn:sha1:e237f626b47bb3bb017599ce57e9d817f613b817</id>
<content type='text'>
ok beck@
</content>
</entry>
<entry>
<title>Avoid using an uninitialized variable.</title>
<updated>2017-12-01T14:42:23+00:00</updated>
<author>
<name>visa</name>
<email></email>
</author>
<published>2017-12-01T14:42:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a5ca61165484466ec3d6f7be600dc13db3aec881'/>
<id>urn:sha1:a5ca61165484466ec3d6f7be600dc13db3aec881</id>
<content type='text'>
Found by gcc.

OK jca@
</content>
</entry>
</feed>
