Jacob Fink
86423d8e22
Merge branch 'master' into tde-key-model-migration
2023-06-30 11:46:37 -04:00
Jacob Fink
301028f8db
add hack to get around duplicate instances of disk cache on browser
2023-06-29 16:50:16 -04:00
Will Martin
3b1860b9ee
[SM-771] bulk add SM dialog ( #5669 )
...
* add dialog; add service method; add menu button
* update service layer
* update service method; add i18n; add success and error logic
* remove comment
* remove SM Beta copy in member dialog
* refactor error logic to utilize bitAction
* update i18n key
* use i18n in menu option
* use i18n in footer
* rename component file
* rename enableAccess method; remove button; use userName pipe
* only show if SM flag is enabled
* [SM-830] fix: close checkboxes on dialog close
2023-06-29 12:42:27 -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
Andreas Coroiu
a73525a80c
[PM-2135] [BEEEP] Refactor and refresh web user verification components ( #5377 )
...
* [PM-2135] feat: create new user-verification module
* [PM-2136] feat: add ability to remove form field bottom margin
(cherry picked from commit 05925ff77ed47f3865c2aecade8271390d9e2fa6)
* [PM-2135] feat: refactor user-verification component
* [PM-2135] feat: refactor user-verification-prompt
* [PM-2135] feat: use form validation in prompt
* [PM-2135] feat: change autofocus target
* [PM-2135] chore: clean up old code
* [PM-2135] feat: allow user verification to show invalid password error
* [PM-2135] feat: hack mark as touched to get error to display
* [PM-2135] chore: move to auth
* [PM-2135] fix: hardcoded dialog buttons
* [PM-2135] feat: add onDestroy handler
* [PM-2135] fix: remove unecessary directive input
* [PM-2135] feat: add password toggle
* [PM-2135] chore: add hack comment
* [PM-2135] chore: move services to auth folder and rename
* [PM-2135] fix: show correct error messages
* [PM-2135] fix: re-add non-existant files to whitelist
I honestly don't know why the linter is complaining about this
* Fix capital letters whitelist
* [PM-2135] chore: remove rows that were mistakenly added during merge from master
* [PM-2135] chore: remove rows that were mistakenly added during merge from master
* [PM-2135] feat: disable built-in browser validations
* Revert "[PM-2135] feat: disable built-in browser validations"
This reverts commit 969f75822a
.
---------
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2023-06-28 09:02:22 -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
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
3b7f57fd20
update change password components with new crypto service
2023-06-19 09:46:42 -04:00