This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes
Date 2016-11-15.11:01:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479207688.81.0.066994858547.issue28695@psf.upfronthosting.co.za>
In-reply-to
Content
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);
History
Date User Action Args
2016-11-15 11:01:28christian.heimessetrecipients: + christian.heimes
2016-11-15 11:01:28christian.heimessetmessageid: <1479207688.81.0.066994858547.issue28695@psf.upfronthosting.co.za>
2016-11-15 11:01:28christian.heimeslinkissue28695 messages
2016-11-15 11:01:28christian.heimescreate