[issue41183] Workaround or fix for SSL ".._KEY_TOO_SMALL" test failures
Larry Hastings
report at bugs.python.org
Thu Jul 2 03:27:53 EDT 2020
Larry Hastings <larry at hastings.org> added the comment:
Christian: Help! Again!
I merged your PR, pulled a fresh copy, built it, and ran the test suite. I get seven failures in I think the same modules.
Most of the failures are either "ssl.SSLError: [SSL] internal error (_ssl.c:728)", or some flavor of "OSError: [Errno 0] Error". Sadly not helpful.
But! Occasionally the test suite prints a very telling error:
ssl.SSLError: [SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:3233)
Attached is the output of running just those seven tests. (One test is now working, not sure why.)
Obviously these tests pass on the buildbots, I assume that's because their OpenSSL is slightly older. But I don't think I can ship 3.5.10rc1 if it won't build with current OpenSSL.
You should be able to simply pull the current 3.5 head (d565be84993a3d618add139cf21038e12c60a13e) to reproduce the error.
----------
title: Workaround or fix for SSL "EE_KEY_TOO_SMALL" test failures -> Workaround or fix for SSL ".._KEY_TOO_SMALL" test failures
Added file: https://bugs.python.org/file49286/failures
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41183>
_______________________________________
More information about the Python-bugs-list
mailing list