1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 11:13:46 +00:00

[EC-598] fix: rpId validation logic

This commit is contained in:
Andreas Coroiu
2023-03-31 14:26:18 +02:00
parent 1d9dde95b7
commit e8c9b887c4
5 changed files with 117 additions and 26 deletions

View File

@@ -115,7 +115,7 @@ export class Fido2AuthenticatorService implements Fido2AuthenticatorServiceAbstr
cipher.fido2Key = await createKeyView(params, keyPair.privateKey);
const reencrypted = await this.cipherService.encrypt(cipher);
await this.cipherService.updateWithServer(reencrypted);
} catch {
} catch (error) {
throw new Fido2AutenticatorError(Fido2AutenticatorErrorCode.Unknown);
}
}