[issue18143] ssl.get_default_verify_paths()

Christian Heimes report at bugs.python.org
Wed Jun 5 18:25:59 CEST 2013


Christian Heimes added the comment:

I forgot that a SimpleNamespace is an unorder collection. However the order is significant. OpenSSL uses the cafile first and ignores capath if a cert in cafile matches. The path to cafile or capath is ignored when the environment key exists -- even when it doesn't point to any existing file or directory.

I think a named tuple is better here.

----------

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


More information about the Python-bugs-list mailing list