From c3a2d3a536c12f3648e8945d8cd4090c5ad33a65 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 2 Oct 2018 09:06:03 -0400 Subject: [PATCH] default iterations when registering is now 100k --- src/angular/components/register.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/angular/components/register.component.ts b/src/angular/components/register.component.ts index 7ed96d4144a..6a6dc96e6d7 100644 --- a/src/angular/components/register.component.ts +++ b/src/angular/components/register.component.ts @@ -60,7 +60,7 @@ export class RegisterComponent { this.name = this.name === '' ? null : this.name; this.email = this.email.trim().toLowerCase(); const kdf = KdfType.PBKDF2_SHA256; - const kdfIterations = 5000; + const kdfIterations = 100000; const key = await this.cryptoService.makeKey(this.masterPassword, this.email, kdf, kdfIterations); const encKey = await this.cryptoService.makeEncKey(key); const hashedPassword = await this.cryptoService.hashPassword(this.masterPassword, key);