<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/ssl_cert.c, branch OPENBSD_6_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2020-06-05T17:55:24+00:00</updated>
<entry>
<title>Handle GOST in ssl_cert_dup().</title>
<updated>2020-06-05T17:55:24+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-06-05T17:55:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=925a4830a996ccdb83e29fb0de0daebe78f806e8'/>
<id>urn:sha1:925a4830a996ccdb83e29fb0de0daebe78f806e8</id>
<content type='text'>
Add missing case entry for SSL_PKEY_GOST01.

Diff from Dmitry Baryshkov &lt;dbaryshkov@gmail.com&gt;

Sponsored by ROSA Linux

ok inoguchi@ tb@
</content>
</entry>
<entry>
<title>Replace SSL_PKEY_RSA_ENC/SSL_PKEY_RSA_SIGN with SSL_PKEY_RSA.</title>
<updated>2020-05-19T16:35:21+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2020-05-19T16:35:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=369bbcd163f15f6e452e14282f0a65dafde2f5ab'/>
<id>urn:sha1:369bbcd163f15f6e452e14282f0a65dafde2f5ab</id>
<content type='text'>
Some time prior to SSLeay 0.8.1b, SSL_PKEY_RSA_SIGN got added with the
intention of handling RSA sign only certificates... this incomplete code
had the following comment:

  /* check to see if this is a signing only certificate */
  /* EAY EAY EAY EAY */

And while the comment was removed in 2005, the incomplete RSA sign-only
handling has remained ever since.

Remove SSL_PKEY_RSA_SIGN and rename SSL_PKEY_RSA_ENC to SSL_PKEY_RSA. While
here also remove the unused SSL_PKEY_DH_RSA.

ok tb@
</content>
</entry>
<entry>
<title>s3 is never NULL since s2 (formerly used for SSLv2) does not exist, so there is</title>
<updated>2019-05-15T09:13:16+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2019-05-15T09:13:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fb2049b2266c87f70c3f5c07a08bca52033533cf'/>
<id>urn:sha1:fb2049b2266c87f70c3f5c07a08bca52033533cf</id>
<content type='text'>
no need to check for it. Fixes COV-165788, identified with help from Alex
Bumstead.

ok jsing@
</content>
</entry>
<entry>
<title>Avoid leak in SSL_dup_CA_list()</title>
<updated>2019-04-13T18:04:05+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2019-04-13T18:04:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d780f0b3af2df25277b17867d909cd85c0476369'/>
<id>urn:sha1:d780f0b3af2df25277b17867d909cd85c0476369</id>
<content type='text'>
In the case that X509_NAME_dup() succeeds, but sk_X509_NAME_push()
fails, name is leaked.  The entire function is trying to be clever
and therefore hard to follow.  Let's do it the stupid but safe way.

ok jsing
</content>
</entry>
<entry>
<title>Strip out all of the pkey to sigalg and sigalg to pkey linkages.</title>
<updated>2019-03-25T17:33:26+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-03-25T17:33:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=97b045dbcc34049cb190d3b235aaed0155c5e995'/>
<id>urn:sha1:97b045dbcc34049cb190d3b235aaed0155c5e995</id>
<content type='text'>
These are no longer used now that we defer signature algorithm selection.

ok beck@
</content>
</entry>
<entry>
<title>Add a chain member to CERT_PKEY and provide functions for manipulating it.</title>
<updated>2019-03-25T16:24:57+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-03-25T16:24:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cbd40c552faece60c03861dd621cfc2a96dca55e'/>
<id>urn:sha1:cbd40c552faece60c03861dd621cfc2a96dca55e</id>
<content type='text'>
Note that this is not the full chain, as the leaf certificate currently
remains in the x509 member of CERT_PKEY. Unfortunately we've got to
contend with the fact that some OpenSSL *_chain_* APIs exclude the leaf
certificate while others include it...

ok beck@ tb@
</content>
</entry>
<entry>
<title>Revert previous - the default sigalg for RSA key exchange is {sha1,rsa}.</title>
<updated>2018-11-19T14:42:01+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-11-19T14:42:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c3a30b06a9f99ca44c239bb7aba269feaa58256e'/>
<id>urn:sha1:c3a30b06a9f99ca44c239bb7aba269feaa58256e</id>
<content type='text'>
In TLSv1.2, if the client does not send a signature algorithms extension
then for RSA key exchange a signature algorithm of {sha1,rsa} is implied.
The MD5+SHA1 hash only applies to older versions of TLS, which do not
support sigalgs.
</content>
</entry>
<entry>
<title>Unbreak legacy ciphers for prior to 1.1 by setting having a legacy</title>
<updated>2018-11-16T02:41:16+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2018-11-16T02:41:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=69bf77d3b518cd8ed78eef6ac0fe903148c8fa95'/>
<id>urn:sha1:69bf77d3b518cd8ed78eef6ac0fe903148c8fa95</id>
<content type='text'>
sigalg for MD5_SHA1 and using it as the non sigalgs default
ok jsing@
</content>
</entry>
<entry>
<title>Stop keeping track of sigalgs by guessing it from digest and pkey,</title>
<updated>2018-11-10T01:19:09+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2018-11-10T01:19:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a63c042c294065378076f342043234c8efa620b2'/>
<id>urn:sha1:a63c042c294065378076f342043234c8efa620b2</id>
<content type='text'>
just keep the sigalg around so we can remember what we actually
decided to use.
ok jsing@
</content>
</entry>
<entry>
<title>Stop pretending that a cert member in a SSL and SSL_CTX can be NULL.</title>
<updated>2018-11-08T20:55:18+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-11-08T20:55:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c763627af1fbaca531b187d8fe0fc8c5eadfea85'/>
<id>urn:sha1:c763627af1fbaca531b187d8fe0fc8c5eadfea85</id>
<content type='text'>
ok beck@ tb@
</content>
</entry>
</feed>
