Releases: CasperDash/casper-storage
Releases · CasperDash/casper-storage
v.1.5.0
What's Changed
Enhanced security, avoid memory leak issue
- Support accessing words by index from an entropy
e.g. get the first word of key-phrase:
KeyFactory.getInstance().getWordAt(entropy, 0)
Full Changelog: v1.4.0...v1.5.0
v1.4.0
What's Changed
- Update all dependencies to latest version
- When working with mnemonic key, work with entropy by default
- Mnemonic key should be transferred back and forth by an array instead of string (to avoid leaking), bonus with encoding mode
Full Changelog: v1.3.1...v1.4.0
v1.3.1
What's Changed
- Support custom derivation path of HD wallet by @codsay in #35
When creating a new user, we now can pass a custom derivation path to create wallets
const user = new User("user-password", {
passwordValidator: {
validatorRegex: "passwordRegexValidation",
},
"m/PURPOSE'/COINT_TYPE'/INDEX'"
});Ref README for more details
Full Changelog: v.1.2.1...v1.3.1
v.1.2.1
v1.2.0
What's Changed
- Feature/encrypt key phrase by @codsay in #33
Stores encrypted key-phrase of HD wallet and allows users to get back key-phrase with their password
const user: IUser;
...
const keyPhrase = await user.getHDWalletKeyPhrase();Full Changelog: v1.1.0...v1.2.0
v1.1.0
v1.0.0
Production ready
- The library is audited by Cure53
Fixes and Breaking changes
- Fix identified vulnerabilities
- The internal default encryption modes are replaced by more secured approaches, the encrypted values in previous releases will not compatible with this new release
- Get rid of hashing options, simplify the usage of user instance
Features
- Adding ability to export private keys to PEM format
- Default provided storage is secured by default
v0.2.5
Breaking changes
- WalletInfo
- Rename property
keytoidfor consistency of code
- Rename property
Improvements
- Introduce
uid(which is hashed fromid) to use as a reference id for wallets - Add icon, description to wallet descriptor
- Expose 2 new methods: encrypt/decrypt from users to help encrypt/decrypt texts with user's password
- User's serialize/deserialize support 2 modes (raw value / encryption)
Update dependencies to latest version
v0.2.4
Rename functions to avoid confusion
getPublicKeytogetRawPublicKeywhich is generated directly from the private keygetPublicAddresstogetPublicKeywhich is the formatted public keyPrefix with 01 / 02 depending on the encryption type
getPublicHashtogetPublicAddresswhich is populated from the pubic key (e.g hashing)
Update dependencies to latest version
v0.2.3
Bug fixes
- Several fixes to integrate with react-native projects
Guidelines