OpenSSL 3.0.0: password callback called multiple times #87955
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee = 'https://github.com/tiran' closed_at = None created_at = <Date 2021-04-09.12:06:06.407> labels = ['expert-SSL', 'type-bug', '3.8', '3.9', '3.10'] title = 'OpenSSL 3.0.0: password callback called multiple times' updated_at = <Date 2021-04-09.14:56:32.329> user = 'https://github.com/tiran'
activity = <Date 2021-04-09.14:56:32.329> actor = 'christian.heimes' assignee = 'christian.heimes' closed = False closed_date = None closer = None components = ['SSL'] creation = <Date 2021-04-09.12:06:06.407> creator = 'christian.heimes' dependencies =  files =  hgrepos =  issue_num = 43789 keywords = ['patch'] message_count = 5.0 messages = ['390608', '390619', '390622', '390633', '390634'] nosy_count = 2.0 nosy_names = ['christian.heimes', 'miss-islington'] pr_nums = ['25303', '25305', '25306'] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue43789' versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
The text was updated successfully, but these errors were encountered:
OpenSSL 3.0.0 seems to invoke the password callback multiple times under some circumstances. This triggers a fatal error in Python when the first invocation sets an exception.
test_load_cert_chain (test.test_ssl.ContextTests) ... Fatal Python error: _PyEval_EvalFrameDefault: a function returned a result with an exception set
Current thread 0x00007fa88787f740 (most recent call first):
Extension modules: _testcapi (total: 1)