mirror of
https://github.com/bitwarden/clients.git
synced 2026-02-10 02:44:12 +08:00
* Implement automatic kdf upgrades * Fix kdf config not being updated * Update legacy kdf state on master password unlock sync * Fix cli build * Fix * Deduplicate prompts * Fix dismiss time * Fix default kdf setting * Fix build * Undo changes * Fix test * Fix prettier * Fix test * Update libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com> * Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com> * Update libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com> * Only sync when there is at least one migration * Relative imports * Add tech debt comment * Resolve inconsistent prefix * Clean up * Update docs * Use default PBKDF2 iteratinos instead of custom threshold * Undo type check * Fix build * Add comment * Cleanup * Cleanup * Address component feedback * Use isnullorwhitespace * Fix tests * Allow migration only on vault * Fix tests * Run prettier * Fix tests * Prevent await race condition * Fix min and default values in kdf migration * Run sync only when a migration was run * Update libs/common/src/key-management/encrypted-migrator/default-encrypted-migrator.ts Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com> * Fix link not being blue * Fix later button on browser --------- Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
56 lines
1.6 KiB
HTML
56 lines
1.6 KiB
HTML
<form [bitSubmit]="submit" [formGroup]="migrationPasswordForm">
|
|
<bit-dialog>
|
|
<div class="tw-font-semibold" bitDialogTitle>
|
|
{{ "updateEncryptionSettingsTitle" | i18n }}
|
|
</div>
|
|
<div bitDialogContent>
|
|
<p>
|
|
{{ "updateEncryptionSettingsDesc" | i18n }}
|
|
<a
|
|
bitLink
|
|
href="https://bitwarden.com/help/kdf-algorithms/"
|
|
target="_blank"
|
|
rel="noreferrer"
|
|
aria-label="external link"
|
|
>
|
|
{{ "learnMore" | i18n }}
|
|
<i class="bwi bwi-external-link" aria-hidden="true"></i>
|
|
</a>
|
|
</p>
|
|
<bit-form-field>
|
|
<bit-label>{{ "masterPass" | i18n }}</bit-label>
|
|
<bit-hint>{{ "confirmIdentityToContinue" | i18n }}</bit-hint>
|
|
<input
|
|
class="tw-font-mono"
|
|
bitInput
|
|
type="password"
|
|
formControlName="masterPassword"
|
|
[attr.title]="'masterPass' | i18n"
|
|
/>
|
|
<button
|
|
type="button"
|
|
bitIconButton
|
|
bitSuffix
|
|
bitPasswordInputToggle
|
|
[attr.title]="'toggleVisibility' | i18n"
|
|
[attr.aria-label]="'toggleVisibility' | i18n"
|
|
></button>
|
|
</bit-form-field>
|
|
</div>
|
|
<ng-container bitDialogFooter>
|
|
<button
|
|
type="submit"
|
|
bitButton
|
|
bitFormButton
|
|
buttonType="primary"
|
|
[disabled]="migrationPasswordForm.invalid"
|
|
>
|
|
<span>{{ "updateSettings" | i18n }}</span>
|
|
</button>
|
|
<button type="button" bitButton bitFormButton buttonType="secondary" bitDialogClose>
|
|
{{ "later" | i18n }}
|
|
</button>
|
|
</ng-container>
|
|
</bit-dialog>
|
|
</form>
|