Releases: MetaMask/browser-passworder
Releases · MetaMask/browser-passworder
Release list
6.0.0
5.0.1
Changed
- Bump
@metamask/utilsfrom^8.2.0to^9.0.0(#63)
5.0.0
4.3.0
4.2.0
Added
- Support key derivation options (#49)
- Added
EncryptionKeytype to hold aCryptoKeyalong with its derivation parameters. - Added
ExportedEncryptionKeytype to hold aJsonWebKeyalong with its derivation parameters. - Added Optional
keyMetadataproperty of typeKeyDerivationOptionstoEncryptionResult. - Added Optional
optsargument tokeyFromPasswordto specify algorithm and parameters to be used in the key derivation. Defaults toPBKDF2with 900.000 iterations.(#49)) - Added
iterationsargument tokeyFromPasswordfunction. - Added optional
keyDerivationOptionsargument toencryptandencryptWithDetailto specify algorithm and parameters to be used in the key Defaults toPBKDF2at 900.000 iterations.
- Added
- Added
updateVaultWithDetailfunction to update existing vault and exported key with a safer encryption method if available (#49) - Added
updateVaultfunction to update existing vault string with a safer encryption method if available (#49)
Changed
- Add optional parameters and properties to support custom derivation options (#49)
encryptmethod accepts bothEncryptionKeyandCryptoKeytypes askeyargument.encryptWithKeymethod accepts bothEncryptionKeyandCryptoKeytypes askeyargument.decryptmethod accepts bothEncryptionKeyandCryptoKeytypes askeyargument.decryptWithKeymethod accepts bothEncryptionKeyandCryptoKeytypes askeyargument.importKeymethod returns aCryptoKeywhen a JWK string is passed, or anEncryptionKeywhen anExportedEncryptionKeystring is passed.exportKeymethod accepts bothEncryptionKeyandCryptoKeytypes askeyargument, and returns anExportedEncryptionKeyfor the former and aJsonWebKeyfor the latter.
- Pin TypeScript version to
~4.8.4(#50)
4.1.0
Changed
- Export data types (#45)
- This module now exports the following date types:
DetailedEncryptionResult,DetailedDecryptResult, andEncryptionResult
- This module now exports the following date types:
4.0.2
Fixed
- Restore derived key default exportable to
false, provide option to make exportable (#38)keyFromPasswordwill now default to generating a non-exportable key, just as it had prior to v4.- This removes an unintended breaking change from v4
4.0.1
Fixed
- Fix publishing script (#35)
- No functional changes from v4.0.0. This just makes it possible to publish to npm again. v4.0.0 was not published.
4.0.0
3.0.0
Added
- Add LICENSE file (#1)
- Previous versions were listed as being licensed as ISC, but the file was missing.