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
1 changed files with 4 additions and 1 deletions

View File

@ -246,7 +246,10 @@ export class LoginViaAuthRequestComponent
const deviceIdentifier = await this.appIdService.getAppId(); const deviceIdentifier = await this.appIdService.getAppId();
const publicKey = Utils.fromBufferToB64(this.authRequestKeyPair.publicKey); 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 = ( this.fingerprintPhrase = (
await this.cryptoService.getFingerprint(this.email, this.authRequestKeyPair.publicKey) await this.cryptoService.getFingerprint(this.email, this.authRequestKeyPair.publicKey)