clients/apps/cli/src
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
..
admin-console [PM-12423] Migrate Cipher Decryption to Use SDK (#14206) 2025-05-14 07:30:01 -07:00
auth/commands feat(CLI-SSO-Login): [Auth/PM-21116] CLI - SSO Login - Add SSO Org Identifier option (#14605) 2025-05-13 10:58:48 -04:00
commands [PM-12423] Migrate Cipher Decryption to Use SDK (#14206) 2025-05-14 07:30:01 -07:00
key-management move key connector components to KM team ownership (#14008) 2025-04-18 08:23:52 -07:00
locales/en [PM-16171] Simplelogin alias generation only generate random words instead the domain name (#13024) 2025-02-20 11:33:40 -05:00
models [PM-11162] Assign To Collections Permission Update (#11367) 2025-02-04 15:44:59 -05:00
platform [PM-14484] ApiService showing html in error message (#14658) 2025-05-09 20:21:25 -04:00
service-container [PM-12423] Migrate Cipher Decryption to Use SDK (#14206) 2025-05-14 07:30:01 -07:00
tools [PM-20333] Remove "export-attachments" feature flag (#14310) 2025-04-17 08:58:16 -04:00
vault [PM-12423] Migrate Cipher Decryption to Use SDK (#14206) 2025-05-14 07:30:01 -07:00
base-program.ts Typescript-strict-plugin (#12235) 2024-12-09 20:58:50 +01:00
bw.ts Improve SDK direct function usage (#13353) 2025-02-26 09:08:42 +01:00
oss-serve-configurator.ts [PM-19746] Add new permission check to browser (#14075) 2025-04-02 12:49:08 -04:00
program.ts feat(CLI-SSO-Login): [Auth/PM-21116] CLI - SSO Login - Add SSO Org Identifier option (#14605) 2025-05-13 10:58:48 -04:00
register-oss-programs.ts [BEEEP: PM-10190] Use strict TS checks in CLI service container (#10298) 2024-08-05 11:39:08 -04:00
serve.program.ts [BEEEP: PM-10190] Use strict TS checks in CLI service container (#10298) 2024-08-05 11:39:08 -04:00
utils.ts Typescript-strict-plugin (#12235) 2024-12-09 20:58:50 +01:00
vault.program.ts [PM-20333] Remove "export-attachments" feature flag (#14310) 2025-04-17 08:58:16 -04:00