<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto, branch libressl-v3.6.2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.6.2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.6.2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2022-10-20T09:47:01+00:00</updated>
<entry>
<title>Unbreak ASN.1 indefinite length encoding.</title>
<updated>2022-10-20T09:47:01+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-10-20T09:47:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=83249055024eb55369c80ad88645d5d52b8eeae6'/>
<id>urn:sha1:83249055024eb55369c80ad88645d5d52b8eeae6</id>
<content type='text'>
In r1.25 of tasn_enc.c a check was added to ensure that asn1_ex_i2c()
returned the same value on both calls, however in the ndef case the len
variable gets changed between calls. Keep a copy of the original value to
test against.

Issue reported by niklas, who encountered a test failure in rust-openssl.

ok miod@ tb@; from jsing

This is errata/7.2/002_asn1.patch.sig
</content>
</entry>
<entry>
<title>Store errors that result from leaf certificate verification.</title>
<updated>2022-10-20T09:45:18+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-10-20T09:45:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2e08bcb01b2d496908faf5968f289cda7e088285'/>
<id>urn:sha1:2e08bcb01b2d496908faf5968f289cda7e088285</id>
<content type='text'>
In the case that a verification callback is installed that tells the
verifier to continue when a certificate is invalid (e.g. expired),
any error resulting from the leaf certificate verification is not stored
and made available post verification, resulting in an incorrect error being
returned.

Also perform leaf certificate verification prior to adding the chain, which
avoids a potential memory leak (as noted by tb@).

Issue reported by Ilya Shipitsin, who encountered haproxy regress failures.

ok tb@; from jsing

This is errata/7.2/001_x509.patch.sig
</content>
</entry>
<entry>
<title>Remove PKCS12_MAKE_{,SH}KEYBAG from Symbols.list</title>
<updated>2022-09-19T12:25:52+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-09-19T12:25:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8c6b171d46b1c38f2d049466913944f62bc162e2'/>
<id>urn:sha1:8c6b171d46b1c38f2d049466913944f62bc162e2</id>
<content type='text'>
These functions were renamed in the last bump

#define PKCS12_MAKE_KEYBAG      PKCS12_SAFEBAG_create0_p8inf                                        #define PKCS12_MAKE_SHKEYBAG    PKCS12_SAFEBAG_create_pkcs8_encrypt

They don't appear in the compiled library itself, so no further bump
required.

Fixes libressl-portable/portable#791

Found the hard way by vollkommenheit
ok deraadt jsing
</content>
</entry>
<entry>
<title>Add OID for RPKI signedTAL objects</title>
<updated>2022-09-15T08:20:34+00:00</updated>
<author>
<name>job</name>
<email></email>
</author>
<published>2022-09-15T08:20:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5e986ba9f9b316020df4d510e27b6b7d1a19effe'/>
<id>urn:sha1:5e986ba9f9b316020df4d510e27b6b7d1a19effe</id>
<content type='text'>
IANA made a permanent registration in the SMI Security for S/MIME CMS
Content Type registry at
https://www.iana.org/assignments/smi-numbers/smi-numbers.xhtml#security-smime-1
for signed objects conforming to draft-ietf-sidrops-signed-tal.

OK tb@
</content>
</entry>
<entry>
<title>Use LONG_MAX as the limit for ciphers with long based APIs.</title>
<updated>2022-09-15T07:04:19+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-09-15T07:04:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=69a6645367fe0e98f414f8ce038c6a4c2e3fb102'/>
<id>urn:sha1:69a6645367fe0e98f414f8ce038c6a4c2e3fb102</id>
<content type='text'>
These ciphers have long based APIs, while EVP has a size_t based API. The
intent of these loops is to handle sizes that are bigger than LONG_MAX.
Rather than using the rather crazy EVP_MAXCHUNK construct, use LONG_MAX
rounded down to a large block size, ensuring that it is a block size
multiple. Revert the recently added overflow checks now that this is
handled more appropriately.

ok tb@
</content>
</entry>
<entry>
<title>Stop pretending that EVP_CIPHER cleanup can fail.</title>
<updated>2022-09-13T04:59:18+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-09-13T04:59:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2ec5e8a2e012afe68c1a580604d754b7e8cc73ee'/>
<id>urn:sha1:2ec5e8a2e012afe68c1a580604d754b7e8cc73ee</id>
<content type='text'>
Now that EVP_CIPHER is opaque, stop pretending that EVP_CIPHER cleanup can
fail.

ok tb@
</content>
</entry>
<entry>
<title>zap extra .Pp</title>
<updated>2022-09-12T14:36:09+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-09-12T14:36:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ac803c42a5901693703e027059e9c004c3f5e507'/>
<id>urn:sha1:ac803c42a5901693703e027059e9c004c3f5e507</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stop documenting i2c_ASN1_INTEGER.</title>
<updated>2022-09-12T14:33:47+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-09-12T14:33:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=afa32a688a05314cc1b6eec8c3ec695173e1459d'/>
<id>urn:sha1:afa32a688a05314cc1b6eec8c3ec695173e1459d</id>
<content type='text'>
This is no longer public API. Also remove some comments about i2c and c2i
functions being intentionally undocumented since they are no longer public.
</content>
</entry>
<entry>
<title>Define LIBRESSL_HAS_QUIC</title>
<updated>2022-09-11T17:36:34+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-09-11T17:36:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8ff32812e5677a254847c26df72f51999742522e'/>
<id>urn:sha1:8ff32812e5677a254847c26df72f51999742522e</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Bump major after symbol addition and removal and struct visibility changes</title>
<updated>2022-09-11T17:34:41+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-09-11T17:34:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=450676964345ddce4854693a15a41080426de582'/>
<id>urn:sha1:450676964345ddce4854693a15a41080426de582</id>
<content type='text'>
</content>
</entry>
</feed>
