This patch tries to provide better SSL errors by using OpenSSL's official mnemonics. The sub-library mnemonic (e.g. "SSL", "PEM"...) is provided as the "library" attribute on an exception, and the reason mnemonic (e.g. "CERTIFICATE_VERIFY_FAILED") is provided as the "reason" attribute. I'm welcoming of any comments or suggestions.
There it is, Georg :) As mentioned in the commit message, this unfortunately creates a reference leak, which is apparently related to the use of the stable ABI.
History
Date
User
Action
Args
2022-04-11 14:57:30
admin
set
github: 59042
2012-06-22 19:21:53
pitrou
set
status: open -> closedresolution: fixedmessages: + stage: resolved