This repository was archived by the owner on Oct 7, 2024. It is now read-only.
Commit 75b4893
Add
* add encryptor types
* test: refactor tests
* refactor: rename KeyEncryptor to ExportableKeyEncryptor
* docs: add encryptor type jsdocs
* refactor: use json type instead of generic
* refactor: MockEncryptor implements ExportableKeyEncryptor
* docs: fix typo
* refactor: rename unsupported key export error enum
* refactor: use persistAllKeyrings to recreate vault
* refactor: remove unused method from type
* refactor: make encryptor and cacheEncryptionKey private
* apply @mcmire suggestions
Co-authored-by: Elliot Winkler <[email protected]>
* chore: bump browser-passworder
* refactor: salt must be defined when key is present
* refactor: unlockKeyrings tests
* refactor: KeyringControllerState type
* refactor: enforce encryptor and cacheEncryptionKey types
---------
Co-authored-by: Elliot Winkler <[email protected]>encryptor types (#293)1 parent 48d19af commit 75b4893
File tree
9 files changed
+440
-169
lines changed- src
- test
9 files changed
+440
-169
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments