clients/libs
Bernd Schoolmann fa584f76b4
[PM-24683] Move change kdf service to SDK implementation (#16001)
* 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

* Move change kdf to sdk

* Update tests

* Fix tests

* Clean up sdk mapping

* Clean up tests

* Check the argument to make_update_kdf

* Fix mock data

* Fix tests

* Fix relative imports

---------

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-10-20 10:37:19 +00:00
..
.vscode Multi root workspace tweaks (#2858) 2022-06-13 21:39:36 -05:00
admin-console build: add nx configuration in libs/admin-console (#16538) 2025-09-24 11:20:18 +01:00
angular [PM-24683] Move change kdf service to SDK implementation (#16001) 2025-10-20 10:37:19 +00:00
assets [CL-874] Replace or ignore hardcoded colors in svgs (#16871) 2025-10-18 16:46:24 -04:00
auth feat(auth-tech-debt): [PM-24103] Remove Get User Key to UserKey$ (#16589) 2025-10-16 14:30:10 -04:00
billing build: add nx configuration in libs/billing (#16542) 2025-09-25 09:00:36 +01:00
client-type fix(basic-lib generator): Ensure all project.json files have a rootDir value (#16384) 2025-09-22 12:32:23 -04:00
common [PM-24683] Move change kdf service to SDK implementation (#16001) 2025-10-20 10:37:19 +00:00
components [CL-874] Replace or ignore hardcoded colors in svgs (#16871) 2025-10-18 16:46:24 -04:00
core-test-utils fix(basic-lib generator): Ensure all project.json files have a rootDir value (#16384) 2025-09-22 12:32:23 -04:00
dirt/card build: add nx configuration in libs/dirt/card (#16562) 2025-09-23 12:13:52 -05:00
eslint [CL-846] forbid hardcoded colors in svg (#16167) 2025-09-10 22:22:39 -04:00
guid fix(basic-lib generator): Ensure all project.json files have a rootDir value (#16384) 2025-09-22 12:32:23 -04:00
importer Import: Migrate input to handle and validate organization (#16920) 2025-10-17 14:45:59 +00:00
key-management [PM-24683] Move change kdf service to SDK implementation (#16001) 2025-10-20 10:37:19 +00:00
key-management-ui [PM-24128] New Pin service, using PasswordProtectedKeyEnvelope (#15863) 2025-10-17 16:30:29 +02:00
logging fix(basic-lib generator): Ensure all project.json files have a rootDir value (#16384) 2025-09-22 12:32:23 -04:00
messaging fix(basic-lib generator): Ensure all project.json files have a rootDir value (#16384) 2025-09-22 12:32:23 -04:00
node [PM-21033/PM-22863] User Encryption v2 (#14942) 2025-10-10 23:04:47 +02:00
nx-plugin fix(basic-lib generator): Ensure all project.json files have a rootDir value (#16384) 2025-09-22 12:32:23 -04:00
platform build: add nx configuration in libs/platform (#16546) 2025-09-23 16:33:22 -05:00
pricing [PM-24033]Implement Subscription Settings UI with Premium and Families Cards (#16822) 2025-10-15 13:31:10 -05:00
serialization fix(basic-lib generator): Ensure all project.json files have a rootDir value (#16384) 2025-09-22 12:32:23 -04:00
shared Implement and extend tsconfig.base across projects (#14554) 2025-06-02 20:38:17 +00:00
state [PM-25488] Badge stays after lock when using pin (#16436) 2025-10-03 09:01:49 +02:00
state-internal [PM-25660] UserKeyDefinition.clearOn doesn't clear data in some cases (#16799) 2025-10-17 09:25:49 +02:00
state-test-utils fix(basic-lib generator): Ensure all project.json files have a rootDir value (#16384) 2025-09-22 12:32:23 -04:00
storage-core fix(basic-lib generator): Ensure all project.json files have a rootDir value (#16384) 2025-09-22 12:32:23 -04:00
storage-test-utils fix(basic-lib generator): Ensure all project.json files have a rootDir value (#16384) 2025-09-22 12:32:23 -04:00
tools add export related code changes (#16789) 2025-10-15 09:07:59 -07:00
ui build: add nx configuration in libs/ui/common (#16563) 2025-09-23 14:19:49 -04:00
user-core fix(basic-lib generator): Ensure all project.json files have a rootDir value (#16384) 2025-09-22 12:32:23 -04:00
vault feat(policies): PM-19311 Enforce URI Match Defaults organization policy (#16430) 2025-10-17 07:58:17 -07:00