Nitrokey / pynitrokey

Python client for Nitrokey devices
Apache License 2.0
94 stars 28 forks source link

fido2: Handle invalid PIN in credential management #531

Open robin-nitrokey opened 2 months ago

robin-nitrokey commented 2 months ago

The credential management commands should handle the PIN_INVALID error code and show an error message for it instead of just raising the exception.

https://github.com/Nitrokey/pynitrokey/blob/600527eac2acb25e811a8e1bbedf8d4a09431b28/pynitrokey/fido2/client.py#L372-L382