Releases: MetaMask/browser-passworder
Releases · MetaMask/browser-passworder
5.0.1
5.0.0
4.3.0
4.2.0
Added
- Support key derivation options (#49)
- Added
EncryptionKey
type to hold aCryptoKey
along with its derivation parameters. - Added
ExportedEncryptionKey
type to hold aJsonWebKey
along with its derivation parameters. - Added Optional
keyMetadata
property of typeKeyDerivationOptions
toEncryptionResult
. - Added Optional
opts
argument tokeyFromPassword
to specify algorithm and parameters to be used in the key derivation. Defaults toPBKDF2
with 900.000 iterations.(#49)) - Added
iterations
argument tokeyFromPassword
function. - Added optional
keyDerivationOptions
argument toencrypt
andencryptWithDetail
to specify algorithm and parameters to be used in the key Defaults toPBKDF2
at 900.000 iterations.
- Added
- Added
updateVaultWithDetail
function to update existing vault and exported key with a safer encryption method if available (#49) - Added
updateVault
function 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)
encrypt
method accepts bothEncryptionKey
andCryptoKey
types askey
argument.encryptWithKey
method accepts bothEncryptionKey
andCryptoKey
types askey
argument.decrypt
method accepts bothEncryptionKey
andCryptoKey
types askey
argument.decryptWithKey
method accepts bothEncryptionKey
andCryptoKey
types askey
argument.importKey
method returns aCryptoKey
when a JWK string is passed, or anEncryptionKey
when anExportedEncryptionKey
string is passed.exportKey
method accepts bothEncryptionKey
andCryptoKey
types askey
argument, and returns anExportedEncryptionKey
for the former and aJsonWebKey
for the latter.
- Pin TypeScript version to
~4.8.4
(#50)
4.1.0
4.0.2
4.0.1
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.