This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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]>
- Loading branch information