diff --git a/python/requirements.txt b/python/requirements.txt index e22373ecb8fd..2a9384e4e34e 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -1,3 +1,3 @@ loguru >= 0.5, == 0.* -cryptography == 37.* +cryptography == 46.* string-color >= 1.2.1 diff --git a/src/tls/context.h b/src/tls/context.h index fc3eb7b1345e..54fafcd0fa82 100644 --- a/src/tls/context.h +++ b/src/tls/context.h @@ -57,8 +57,8 @@ namespace tls SSL_set_ciphersuites(ssl, ciphersuites); // Restrict the curves to approved ones - SSL_CTX_set1_curves_list(cfg, "P-521:P-384"); - SSL_set1_curves_list(ssl, "P-521:P-384"); + SSL_CTX_set1_curves_list(cfg, "P-521:P-384:P-256"); + SSL_set1_curves_list(ssl, "P-521:P-384:P-256"); // Initialise connection if (client)