mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
default iterations when registering is now 100k
This commit is contained in:
parent
fc1bcb34a0
commit
c3a2d3a536
@ -60,7 +60,7 @@ export class RegisterComponent {
|
|||||||
this.name = this.name === '' ? null : this.name;
|
this.name = this.name === '' ? null : this.name;
|
||||||
this.email = this.email.trim().toLowerCase();
|
this.email = this.email.trim().toLowerCase();
|
||||||
const kdf = KdfType.PBKDF2_SHA256;
|
const kdf = KdfType.PBKDF2_SHA256;
|
||||||
const kdfIterations = 5000;
|
const kdfIterations = 100000;
|
||||||
const key = await this.cryptoService.makeKey(this.masterPassword, this.email, kdf, kdfIterations);
|
const key = await this.cryptoService.makeKey(this.masterPassword, this.email, kdf, kdfIterations);
|
||||||
const encKey = await this.cryptoService.makeEncKey(key);
|
const encKey = await this.cryptoService.makeEncKey(key);
|
||||||
const hashedPassword = await this.cryptoService.hashPassword(this.masterPassword, key);
|
const hashedPassword = await this.cryptoService.hashPassword(this.masterPassword, key);
|
||||||
|
Loading…
Reference in New Issue
Block a user