1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
Jacob Fink
61ba9692bc migrate native messaging for biometrics to use new key model
- support backwards compatibility
- update safari web extension to send user key
- add error handling
2023-06-19 09:49:24 -04:00
Jacob Fink
7110e3cda6 fix EncString serialization issues & various fixes
Co-authored-by: Matt Gibson <MGibson1@users.noreply.github.com>
2023-06-19 09:49:24 -04:00
Jacob Fink
8353d67e1f add org key type and new method to build a data enc key for orgs 2023-06-19 09:49:23 -04:00
Jacob Fink
2789fdc393 move crypto service jsdoc to abstraction 2023-06-19 09:49:22 -04:00
Jacob Fink
92d714ae29 remove clearEncKey from crypto service 2023-06-19 09:46:43 -04:00
Jacob Fink
42db4eb0ac remove old EncKey methods from crypto service 2023-06-19 09:46:43 -04:00
Jacob Fink
9a12cb099a migrate biometrics key
- migrate only on retrieval
2023-06-19 09:46:41 -04:00
Jacob Fink
56c750d375 finish migrate auto key if needed
- migrate whenever retrieved from storage
- add back the user symmetric key toggle
2023-06-19 09:46:41 -04:00
Jacob Fink
7963d3c996 clean up the old pin keys in more flows
- in the case that the app is updated while logged in and the user changes their pin, this will clear the old pin keys
2023-06-19 09:46:40 -04:00
Jacob Fink
c2893bd0a8 migrate auto key
- add helper to internal crypto service method to migrate
2023-06-19 09:46:40 -04:00
Jacob Fink
9ce3b4976b set user symmetric key on lock component
- add missed key suffix types to crypto service methods
2023-06-19 09:46:39 -04:00
Jacob Fink
6fc7c406a4 update pin key when the user symmetric key is set
- always set the protected pin so we can recreate pin key from user symmetric key
- stop using EncryptionPair in account
- use EncString for both pin key storage
- update migration from old strategy on lock component
2023-06-19 09:46:39 -04:00
Jacob Fink
7837202180 migrate pin to use user's symmetric key instead of master key
- set up new state
- migrate on lock component
- use new crypto service methods
2023-06-19 09:46:39 -04:00
Jacob Fink
46abba2135 update vault timeout service with new crypto service 2023-06-19 09:42:54 -04:00
Jacob Fink
4772166e83 separate the user key in memory from user keys in storage 2023-06-19 09:42:51 -04:00
Jacob Fink
f0438e5dd2 add setUserSymKeyMasterKey so we can set the encrypted user sym key from server 2023-06-19 09:42:51 -04:00
Jacob Fink
820c71d1a1 update makeKeyPair on crypto service to be generic 2023-06-19 09:42:50 -04:00
Jacob Fink
6dc454e5e7 add decryption with MasterKey method to crypto service 2023-06-19 09:42:02 -04:00
Jacob Fink
acd3ef2204 remove provided key from getKeyForUserEncryption 2023-06-19 09:42:01 -04:00
Jacob Fink
4ce2a17ea4 Begin refactor of crypto service to support new key structure 2023-06-19 09:42:01 -04:00
Vincent Salucci
5cd51374d7 [AC-1416] Expose Organization Fingerprint (#5557)
* refactor: change getFingerprint param to fingerprintMaterial, refs PM-1522

* feat: generate and show fingerprint for organization (WIP), refs AC-1416

* feat: update legacy params subscription to best practice (WIP), refs AC-1461

* refactor: update to use reactive forms, refs AC-1416

* refactor: remove boostrap specific classes and update to component library paradigms, refs AC-1416

* refactor: remove boostrap specific classes and update to component library paradigms, refs AC-1416

* refactor: create shared fingerprint component to redude boilerplate for settings fingerprint views, refs AC-1416

* refactor: use grid to emulate col-6 and remove unnecessary theme extensions, refs AC-1416

* refactor: remove negative margin and clean up extra divs, refs AC-1416

* [AC-1431] Add missing UserVerificationModule import (#5555)

* [PM-2238] Add nord and solarize themes (#5491)

* Fix simple configurable dialog stories (#5560)

* chore(deps): update bitwarden/gh-actions digest to 72594be (#5523)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor: remove extra div leftover from card-body class, refs AC-1416

* refactor: use bitTypography for headers, refs AC-1416

* fix: update crypto service abstraction path, refs AC-1416

* refactor: remove try/catch on handler, remove bootstrap class, update api chaining in observable, refs AC-1416

* fix: replace faulty combineLatest logic, refs AC-1416

* refactor: simplify observable logic again, refs AC-1416

---------

Co-authored-by: Shane Melton <smelton@bitwarden.com>
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-15 21:03:48 -05:00
Matt Gibson
78248db590 Platform/pm 19/platform team file moves (#5460)
* Rename service-factory folder

* Move cryptographic service factories

* Move crypto models

* Move crypto services

* Move domain base class

* Platform code owners

* Move desktop log services

* Move log files

* Establish component library ownership

* Move background listeners

* Move background background

* Move localization to Platform

* Move browser alarms to Platform

* Move browser state to Platform

* Move CLI state to Platform

* Move Desktop native concerns to Platform

* Move flag and misc to Platform

* Lint fixes

* Move electron state to platform

* Move web state to Platform

* Move lib state to Platform

* Fix broken tests

* Rename interface to idiomatic TS

* `npm run prettier` 🤖

* Resolve review feedback

* Set platform as owners of web core and shared

* Expand moved services

* Fix test types

---------

Co-authored-by: Hinton <hinton@users.noreply.github.com>
2023-06-06 15:34:53 -05:00