<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib, branch OPENBSD_6_6</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_6</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_6'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2020-06-10T03:56:28+00:00</updated>
<entry>
<title>OpenBSD 6.6 errata 032, June 11, 2020 (6.6/032_x509.patch.sig)</title>
<updated>2020-06-10T03:56:28+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2020-06-10T03:56:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=de39c59c1624f118db217577b08e4b3de36128ee'/>
<id>urn:sha1:de39c59c1624f118db217577b08e4b3de36128ee</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>bump internal version to 3.0.2</title>
<updated>2019-10-10T14:29:20+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2019-10-10T14:29:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9f575b7b67999a0838ebf26803a142688baaacac'/>
<id>urn:sha1:9f575b7b67999a0838ebf26803a142688baaacac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bump to 3.0.2</title>
<updated>2019-10-10T14:28:48+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2019-10-10T14:28:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3b4111cb852a3e82e0beb5cb11892eed2c99349e'/>
<id>urn:sha1:3b4111cb852a3e82e0beb5cb11892eed2c99349e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use EVP_MAX_MD_SIZE instead of SHA_DIGEST_LENGTH and remove OPENSSL_NO_SHA*</title>
<updated>2019-10-09T16:17:59+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-10-09T16:17:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=435a67696ac71b140532868b31909dae30c70c14'/>
<id>urn:sha1:435a67696ac71b140532868b31909dae30c70c14</id>
<content type='text'>
conditionals, now that this code handles arbitrary message digests.

ok inoguchi@ tb@
</content>
</entry>
<entry>
<title>Fix a padding oracle in PKCS7_dataDecode and CMS_decrypt_set1_pkey.</title>
<updated>2019-10-04T18:03:56+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2019-10-04T18:03:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=03a0a727a85c64d9828255b797ef2d1d59c061df'/>
<id>urn:sha1:03a0a727a85c64d9828255b797ef2d1d59c061df</id>
<content type='text'>
(Note that the CMS code is currently disabled.)

Port of Edlinger's Fix for CVE-2019-1563 from OpenSSL 1.1.1 (old license)

tests from bluhm@
ok jsing

commit e21f8cf78a125cd3c8c0d1a1a6c8bb0b901f893f
Author: Bernd Edlinger &lt;bernd.edlinger@hotmail.de&gt;
Date:   Sun Sep 1 00:16:28 2019 +0200

    Fix a padding oracle in PKCS7_dataDecode and CMS_decrypt_set1_pkey

    An attack is simple, if the first CMS_recipientInfo is valid but the
    second CMS_recipientInfo is chosen ciphertext. If the second
    recipientInfo decodes to PKCS #1 v1.5 form plaintext, the correct
    encryption key will be replaced by garbage, and the message cannot be
    decoded, but if the RSA decryption fails, the correct encryption key is
    used and the recipient will not notice the attack.

    As a work around for this potential attack the length of the decrypted
    key must be equal to the cipher default key length, in case the
    certifiate is not given and all recipientInfo are tried out.

    The old behaviour can be re-enabled in the CMS code by setting the
    CMS_DEBUG_DECRYPT flag.

    Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
    (Merged from https://github.com/openssl/openssl/pull/9777)

    (cherry picked from commit 5840ed0cd1e6487d247efbc1a04136a41d7b3a37)
</content>
</entry>
<entry>
<title>Use a valid curve when constructing an EC_KEY that looks like X25519.</title>
<updated>2019-10-04T17:21:24+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-10-04T17:21:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4cd703f8ea6ce1ad19febbcab84532f2943d2b6c'/>
<id>urn:sha1:4cd703f8ea6ce1ad19febbcab84532f2943d2b6c</id>
<content type='text'>
The recent EC group cofactor change results in stricter validation,
which causes the EC_GROUP_set_generator() call to fail.

Issue reported and fix tested by rsadowski@

ok tb@
</content>
</entry>
<entry>
<title>Provide internal RSA_padding_{add,check}_PKCS1_OAEP_mgf1() functions.</title>
<updated>2019-10-04T16:51:31+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-10-04T16:51:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1d41f46c2a5e0581e3cba084d53e63f128812374'/>
<id>urn:sha1:1d41f46c2a5e0581e3cba084d53e63f128812374</id>
<content type='text'>
These are internal only for now and will be made public at a later date.
The RSA_padding_{add,check}_PKCS1_OAEP() functions become wrappers around
the *_mgf1() variant.

ok tb@ inoguchi@ (as part of a larger diff)
</content>
</entry>
<entry>
<title>Move towards making RSA OAEP functions handle arbitrary message digests.</title>
<updated>2019-10-03T17:45:27+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-10-03T17:45:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=11581776295d0e14eb646d3c3c995dfc20a2c4e6'/>
<id>urn:sha1:11581776295d0e14eb646d3c3c995dfc20a2c4e6</id>
<content type='text'>
Based on OpenSSL 1.1.1.

ok tb@, inoguchi@ (on an earlier/larger diff)
</content>
</entry>
<entry>
<title>bump for LibreSSL 3.0.1</title>
<updated>2019-09-30T07:56:14+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2019-09-30T07:56:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e0e087c630862e12b332f9d7bdabaeca460c538d'/>
<id>urn:sha1:e0e087c630862e12b332f9d7bdabaeca460c538d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>zap trailing whitespace;</title>
<updated>2019-09-29T16:30:35+00:00</updated>
<author>
<name>jmc</name>
<email></email>
</author>
<published>2019-09-29T16:30:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=636626a8886eb9c68c9ab9328b4270ba95482eeb'/>
<id>urn:sha1:636626a8886eb9c68c9ab9328b4270ba95482eeb</id>
<content type='text'>
</content>
</entry>
</feed>
