Closed sethmlarson closed 4 months ago
@notatallshaw Thanks for the link, I'll give that a try :)
@davisagli I believe what's happening is that we're seeing one type (bytes
) from get_unverified_chain()
for MemoryBIO
and another type (_ssl.Certificate
) from SSLSocket
which is why I added the isinstance
check.
@davisagli Definitely, here's the upstream issue: https://github.com/python/cpython/issues/118658
FYI, cffi needs to be installed from Github source for Python 3.13 until their next release, like in this PR: https://github.com/pypa/pip/pull/12620