1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-03-02 03:41:09 +01:00
bitwarden-browser/libs/common/src/platform/state
Matt Gibson 56bffb04bb
Ps/pm 5533/migrate decrypted user key (#7970)
* Move user key memory state to state providers

Note: state service observable change is because these updates are no longer internal to the class, but reporter directly to account service through crypto service on update of a user key

* remove decrypted user key state

Note, we're going to move the encrypted cryptoSymmetric key (and associated master key encrypted user keys)  as part of the master key service creation. Crypto service will no longer be responsible for the encrypted forms of user key.

* Deprecate notices belong on abstraction

* Allow for single-direction status updates

This is necessary since we don't want to have to guarantee that the update to logged out occurs after the update to locked.

* Remove deprecated subject

It turns out the set for cryptoMasterKey was also unused 🎉
2024-02-22 15:07:26 -05:00
..
implementations ActiveUserState Update should return the userId of the impacted user. (#7869) 2024-02-08 14:54:15 -05:00
storage JSON stringify memory items (#7731) 2024-01-29 19:42:58 +00:00
derive-definition.spec.ts [PM-5533] Migrate Asymmetric User Keys to State Providers (#7665) 2024-02-14 15:04:08 -05:00
derive-definition.ts [PM-5533] Migrate Asymmetric User Keys to State Providers (#7665) 2024-02-14 15:04:08 -05:00
derived-state.provider.ts Remove unnecessary complex types (#7451) 2024-01-04 16:50:55 -05:00
derived-state.ts Rework derived state (#7290) 2024-01-04 14:47:49 -05:00
global-state.provider.ts Add State Provider Framework (#6640) 2023-11-09 17:06:42 -05:00
global-state.ts [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00
index.ts Rework derived state (#7290) 2024-01-04 14:47:49 -05:00
key-definition.spec.ts [PM-5829] Add disk-local option for web (#7669) 2024-01-25 12:48:51 -05:00
key-definition.ts [PM-5829] Add disk-local option for web (#7669) 2024-01-25 12:48:51 -05:00
state-definition.ts [PM-5829] Add disk-local option for web (#7669) 2024-01-25 12:48:51 -05:00
state-definitions.spec.ts [PM-5829] Add disk-local option for web (#7669) 2024-01-25 12:48:51 -05:00
state-definitions.ts Ps/pm 5533/migrate decrypted user key (#7970) 2024-02-22 15:07:26 -05:00
state-update-options.ts [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00
state.provider.ts [PM-5533] Migrate Asymmetric User Keys to State Providers (#7665) 2024-02-14 15:04:08 -05:00
user-state.provider.ts Allow common get and set operations from state providers (#7824) 2024-02-06 11:35:22 -05:00
user-state.ts ActiveUserState Update should return the userId of the impacted user. (#7869) 2024-02-08 14:54:15 -05:00