[webauthn] Handle CTAP2_ERR_PIN_AUTH_INVALID
According to the CTAP2 spec, devices may return CTAP2_ERR_PIN_AUTH_INVALID if internal User Verification fails on MakeCredential requests or if the PIN token is not valid on either MakeCredential or GetAssertion requests. This patch handles this code treating it as a permission denied error. Bug: 974876 Change-Id: I7565b17a98bb4cc46da086c5412be8b19b7b269d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1661486Reviewed-by:Adam Langley <agl@chromium.org> Commit-Queue: Nina Satragno <nsatragno@chromium.org> Cr-Commit-Position: refs/heads/master@{#669834}
Showing
Please register or sign in to comment