nabla-c0d3 / nassl

Experimental OpenSSL wrapper for Python 3.8+ and SSLyze.
GNU Affero General Public License v3.0
39 stars 35 forks source link

Fix support for enabling Brainpool curves in SslClient #104

Open nabla-c0d3 opened 1 year ago

nabla-c0d3 commented 1 year ago

Brainpool-related constants have been added to nassl, but right now they can only be used to detect when a server is using Brainpool curves.

Trying to enable the Brainpool curves using SslClient.set_groups() currently triggers an OpenSslError: https://github.com/nabla-c0d3/nassl/commit/662d1f4270f0052480c093f2f827a251bb5352c7#diff-5a72a6ef501b66068212269ba8bc698006849888af05c7aaabe83a5197ae84c9R21