[issue34440] Certificate verify failed (works fine in 3.6)

2018-08-20 Thread Lennart Grahl
New submission from Lennart Grahl : When running the attached script with the attached cert, Python 3.7 raises an exception (see https://paste.pound-python.org/show/VLr84Yn2Fnz6RSKEq3ui/). In Python 3.6, the certificate is being accepted. I don't see anything wrong with the self-s

[issue34440] Certificate verify failed (works fine in 3.6)

2018-08-20 Thread Lennart Grahl
Lennart Grahl added the comment: Hi. I don't see why the certificate would not be valid for that address. Python 3.6 also accepts it without any modifications to the script. Output of openssl x509 -in cert.pem -noout -text Certificate: Data: Version: 3 (0x2) S

[issue34440] Certificate verify failed (works fine in 3.6)

2018-08-20 Thread Lennart Grahl
Lennart Grahl added the comment: Cheers! -- ___ Python tracker <https://bugs.python.org/issue34440> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27124] binascii.a2b_hex raises binascii.Error, not TypeError

2016-05-25 Thread Lennart Grahl
New submission from Lennart Grahl: When using binascii.a2b_hex (or binascii.unhexlify) and the argument is invalid, the doc states that it should raise a TypeError for invalid arguments (e.g. passing an odd-length string). However, it does raise binascii.Error instead of TypeError: try

[issue27124] binascii.a2b_hex raises binascii.Error and ValueError, not TypeError

2016-05-25 Thread Lennart Grahl
Lennart Grahl added the comment: When using binascii.a2b_hex (or binascii.unhexlify) and the argument is invalid, the doc states that it should raise a TypeError for invalid arguments (e.g. passing an odd-length string). However, it does raise binascii.Error instead of TypeError: try