Jacob Fink
301028f8db
add hack to get around duplicate instances of disk cache on browser
2023-06-29 16:50:16 -04:00
Jacob Fink
7b7fa276be
add better tests to crypto service
2023-06-28 16:39:18 -04:00
Jacob Fink
b41248cece
fix tests
2023-06-28 11:27:52 -04:00
Jacob Fink
97a2d5b962
revert sharing disk cache between contexts
2023-06-28 10:21:31 -04:00
Jacob Fink
0debdc5514
more crypto service refactors
...
- check for auto key when getting user key
- consolidate getUserKeyFromMemory and FromStorage methods
- move bio key references out of base crypto service
- update either pin key when setting user key instead of lock component
- group deprecated methods
- rename key legacy method
2023-06-27 18:53:40 -04:00
Jacob Fink
2efec1d880
options is nullable while setting user key
2023-06-27 11:58:05 -04:00
Jacob Fink
230532875b
fix cipher service test
2023-06-27 10:42:42 -04:00
Jacob Fink
156c58fd94
clear deprecated keys when setting new user key
2023-06-27 09:52:06 -04:00
Jacob Fink
0bbba9c6f7
rename retrieveUserKeyFromStorage
2023-06-27 09:16:16 -04:00
Jacob Fink
1e8dde81b7
refactor makeShareKey to be more clear its for orgs
2023-06-27 09:05:57 -04:00
Jacob Fink
f1761c6afc
use org key or user key for encrypting attachments
2023-06-26 23:08:25 -04:00
Jacob Fink
57d270b08b
pass key to encrypt service
2023-06-26 16:45:14 -04:00
Jacob Fink
3e11a9b092
migrate master key if found
2023-06-26 16:42:34 -04:00
Jacob Fink
3f496f8fb0
move biometric check to electron crypto service
2023-06-26 15:27:44 -04:00
Jacob Fink
71ebb17a56
change isPinLockSet to union type
2023-06-26 13:41:37 -04:00
Jacob Fink
817b491fb6
require key in validateUserKey
2023-06-26 10:08:38 -04:00
Jacob Fink
d14240fb92
use encrypt service in crypto service
2023-06-26 09:38:35 -04:00
Jacob Fink
64ca08ef8a
use encrypt service in crypto service
2023-06-26 09:35:32 -04:00
Jacob Fink
3adfffeabd
jsdoc deprecate account properties
2023-06-23 16:22:33 -04:00
Jacob Fink
a4b329b413
Merge branch 'master' into tde-key-model-migration
2023-06-23 13:05:13 -04:00
André Bispo
c31504cab4
[PM-1593] send password as null if it is not in state ( #5634 )
2023-06-23 17:21:48 +01:00
Jacob Fink
6349410ec2
rename 'user symmetric key' with 'user key'
2023-06-23 10:59:54 -04:00
Jacob Fink
e4bfa62e70
add tests to crypto service
2023-06-23 09:55:19 -04:00
Jacob Fink
91f6943709
use user sym key for account changing unlock verification
2023-06-22 11:29:28 -04:00
Jacob Fink
a1e61feec3
Revert "share disk cache between contexts on browser"
...
This reverts commit 56a590c491
.
2023-06-21 10:39:26 -04:00
Jacob Fink
56a590c491
share disk cache between contexts on browser
2023-06-21 09:31:04 -04:00
André Bispo
4124f7bdc8
[PM-2676] Fix web set environment urls after state init ( #5632 )
...
* [PM-2676] Fix web set env urls after state init.
* [PM-2676] Add note to remove workaround
2023-06-20 20:44:46 +01:00
Jacob Fink
d16f76524c
fix cli crypto service calls
2023-06-20 11:49:54 -04:00
Jacob Fink
690e9ffc4a
cleanup old TODOs, add missing crypto service parameters
2023-06-20 11:22:32 -04:00
Jacob Fink
8f225bf541
use master key for device approvals still
2023-06-20 11:18:12 -04:00
Jacob Fink
a8f1e7858d
fix tests imports
2023-06-20 10:06:02 -04:00
Jacob Fink
ef8db575a9
remove cryptoMasterKeyB64 from account
2023-06-20 10:01:30 -04:00
Jacob Fink
87bf80a461
add new types to tests
2023-06-20 09:15:15 -04:00
Jacob Fink
a24c49adae
fix linter
2023-06-19 16:34:25 -04:00
Jacob Fink
abd2adb0b6
remove state no longer needed and add JSDOC
2023-06-19 14:36:25 -04:00
Jacob Fink
3e5e45f147
check for ephemeral pin before process reload
2023-06-19 09:49:26 -04:00
Jacob Fink
7f0749ca5c
share disk cache to fix syncing issues between contexts
2023-06-19 09:49:26 -04:00
Jacob Fink
c5384cd5f2
clear bio key when pin is migrated as bio is refreshed
2023-06-19 09:49:25 -04:00
Jacob Fink
b9de7535ca
improve error strings in crypto service
2023-06-19 09:49:25 -04:00
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
9c6739f40a
update account model with new keys serialization
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
d79f2e24be
update device-crypto service with new crypto service
2023-06-19 09:46:42 -04:00
Jacob Fink
7583c959eb
update assortment of leftover old crypto service calls
2023-06-19 09:46:42 -04:00
Jacob Fink
3b7f57fd20
update change password components with new crypto service
2023-06-19 09:46:42 -04:00
Jacob Fink
2aa303d17e
fix crypto calls for key connector and vault timeout settings
2023-06-19 09:46:41 -04:00