1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-26 12:25:20 +01:00

specify generator algorithm during TDE (#9519)

This commit is contained in:
✨ Audrey ✨ 2024-06-05 14:58:28 -04:00 committed by GitHub
parent 6e55733873
commit bf51469404
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -246,7 +246,10 @@ export class LoginViaAuthRequestComponent
const deviceIdentifier = await this.appIdService.getAppId();
const publicKey = Utils.fromBufferToB64(this.authRequestKeyPair.publicKey);
const accessCode = await this.passwordGenerationService.generatePassword({ length: 25 });
const accessCode = await this.passwordGenerationService.generatePassword({
type: "password",
length: 25,
});
this.fingerprintPhrase = (
await this.cryptoService.getFingerprint(this.email, this.authRequestKeyPair.publicKey)