<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/usr.sbin/ocspcheck, branch OPENBSD_7_0_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_0_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_0_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2021-09-14T16:37:20+00:00</updated>
<entry>
<title>Add missing void to definition of http_init().</title>
<updated>2021-09-14T16:37:20+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-09-14T16:37:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=754c6031403524bc1e6720ad57276c759275f554'/>
<id>urn:sha1:754c6031403524bc1e6720ad57276c759275f554</id>
<content type='text'>
ok deraadt florian
</content>
</entry>
<entry>
<title>Remove unneeded calls to tls_init(3)</title>
<updated>2021-07-14T13:33:57+00:00</updated>
<author>
<name>kn</name>
<email></email>
</author>
<published>2021-07-14T13:33:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f50b4db1e7622eb89cc64abe1c046266ba811bf1'/>
<id>urn:sha1:f50b4db1e7622eb89cc64abe1c046266ba811bf1</id>
<content type='text'>
As per the manual and lib/libtls/tls.c revision 1.79 from 2018
"Automatically handle library initialisation for libtls." initialisation
is handled automatically by other tls_*(3) functions.

Remove explicit tls_init() calls from base to not give the impression of
it being needed.

Feedback tb
OK Tests mestre
</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>Set "Content-Type: application/ocsp-request" in ocspcheck(1)'s POSTs,</title>
<updated>2020-01-11T17:37:19+00:00</updated>
<author>
<name>sthen</name>
<email></email>
</author>
<published>2020-01-11T17:37:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=447ae9961c3e13c550103d720a0cabeb72e6b84f'/>
<id>urn:sha1:447ae9961c3e13c550103d720a0cabeb72e6b84f</id>
<content type='text'>
it is required by the RFC and some CAs require it (e.g. sectigo).
From daharmasterkor at gmail com, ok jca@
</content>
</entry>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:35:02+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2019-06-28T13:35:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=835d788017c49be8b4986b0f04686da55f2cd0da'/>
<id>urn:sha1:835d788017c49be8b4986b0f04686da55f2cd0da</id>
<content type='text'>
value &lt; 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
</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>
</feed>
