-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to set ECDH-ECDSA cipher suite on client (EVCC) side #326
Comments
Python uses OpenSSL. OpenSSL does not support ECDH-ECDSA-AES128-SHA256 in the new version. |
The Python New OpenSSL versions do not support certain ciphers like ECDH. If you need support for these ciphers, you'll need an older OpenSSL version. I recommend using OpenSSL 1.0.2j. To compile Python with OpenSSL 1.0.2j, follow these steps:
After installation, run
2.1. Download step:
2.2. Configuration step: Open the
Next, run the
2.3. Compilation step:
After the compilation is successful, you can verify that Python is using the desired OpenSSL version (1.0.2j) by running the following commands:
By following these steps, you'll compile Python 3.9.1 and link it against the OpenSSL 1.0.2j version, which supports the desired ciphers like |
Now if you want to change the Python version used by your Poetry project to the custom Python 3.9.1 installation compiled with OpenSSL 1.0.2j. consider the following steps:
This command will display the path to the Python executable used by the current Poetry environment.
After running this command, Poetry will use the specified Python installation for the current project.
[tool.poetry.dependencies]
python = "^3.9.1" This will ensure that Poetry installs dependencies compatible with Python 3.9.1.
By following these steps, you should be able to use the custom Python 3.9.1 installation compiled with OpenSSL 1.0.2j for your Poetry project. However, keep in mind that using a custom Python installation may introduce compatibility issues with some dependencies or tools that expect a system-provided Python installation. |
https://github.com/SwitchEV/iso15118/blob/5e627d335575ebf85f1ef6350a835115f12ca058/iso15118/shared/security.py#L201
When changing the EVCC supported cipher suite as
ECDH-ECDSA-AES128-SHA256
instead ofECDHE-ECDSA-AES128-SHA256
, getting the following SSL error.ssl.SSLError: ('No cipher can be selected.',)
Please let me know, how this can be achieved or any alternate ways to select ECDH cipher suite by the EVCC.
The text was updated successfully, but these errors were encountered: