Skip to content

Commit

Permalink
Merge pull request #358 from Nitrokey/cred_mgmt_error
Browse files Browse the repository at this point in the history
fido2.client: Raise unhandled error in cred_mgmt
  • Loading branch information
robin-nitrokey committed Mar 28, 2023
2 parents 7badde8 + 56abed8 commit a66418b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pynitrokey/fido2/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ def cred_mgmt(self, serial, pin):
"Your device has been blocked after too many failed unlock attempts, to fix this it "
"will have to be reset. (If no pin is set, plugging it in again might fix this warning)"
)
raise

return CredentialManagement(device.ctap2, client_pin.protocol, client_token)

Expand Down

0 comments on commit a66418b

Please sign in to comment.