1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

Remove fido2 google.com workaround (#16347)

Updates the transports property in the credential creation response
to only include "internal" and "hybrid" transports.
This commit is contained in:
Anders Åberg
2025-09-18 10:32:25 +02:00
committed by GitHub
parent ba817f0389
commit 3a2bee9444

View File

@@ -251,8 +251,7 @@ export class Fido2ClientService<ParentWindowReference>
clientDataJSON: Fido2Utils.bufferToString(clientDataJSONBytes),
publicKey: Fido2Utils.bufferToString(makeCredentialResult.publicKey),
publicKeyAlgorithm: makeCredentialResult.publicKeyAlgorithm,
transports:
params.rp.id === "google.com" ? ["internal", "usb", "hybrid"] : ["internal", "hybrid"],
transports: ["internal", "hybrid"],
extensions: { credProps },
};
}