<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/ssl_sigalgs.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-05-09T16:52:15+00:00</updated>
<entry>
<title>Forcibly ensure that only PSS may be used with RSA in TLS 1.3.</title>
<updated>2020-05-09T16:52:15+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2020-05-09T16:52:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b60935caafce85d413353f003f520d0bd0abad6b'/>
<id>urn:sha1:b60935caafce85d413353f003f520d0bd0abad6b</id>
<content type='text'>
This prevents us from incorrectly choosing a PKCS1 based signature
if the client advertises support for them but also prefers them to
PSS such as appears to be the case with gnuTLS.
ok jsing@
</content>
</entry>
<entry>
<title>Correct subtle bug in sigalgs, only care about curve_nid if we are</title>
<updated>2019-04-01T02:09:21+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2019-04-01T02:09:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5c3b06261b92569c576cf596d4ef856d59cd4cfd'/>
<id>urn:sha1:5c3b06261b92569c576cf596d4ef856d59cd4cfd</id>
<content type='text'>
checking the curve.
ok jsing@ tb@
</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>Defer sigalgs selection until the certificate is known.</title>
<updated>2019-03-25T17:21:18+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-03-25T17:21:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c46928243f6c8aa22e46219e22df33de006a501f'/>
<id>urn:sha1:c46928243f6c8aa22e46219e22df33de006a501f</id>
<content type='text'>
Previously the signature algorithm was selected when the TLS extension was
parsed (or the client received a certificate request), however the actual
certificate to be used is not known at this stage. This leads to various
problems, including the selection of a signature algorithm that cannot be
used with the certificate key size (as found by jeremy@ via ruby regress).

Instead, store the signature algorithms list and only select a signature
algorithm when we're ready to do signature generation.

Joint work with beck@.
</content>
</entry>
<entry>
<title>Avoid an internal 2 byte overread in ssl_sigalgs().</title>
<updated>2019-03-19T16:56:04+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2019-03-19T16:56:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1517415bce5f040c30f534901ec426684cfa80a4'/>
<id>urn:sha1:1517415bce5f040c30f534901ec426684cfa80a4</id>
<content type='text'>
Found by oss-fuzz, fixes issue #13797.

ok beck@ tb@
</content>
</entry>
<entry>
<title>Remove SHA224 based sigalgs from use in TLS 1.2 as SHA224 is deprecated.</title>
<updated>2019-01-24T00:07:58+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2019-01-24T00:07:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0c4d3f4e4b1febe6578a3147f00c5604cbbba167'/>
<id>urn:sha1:0c4d3f4e4b1febe6578a3147f00c5604cbbba167</id>
<content type='text'>
Remove GOST based sigalgs from TLS 1.2 since they don't work with TLS 1.2.
ok jsing@
</content>
</entry>
<entry>
<title>Correct ECDSA_SECP512R1 typo to ECDSA_SECP521R1</title>
<updated>2019-01-23T23:47:13+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2019-01-23T23:47:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0a4b909395f2a5effee0b6326c75021b6d4a9968'/>
<id>urn:sha1:0a4b909395f2a5effee0b6326c75021b6d4a9968</id>
<content type='text'>
spotted by naddy@
</content>
</entry>
<entry>
<title>Modify sigalgs extension processing to accomodate TLS 1.3.</title>
<updated>2019-01-23T18:39:28+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2019-01-23T18:39:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5b044ab96482aee07d5182930013d4e606d4740d'/>
<id>urn:sha1:5b044ab96482aee07d5182930013d4e606d4740d</id>
<content type='text'>
- Make a separate sigalgs list for TLS 1.3 including only modern
algorithm choices which we use when the handshake will not negotiate
TLS 1.2.
- Modify the legacy sigalgs for TLS 1.2 to include the RSA PSS algorithms as
mandated by RFC8446 when the handshake will permit negotiation of TLS 1.2
from a 1.3 handshake.
ok jsing@ tb@
</content>
</entry>
<entry>
<title>revert previous, accidentally contained another diff in addition</title>
<updated>2019-01-23T18:24:40+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2019-01-23T18:24:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9a6a5e403c8b66eb5bbc3532a5f1b5e325b172c1'/>
<id>urn:sha1:9a6a5e403c8b66eb5bbc3532a5f1b5e325b172c1</id>
<content type='text'>
to the one I intended to commit
</content>
</entry>
<entry>
<title>Modify sigalgs extension processing for TLS 1.3.</title>
<updated>2019-01-23T16:46:04+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2019-01-23T16:46:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=eb8cfbe6972b8b99de20acf4ed8e9b7ffc9b22df'/>
<id>urn:sha1:eb8cfbe6972b8b99de20acf4ed8e9b7ffc9b22df</id>
<content type='text'>
- Make a separate sigalgs list for TLS 1.3 including only modern
  algorithm choices which we use when the handshake will not negotiate
  TLS 1.2
- Modify the legacy sigalgs for TLS 1.2 to include the RSA PSS algorithms as
  mandated by RFC8446 when the handshake will permit negotiation of TLS 1.2
ok jsing@ tb@
</content>
</entry>
</feed>
