New submission from Christian Heimes: Python's ssl module does not support smartcard authentication of clients. In order to use an external engine like OpenSC's engine_pkcs11, SSLContext must be configured to use a loaded engine for client cert auth. It's really simple. Pseudo code without error reporting, engine_id is a char*:
ENGINE *e = ENGINE_by_id(engine_id); SSL_CTX_set_client_cert_engine(ctx, e); ---------- assignee: christian.heimes components: SSL messages: 280830 nosy: christian.heimes priority: normal severity: normal stage: needs patch status: open title: Add SSL_CTX_set_client_cert_engine type: behavior _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28695> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com