-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'_EllipticCurvePublicKey' object has no attribute 'verifier' #7431
Comments
In 37.0 we removed the |
The issue is here: And can be fixed with: try:
public_key.verify(sig, param, ec.ECDSA(hashes.SHA256()))
# success occurs if the previous didn't raise an exception so log success here
except InvalidSignature:
# do failure handling |
Great info Paul, thank you so much! I'll pass that along and/or give it a go myself in a build. |
Glad it worked out! |
I'm making use of cryptography through an implementation setup through Xpra, which is using pyu2f with a[n oldschool blue] Yubikey, but getting the following error:
I understand that saying something akin to 'debug an error in program X somehow tangentially related to your project' is a terrible idea so that's not my intention :)
I'm mainly looking for any insight into the cause of
AttributeError: '_EllipticCurvePublicKey' object has no attribute 'verifier'
and if it has more to do w/ cryptography or it's pointing to something Yubikey/pyu2f (or a slight possiblity, Xpra) related.Thanks for your time!
The text was updated successfully, but these errors were encountered: