diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-01-08 16:09:41 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-01-08 16:09:41 +0100 |
commit | 959b04bc0e9d23daa51f75130c7d3eeacd91e52c (patch) | |
tree | a29767bdd1320b106a081bc1265b899eac6bb5b8 | |
parent | 74d9f1ba37010face4bd1449df4d60dd84450b06 (diff) | |
download | busybox-w32-959b04bc0e9d23daa51f75130c7d3eeacd91e52c.tar.gz busybox-w32-959b04bc0e9d23daa51f75130c7d3eeacd91e52c.tar.bz2 busybox-w32-959b04bc0e9d23daa51f75130c7d3eeacd91e52c.zip |
tls: add comment about dl.fedoraproject.org needing secp256r1 ECC curve
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/tls.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/networking/tls.c b/networking/tls.c index b90f45e8b..db0034e66 100644 --- a/networking/tls.c +++ b/networking/tls.c | |||
@@ -1531,9 +1531,17 @@ static void send_client_hello_and_alloc_hsd(tls_state_t *tls, const char *sni) | |||
1531 | 0x00,0x04, //ext len | 1531 | 0x00,0x04, //ext len |
1532 | 0x00,0x02, //list len | 1532 | 0x00,0x02, //list len |
1533 | 0x00,0x1d, //curve_x25519 (RFC 7748) | 1533 | 0x00,0x1d, //curve_x25519 (RFC 7748) |
1534 | //0x00,0x1e, //curve_x448 (RFC 7748) | ||
1534 | //0x00,0x17, //curve_secp256r1 | 1535 | //0x00,0x17, //curve_secp256r1 |
1535 | //0x00,0x18, //curve_secp384r1 | 1536 | //0x00,0x18, //curve_secp384r1 |
1536 | //0x00,0x19, //curve_secp521r1 | 1537 | //0x00,0x19, //curve_secp521r1 |
1538 | //TODO: implement secp256r1 (at least): dl.fedoraproject.org immediately aborts | ||
1539 | //if only x25519/x448 are advertised, seems to support only secpNNNr1 curves: | ||
1540 | // openssl s_client -connect dl.fedoraproject.org:443 -debug -tls1_2 -cipher ECDHE-RSA-AES128-GCM-SHA256 | ||
1541 | //Peer signing digest: SHA512 | ||
1542 | //Peer signature type: RSA | ||
1543 | //Server Temp Key: ECDH, P-256, 256 bits | ||
1544 | //TLSv1.2, Cipher is ECDHE-RSA-AES128-GCM-SHA256 | ||
1537 | }; | 1545 | }; |
1538 | //static const uint8_t signature_algorithms[] = { | 1546 | //static const uint8_t signature_algorithms[] = { |
1539 | // 000d | 1547 | // 000d |