clients/libs/common/spec
SmithThe4th ad3121f535
[PM-12423] Migrate Cipher Decryption to Use SDK (#14206)
* Created mappings for client domain object to SDK

* Add abstract decrypt observable

* Added todo for future consideration

* Added implementation to cipher service

* Added adapter and unit tests

* Created cipher encryption abstraction and service

* Register cipher encryption service

* Added tests for the cipher encryption service

* changed signature

* Updated feature flag name

* added new function to be used for decrypting ciphers

* Added new encryptedKey field

* added new function to be used for decrypting ciphers

* Manually set fields

* Added encrypted key in attachment view

* Fixed test

* Updated references to use decrypt with feature flag

* Added dependency

* updated package.json

* lint fix

* fixed tests

* Fixed small mapping issues

* Fixed test

* Added function to decrypt fido2 key value

* Added function to decrypt fido2 key value and updated test

* updated to use sdk function without prociding the key

* updated localdata sdk type change

* decrypt attachment content using sdk

* Fixed dependency issues

* updated package.json

* Refactored service to handle getting decrypted buffer using the legacy and sdk implementations

* updated services and component to use refactored version

* Updated decryptCiphersWithSdk to use decryptManyLegacy for batch decryption, ensuring the SDK is only called once per batch

* Fixed merge conflicts

* Fixed merge conflicts

* Fixed merge conflicts

* Fixed lint issues

* Moved getDecryptedAttachmentBuffer to cipher service

* Moved getDecryptedAttachmentBuffer to cipher service

* ensure CipherView properties are null instead of undefined

* Fixed test

* ensure AttachmentView properties are null instead of undefined

* Linked ticket in comment

* removed unused orgKey
2025-05-14 07:30:01 -07:00
..
matchers [PM-16917] Remove jest-extended dependency (#12798) 2025-01-15 10:43:26 -05:00
fake-account-service.ts [PM-14445] TS strict for Key Management Biometrics (#13039) 2025-02-10 13:31:19 +01:00
fake-state-provider.ts [PM-14445] TS strict for Key Management Biometrics (#13039) 2025-02-10 13:31:19 +01:00
fake-state.ts [PM-14445] TS strict for Key Management, Keys and Lock component (#13121) 2025-02-20 18:45:37 +01:00
fake-storage.service.ts [PM-9442] Add tests for undefined state values and proper emulation of ElectronStorageService in tests (#9910) 2024-07-03 16:06:55 +02:00
index.ts Remove memory storage cache from derived state. Use observable cache and port messaging (#8939) 2024-04-26 15:08:39 -04:00
intercept-console.ts Ps/improve-log-service (#8989) 2024-04-30 12:58:16 -04:00
jest-sdk-client-factory.ts [PM-11766] Introduce SDK client (#10974) 2024-10-07 13:20:50 +02:00
matrix.spec.ts Add Web Push Support (#11346) 2025-01-29 08:49:01 -05:00
matrix.ts Add Web Push Support (#11346) 2025-01-29 08:49:01 -05:00
observable-tracker.ts [PM-17408] Create new method on sdk service to allow explicit addition of a new client instance (#13309) 2025-02-24 11:29:47 +01:00
utils.ts [PM-12423] Migrate Cipher Decryption to Use SDK (#14206) 2025-05-14 07:30:01 -07:00