Bernd Schoolmann
a860f218bd
[PM-24128] New Pin service, using PasswordProtectedKeyEnvelope ( #15863 )
...
* fix: broken SDK interface
* Fix all compile errors related to uuids
* Update usages of sdk to type-safe SDK type
* Update sdk version
* Update to "toSdk"
* Move pin service to km ownership
* Run format
* Eslint
* Fix tsconfig
* Fix imports and test
* Clean up imports
* Pin tmp
* Initial version of updated pin service
* Add tests
* Rename function
* Clean up logging
* Fix imports
* Fix cli build
* Fix browser desktop
* Fix tests
* Attempt to fix
* Fix build
* Fix tests
* Fix browser build
* Add missing empty line
* Fix linting
* Remove non-required change
* Missing newline
* Re-add comment
* Undo change to file
* Fix missing empty line
* Cleanup
* Cleanup
* Cleanup
* Cleanup
* Switch to replaysubject
* Add comments
* Fix tests
* Run prettier
* Undo change
* Fix browser
* Fix circular dependency on browser
* Add missing clear ephemeral pin
* Address feedback
* Update docs
* Simplify sdk usage in pin service
* Replace with mock sdk
* Update sdk
* Initialize pin service via unlock instead of listening to keyservice
* Cleanup
* Fix test
* Prevent race condition with userkey not being set
* Filter null userkeys
* [PM-24124] Pin State Service (#16641 )
* add pin-state.service
* add remaining tests
* improve description for clearEphemeralPinState
* rename getUserKeyWrappedPin$ to userKeyWrappedPin$
* drop temp variable in setPinState
* add new test and remove copied one
* Fix dep cycle
* Fix tests and remaining build issues
* Fix cli build
* Add comments about functions not being public API
---------
Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com >
Co-authored-by: Hinton <hinton@users.noreply.github.com >
Co-authored-by: Jake Fink <jfink@bitwarden.com >
2025-10-17 16:30:29 +02:00