mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 11:13:46 +00:00
[EC-598] feat: tweak key data to contain separate type and algorithm
This commit is contained in:
@@ -134,7 +134,8 @@ export class Fido2AuthenticatorService implements Fido2AuthenticatorServiceAbstr
|
||||
const pcks8Key = await crypto.subtle.exportKey("pkcs8", keyValue);
|
||||
|
||||
const fido2Key = new Fido2KeyView();
|
||||
fido2Key.keyType = "ECDSA";
|
||||
fido2Key.keyType = "public-key";
|
||||
fido2Key.keyAlgorithm = "ECDSA";
|
||||
fido2Key.keyCurve = "P-256";
|
||||
fido2Key.keyValue = Fido2Utils.bufferToString(pcks8Key);
|
||||
fido2Key.rpId = params.rpEntity.id;
|
||||
|
||||
Reference in New Issue
Block a user