Yubico / python-fido2

Provides library functionality for FIDO 2.0, including communication with a device over USB.
BSD 2-Clause "Simplified" License
432 stars 109 forks source link

Wrap invalid signature in authentication #49

Closed ziima closed 5 years ago

ziima commented 5 years ago

Fido2Server.authentication_complete may raise InvalidSignature from cryptography library. I wrap this exception into a ValueError which is returned in all other error cases.

dainnilsson commented 5 years ago

Thanks!