Tobias Frauenschläger
9a58301ab1
Fix PQC and hybrid certificate regressions
...
Due to recent changes in the logic to decode private keys and to parse
the TLS1.3 CertificateVerify message, some regressions regarding PQC
private keys and hybrid certificates have been introduced:
* Decoding PQC private keys fails as the PKCS8 header of a decoded DER
file is now already removed before parsing the key.
* The key size wasn't properly stored in the context for PQC keys after
decoding a certificate (always the maximum size)
* The two 16-bit size values in case of a hybrid signature in the
CertificateVerify message have been incorrectly decoded as 32-bit
values instead of 16-bit values. This resulted in wrong values,
leading to segmentation faults.
All three regressions are fixed with the changes in this commit.
Signed-off-by: Tobias Frauenschläger <t.frauenschlaeger@me.com >
2024-05-23 16:01:28 +02:00
..
2024-05-16 13:53:26 -05:00
2024-04-09 13:55:05 -06:00
2024-03-14 11:42:12 +10:00
2024-05-01 13:44:25 +10:00
2023-11-17 01:15:28 -06:00
2024-03-14 11:42:12 +10:00
2024-05-14 19:11:39 -05:00
2024-05-14 19:11:39 -05:00
2024-05-18 22:00:00 -05:00
2023-07-14 09:50:01 -05:00
2024-05-16 18:20:53 +02:00
2023-07-13 08:36:02 +10:00
2024-03-01 14:55:49 -06:00
2024-05-01 13:44:25 +10:00
2024-05-01 13:44:25 +10:00
2024-05-01 13:44:25 +10:00
2024-05-08 09:52:37 -04:00
2024-04-09 09:48:33 -06:00
2024-01-30 23:17:05 +10:00
2024-01-18 17:02:49 +01:00
2024-02-09 00:47:23 -06:00
2024-04-09 09:48:33 -06:00
2024-04-09 09:48:33 -06:00
2024-05-23 16:01:28 +02:00
2024-02-09 00:47:23 -06:00
2024-05-20 08:38:23 -07:00
2024-02-09 00:47:23 -06:00
2024-04-18 08:41:05 -06:00
2024-05-09 10:36:37 +02:00
2024-04-09 09:48:33 -06:00
2024-04-27 12:35:23 -05:00
2024-01-18 17:02:49 +01:00
2024-05-01 13:58:57 -05:00
2024-05-01 13:58:57 -05:00
2024-05-23 16:01:28 +02:00
2024-04-17 00:43:41 -05:00
2024-04-17 00:43:41 -05:00
2024-04-17 00:43:41 -05:00
2024-05-01 13:44:25 +10:00
2024-04-17 00:43:41 -05:00
2023-08-24 17:43:03 +10:00
2023-09-08 15:23:15 +10:00
2024-01-10 15:33:10 -08:00
2024-05-15 14:02:43 -04:00
2023-11-01 14:46:02 -06:00
2024-05-10 09:10:36 +10:00
2024-02-02 14:38:40 +01:00
2024-05-14 16:02:56 -04:00
2024-03-06 15:13:37 -08:00
2023-07-13 08:36:02 +10:00
2024-02-08 17:22:36 -08:00
2024-05-15 14:03:12 -05:00
2024-05-18 02:31:58 -05:00
2024-05-14 11:03:20 -04:00
2024-05-07 10:38:01 +02:00
2024-05-01 13:44:25 +10:00
2024-05-01 13:44:25 +10:00
2024-05-01 13:44:25 +10:00
2024-05-15 15:21:41 -04:00
2024-05-07 10:38:01 +02:00
2024-05-15 14:02:43 -04:00
2024-02-16 10:26:21 -06:00
2023-09-28 14:44:23 -05:00
2024-04-27 12:35:23 -05:00
2024-04-10 15:02:19 +10:00
2024-05-09 01:34:24 -04:00
2023-09-28 14:44:23 -05:00
2024-05-15 08:06:06 -07:00
2024-04-09 09:48:33 -06:00
2024-03-05 22:23:20 +10:00
2023-10-13 08:14:15 +10:00
2023-10-13 08:14:15 +10:00
2023-10-13 08:14:15 +10:00
2023-10-13 08:14:15 +10:00
2024-02-29 02:11:32 -06:00
2024-02-29 02:11:32 -06:00
2024-02-29 02:11:32 -06:00
2024-02-29 02:11:32 -06:00
2024-02-29 02:11:32 -06:00
2024-02-29 02:11:32 -06:00
2024-02-29 02:11:32 -06:00
2024-05-14 09:41:06 +10:00
2023-10-13 08:14:15 +10:00
2023-10-13 08:14:15 +10:00
2023-10-13 08:14:15 +10:00
2023-10-13 08:14:15 +10:00
2023-10-13 08:14:15 +10:00
2023-10-13 08:14:15 +10:00
2023-10-13 08:14:15 +10:00
2023-10-13 08:14:15 +10:00
2023-11-07 16:12:07 +10:00
2023-11-07 16:12:07 +10:00
2024-02-29 02:11:32 -06:00
2024-05-23 16:01:28 +02:00
2024-03-17 23:31:37 +07:00
2024-02-29 02:11:32 -06:00
2024-05-14 16:27:36 +10:00
2024-03-14 09:14:50 +10:00
2024-04-02 10:19:39 -05:00
2024-03-28 09:14:53 -07:00
2024-05-03 15:43:22 +10:00
2024-05-03 15:43:22 +10:00
2023-09-15 15:18:11 +02:00
2024-05-07 10:38:01 +02:00
2024-05-21 13:57:40 -05:00
2024-05-03 15:43:22 +10:00
2023-09-08 16:34:04 -04:00
2024-05-14 09:41:06 +10:00