-
-
Notifications
You must be signed in to change notification settings - Fork 31.2k
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
Add SSL_CTX_set_client_cert_engine #72881
Comments
Python's ssl module does not support smartcard authentication of clients. ENGINE *e = ENGINE_by_id(engine_id); |
Why not to call OPENSSL_config() to use openssl.cnf? --- ./Modules/_ssl.c.orig 2016-12-21 23:30:36.277184891 +0300
+++ ./Modules/_ssl.c 2016-12-21 23:35:18.488508435 +0300
@@ -4514,6 +4514,8 @@
PySocketModule = *socket_api;
/* Init OpenSSL */
+ OPENSSL_config(NULL);
+
SSL_load_error_strings();
SSL_library_init();
#ifdef WITH_THREAD (Patch for example, for 3.5.2 source, not try to compile) |
OPENSSL_config() is deprecated. I'm going to wrap CONF_modules_load_file(), CONF_modules_load() and NCONF_load_bio(). |
What about using OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG, NULL) instead of OPENSSL_config()? |
Is there any news? |
I haven't started to design the new feature yet. Since it is going to be a new feature and feature freeze of 3.7 is 2018-01-29, I'm going to start working on new stuff around in April or May for PyCon. |
Ok, thank you. |
Hello, |
Any update on this? Can you share if it's possible to have a local patch to enable this? |
3.13.0 is out. Any update to this? |
Would also really appreciate it to get Mutual TLS handshake done using yubikey PIV |
mTLS handshake example with asyncio tested on the TPM device on a regular laptop available here: tpm2-software/tpm2-tools#3461 |
I guess tpm is somehow different then (proper) smartcards. They are designed to prevent you from obtaining the private key that's stored on it. So there is no way to put it into a .pem file. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: