clients/libs/auth/src/angular
Bernd Schoolmann 4b73198ce5
[PM-23230] Implement KDF Change Service (#15748)
* Add new mp service api

* Fix tests

* Add test coverage

* Add newline

* Fix type

* Rename to "unwrapUserKeyFromMasterPasswordUnlockData"

* Fix build

* Fix build on cli

* Fix linting

* Re-sort spec

* Add tests

* Fix test and build issues

* Fix build

* Clean up

* Remove introduced function

* Clean up comments

* Fix abstract class types

* Fix comments

* Cleanup

* Cleanup

* Update libs/common/src/key-management/master-password/types/master-password.types.ts

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>

* Update libs/common/src/key-management/master-password/services/master-password.service.ts

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>

* Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>

* Update libs/common/src/key-management/master-password/types/master-password.types.ts

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>

* Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>

* Add comments

* Fix build

* Add arg null check

* Cleanup

* Fix build

* Fix build on browser

* Implement KDF change service

* Deprecate encryptUserKeyWithMasterKey

* Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>

* Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>

* Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>

* Add tests for null params

* Fix builds

* Cleanup and deprecate more functions

* Fix formatting

* Prettier

* Clean up

* Update libs/key-management/src/abstractions/key.service.ts

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>

* Make emailToSalt private and expose abstract saltForUser

* Add tests

* Add docs

* Fix build

* Fix tests

* Fix tests

* Address feedback and fix primitive obsession

* Consolidate active account checks in change kdf confirmation component

* Update libs/common/src/key-management/kdf/services/change-kdf-service.spec.ts

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>

* Add defensive parameter checks

* Add tests

* Add comment for follow-up epic

* Move change kdf service, remove abstraction and add api service

* Fix test

* Drop redundant null check

* Address feedback

* Add throw on empty password

* Fix tests

* Mark change kdf service as internal

* Add abstract classes

* Switch to abstraction

* use sdk EncString in MasterPasswordUnlockData

* fix remaining tests

---------

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
Co-authored-by: Jake Fink <jfink@bitwarden.com>
2025-09-23 16:10:54 -04:00
..
fingerprint-dialog Remove standalone true from auth (#15035) 2025-06-04 09:22:37 -04:00
input-password [PM-23230] Implement KDF Change Service (#15748) 2025-09-23 16:10:54 -04:00
login feat(SSO): (Auth/[PM-22110] Remove Alternate Login Options when SSO Required (#16340) 2025-09-22 08:32:20 -07:00
login-decryption-options [PM-23621] Require userId for initAccount on the key-service (#15684) 2025-07-22 10:30:50 -05:00
login-via-auth-request fix(auth-request): [PM-24376] - Fixed bad logic for selecting which email to use to log in with. (#15875) 2025-08-04 11:44:56 -04:00
new-device-verification chore(feature flags): [PM-19034] Remove feature flags and old components for Set/Change Password 2025-07-24 12:46:18 -04:00
password-callout Remove standalone true from auth (#15035) 2025-06-04 09:22:37 -04:00
password-hint Remove standalone true from auth (#15035) 2025-06-04 09:22:37 -04:00
registration [CL-581] Update svgs to new designs and make responsive (#16219) 2025-09-10 17:23:53 -04:00
self-hosted-env-config-dialog Auth/pm 14943/auth request extension dialog approve (#16132) 2025-09-05 13:27:16 -04:00
sso feat(SSO): (Auth/[PM-22110] Remove Alternate Login Options when SSO Required (#16340) 2025-09-22 08:32:20 -07:00
two-factor-auth [PM-21772] Show key connector domain for new sso users (#15381) 2025-09-03 21:16:40 +02:00
user-verification [CL-581] Update svgs to new designs and make responsive (#16219) 2025-09-10 17:23:53 -04:00
validators fix(enums-eslint): Enum Rule for ESLint (#14650) 2025-05-13 10:07:38 -04:00
vault-timeout-input Remove standalone true from auth (#15035) 2025-06-04 09:22:37 -04:00
index.ts [CL-573] Move all svg icons to new libs/assets (#16020) 2025-08-21 11:35:59 -05:00