[issue17134] Use Windows' certificate store for CA certs

Christian Heimes report at bugs.python.org
Wed Oct 9 22:29:06 CEST 2013


Christian Heimes added the comment:

The current implementation doesn't check the trust settings and purpose of certs.

CertGetCertificateContextProperty() with CERT_ENHKEY_USAGE_PROP_ID returns a ASN.1 structure. I just have to figure out how to parse the CTL_USAGE struct ...

http://msdn.microsoft.com/en-us/library/aa376079%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/aa381493%28v=vs.85%29.aspx
http://www.alvestrand.no/objectid/1.3.6.1.5.5.7.3.html

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17134>
_______________________________________


More information about the Python-bugs-list mailing list