Gilles Peskine
81d4e899a4
Don't rely on private key metadata in SSL
...
In SSL, don't use mbedtls_pk_ec or mbedtls_pk_rsa on a private
signature or decryption key (as opposed to a public key or a key used
for DH/ECDH). Extract the data (it's the same data) from the public
key object instead. This way the code works even if the private key is
opaque or if there is no private key object at all.
Specifically, with an EC key, when checking whether the curve in a
server key matches the handshake parameters, rely only on the offered
certificate and not on the metadata of the private key.
2018-04-24 09:26:03 +02:00
..
2015-06-25 10:59:56 +02:00
2018-01-02 16:24:29 +01:00
2016-05-23 14:29:28 +01:00
2016-05-23 14:29:32 +01:00
2016-10-13 13:54:14 +01:00
2016-08-25 15:42:27 +01:00
2017-02-15 23:31:07 +02:00
2017-06-08 19:48:03 +02:00
2016-05-23 14:29:32 +01:00
2016-06-07 14:52:35 +01:00
2017-04-04 11:37:15 +02:00
2017-07-27 21:44:33 +01:00
2015-09-04 14:21:07 +02:00
2017-02-15 23:31:07 +02:00
2018-01-02 15:55:55 +01:00
2017-08-10 11:51:16 +01:00
2017-02-15 23:31:07 +02:00
2017-02-15 09:08:26 +00:00
2016-05-23 14:29:32 +01:00
2017-07-27 21:44:33 +01:00
2015-09-04 14:21:07 +02:00
2017-11-17 17:09:17 +00:00
2015-10-20 16:20:56 +02:00
2017-05-11 22:42:14 +01:00
2017-07-27 21:44:33 +01:00
2016-06-12 00:31:33 +01:00
2017-11-28 18:23:53 +01:00
2018-01-02 16:24:29 +01:00
2018-01-02 16:24:29 +01:00
2016-05-23 23:18:26 +01:00
2015-09-04 14:21:07 +02:00
2016-10-13 13:51:09 +01:00
2017-02-15 23:31:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2016-05-23 14:29:29 +01:00
2017-11-29 20:49:21 +01:00
2016-09-04 15:14:38 +01:00
2015-09-04 14:21:07 +02:00
2017-05-30 16:40:36 +01:00
2017-08-04 13:32:15 +01:00
2017-08-04 13:32:15 +01:00
2016-08-25 16:36:35 +01:00
2015-09-04 14:21:07 +02:00
2016-05-23 14:29:28 +01:00
2017-11-30 12:03:27 +01:00
2015-10-21 12:50:45 +02:00
2017-07-27 21:44:33 +01:00
2016-08-25 16:36:35 +01:00
2017-06-08 20:31:06 +02:00
2016-05-23 14:29:32 +01:00
2016-10-13 15:10:14 +01:00
2016-10-13 15:10:14 +01:00
2017-10-29 17:53:52 +02:00
2017-07-27 21:44:33 +01:00
2017-11-29 20:50:59 +01:00
2017-03-02 12:26:11 +00:00
2018-04-24 09:26:03 +02:00
2016-07-13 14:46:18 +01:00
2017-11-29 20:50:59 +01:00
2017-07-27 21:44:32 +01:00
2017-12-20 22:31:17 +01:00
2018-01-02 16:09:15 +01:00
2015-09-04 14:21:07 +02:00
2015-10-21 12:50:45 +02:00
2017-07-27 21:44:34 +01:00
2017-07-27 21:44:34 +01:00
2017-07-27 21:44:34 +01:00
2017-10-12 23:21:37 +01:00
2017-09-22 16:05:43 +01:00
2017-09-22 16:05:43 +01:00
2015-09-04 14:21:07 +02:00