<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto, branch libressl-v3.1.4</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.1.4</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.1.4'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2020-06-10T03:56:22+00:00</updated>
<entry>
<title>OpenBSD 6.7 errata 010, June 11, 2020 (6.7/010_x509.patch.sig)</title>
<updated>2020-06-10T03:56:22+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-06-10T03:56:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6509152b9d4dd2af6685a777e5384b818cd88911'/>
<id>urn:sha1:6509152b9d4dd2af6685a777e5384b818cd88911</id>
<content type='text'>
original commit:

CVSROOT:	/cvs
Module name:	src
Changes by:	jsing@cvs.openbsd.org	2020/05/31 11:23:39

Modified files:
	lib/libcrypto/x509: x509_vfy.c

Log message:
When building a chain look for non-expired certificates first.

Currently, when building a certificate chain we look up an issuer and if
it is the only issuer certificate available we still use it even if it has
expired. When X509_V_FLAG_TRUSTED_FIRST is not in use, untrusted
certificates are processed first and if one of these happens to be expired
it will be used to build the chain, even if there is another non-expired
option in the trusted store.

Rework this code so that we first look for a non-expired untrusted
certificate. If one does not exist then we take a look in the trusted
store to see if we would be able to build the chain and only if there is
not, do we then look for an expired untrusted certificate.

This makes certificate validation possible for various sites that are
serving expired AddTrust certificates.

Issue reported by Christian Heimes via GitHub.

ok beck@ tb@
</content>
</entry>
<entry>
<title>LibreSSL 3.1.2</title>
<updated>2020-05-21T02:27:34+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2020-05-21T02:27:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=98fa86d49f73602179145a8a82817acd8dd42203'/>
<id>urn:sha1:98fa86d49f73602179145a8a82817acd8dd42203</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bump LibreSSL version to 3.1.1</title>
<updated>2020-05-06T15:45:22+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-05-06T15:45:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ee48f389834876fcbc39c15605a1a3037becc5c2'/>
<id>urn:sha1:ee48f389834876fcbc39c15605a1a3037becc5c2</id>
<content type='text'>
ok bcook inoguchi deraadt
</content>
</entry>
<entry>
<title>Disallow setting the AES-GCM IV length to 0</title>
<updated>2020-04-30T18:43:11+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-04-30T18:43:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1813a9138ee882b675662d47ed9fe6974bd433f3'/>
<id>urn:sha1:1813a9138ee882b675662d47ed9fe6974bd433f3</id>
<content type='text'>
It is possible to do this by abusing the EVP_CTRL_INIT API.
Pointed out by jsing.

ok inoguchi jsing (as part of a larger diff)
</content>
</entry>
<entry>
<title>Disallow the use of zero length IVs in AES-GCM via</title>
<updated>2020-04-27T19:31:02+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-04-27T19:31:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=59b4077b60cc24004bc23295bd2ff465be743f11'/>
<id>urn:sha1:59b4077b60cc24004bc23295bd2ff465be743f11</id>
<content type='text'>
EVP_AEAD_CTX_{open,seal}, as this leaks the authentication key.

Issue reported and fix tested by Guido Vranken.

ok beck, jsing

This commit adds a constant to a public header despite library lock,
as discussed with deraadt and sthen.
</content>
</entry>
<entry>
<title>sync cert.pem with Mozilla's root ca list, ok beck@</title>
<updated>2020-04-10T12:13:17+00:00</updated>
<author>
<name>sthen</name>
<email></email>
</author>
<published>2020-04-10T12:13:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=678710fe8b84dce66a5a76351e75b47682b09285'/>
<id>urn:sha1:678710fe8b84dce66a5a76351e75b47682b09285</id>
<content type='text'>
</content>
</entry>
<entry>
<title>When printing the serialNumber, fall back to the colon separated hex</title>
<updated>2020-04-10T07:05:24+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-04-10T07:05:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4689dc5a48a9c21efc191442a6cc826034785951'/>
<id>urn:sha1:4689dc5a48a9c21efc191442a6cc826034785951</id>
<content type='text'>
bytes in case ASN1_INTEGER_get() failed. This happens more often since
asn1/a_int.c -r1.34. Matches OpenSSL behavior.

Issue in openssl x509 -text output reported by sthen

ok jsing sthen
</content>
</entry>
<entry>
<title>Void functions obviously do not return values; no need to elaborate.</title>
<updated>2020-03-29T17:05:02+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2020-03-29T17:05:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f380a0425155bb24efdb8ed8a5472375889c8ed4'/>
<id>urn:sha1:f380a0425155bb24efdb8ed8a5472375889c8ed4</id>
<content type='text'>
Patch from Martin Vahlensieck &lt;academicsolutions dot ch&gt;.
</content>
</entry>
<entry>
<title>Be concise: do not say that void functions return no values, that's obvious.</title>
<updated>2020-03-28T22:40:58+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2020-03-28T22:40:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f3775b337cafc42fea310ef0fd85720ffffe009e'/>
<id>urn:sha1:f3775b337cafc42fea310ef0fd85720ffffe009e</id>
<content type='text'>
Useless text reported by Martin Vahlensieck (academicsolutions.ch) on tech@.
</content>
</entry>
<entry>
<title>Fix ASN1 print functions</title>
<updated>2020-03-24T10:46:38+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2020-03-24T10:46:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=eacf3461605a07f186ea238b0a1a1a26cf1aa9ea'/>
<id>urn:sha1:eacf3461605a07f186ea238b0a1a1a26cf1aa9ea</id>
<content type='text'>
Check and print out boolean type properly.
Based on OpenSSL commit ad72d9fdf7709ddb97a58d7d45d755e6e0504b96.
Reduced unneeded parentheses from if condition.

Check return value from i2s_ASN1_INTEGER.
Based on OpenSSL commit 5e3553c2de9a365479324b8ba8b998f0cce3e527.
Added if condition expression and return 0 if NULL is returned.

ok tb@
</content>
</entry>
</feed>
