diff options
author | Paul Howarth <paul@city-fan.org> | 2024-07-22 15:53:09 +0100 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2024-08-11 14:38:03 -0400 |
commit | 4c5e1a90b5fbd2a09b574d999d1131c671ce352b (patch) | |
tree | ba5836f408b792d2ef4f2ddaa097c2e4ef2da95a /images/paramiko.png | |
parent | 7a8c0dc4869cac09242cfb21309b63279de4863e (diff) |
Fix detection of SHA1 signing support
e._reason is an enum from cryptography.exceptions._Reasons so "is"
should be the correct comparison, but it doesn't always work. This is
apparently triggered by _Reasons moving to the part of cryptography
that is implemented in rust, which doesn't yet implement enums as
singletons.
https://github.com/pyca/cryptography/issues/11332
https://github.com/PyO3/pyo3/issues/3059
Diffstat (limited to 'images/paramiko.png')
0 files changed, 0 insertions, 0 deletions