This repository was archived by the owner on Oct 7, 2024. It is now read-only.
8.0.0
Added
- Allow login with encryption key rather than password (#152)
- This is required to support MetaMask extension builds using manifest v3.
- This is enabled via the option
cacheEncryptionKey. - The encryption key and salt have been added to the
memStoreasencryptionKeyandencryptionSalt. The salt is used to verify that the key matches the vault being decrypted. - If the
cacheEncryptionKeyoption is enabled, the encryption key and salt get cached in thememStorewhenever the password is submitted. - The encryption key can be submitted with the new method
submitEncryptionKey. - The
unlockKeyringsmethod now accepts additional parameters for the encryption key and salt, though we don't recommend using this method directly.
Changed
- BREAKING: Update minimum Node.js version to v14 (#146)
- BREAKING:: Remove password parameter from
persistAllKeyringsandcreateFirstKeyTree(#154)- The password or encryption key must now be set already before these method are called. It is set by
createNewVaultAndKeychain,createNewVaultAndRestore, andsubmitPassword/submitEncryptionKey. - This change was made to reduce redundant state changes.
- The password or encryption key must now be set already before these method are called. It is set by
Fixed
- Fix a typo in the duplicate account import error (#153)