<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib, branch OPENBSD_6_6_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_6_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_6_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2019-10-10T14:29:20+00:00</updated>
<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>
<entry>
<title>If a NULL or zero cofactor is passed to EC_GROUP_set_generator(),</title>
<updated>2019-09-29T10:09:09+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2019-09-29T10:09:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5d19ba5fbb605cdab0233383db708bad870da750'/>
<id>urn:sha1:5d19ba5fbb605cdab0233383db708bad870da750</id>
<content type='text'>
try to compute it using Hasse's bound.  This works as long as the
cofactor is small enough.

Port of Brumley's fix for CVE-2019-1547 in OpenSSL 1.1.1 (old license)

tests &amp; ok inoguchi
input &amp; ok jsing

commit 30c22fa8b1d840036b8e203585738df62a03cec8
Author: Billy Brumley &lt;bbrumley@gmail.com&gt;
Date:   Thu Sep 5 21:25:37 2019 +0300

    [crypto/ec] for ECC parameters with NULL or zero cofactor, compute it

    The cofactor argument to EC_GROUP_set_generator is optional, and SCA
    mitigations for ECC currently use it. So the library currently falls
    back to very old SCA-vulnerable code if the cofactor is not present.

    This PR allows EC_GROUP_set_generator to compute the cofactor for all
    curves of cryptographic interest. Steering scalar multiplication to more
    SCA-robust code.

    This issue affects persisted private keys in explicit parameter form,
    where the (optional) cofactor field is zero or absent.

    It also affects curves not built-in to the library, but constructed
    programatically with explicit parameters, then calling
    EC_GROUP_set_generator with a nonsensical value (NULL, zero).

    The very old scalar multiplication code is known to be vulnerable to
    local uarch attacks, outside of the OpenSSL threat model. New results
    suggest the code path is also vulnerable to traditional wall clock
    timing attacks.

    CVE-2019-1547

    Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
    Reviewed-by: Tomas Mraz &lt;tmraz@fedoraproject.org&gt;
    Reviewed-by: Nicola Tuveri &lt;nic.tuv@gmail.com&gt;
    (Merged from https://github.com/openssl/openssl/pull/9781)
</content>
</entry>
</feed>
