1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

[EC-598] feat: handle unsupported pinAuth

This commit is contained in:
Andreas Coroiu
2023-03-22 10:01:01 +01:00
parent e1833ca352
commit 260ea22adb
3 changed files with 26 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ export enum Fido2AutenticatorErrorCode {
CTAP2_ERR_CREDENTIAL_EXCLUDED,
CTAP2_ERR_UNSUPPORTED_ALGORITHM,
CTAP2_ERR_INVALID_OPTION,
CTAP2_ERR_PIN_AUTH_INVALID,
}
export class Fido2AutenticatorError extends Error {
@@ -59,4 +60,5 @@ export interface Fido2AuthenticatorMakeCredentialsParams {
rk?: boolean;
uv?: boolean;
};
pinAuth?: unknown;
}