multiversx / mx-sdk-js-wallet

Core wallet components (generation, signing) for TypeScript (JavaScript).
Other
7 stars 2 forks source link

Added extra check when decrypting secret key #43

Closed popenta closed 11 months ago

popenta commented 11 months ago

Because there was no check for the kind field when calling UserWallet.decryptSecretKey() one could have passed a keystore-mnemonic file. There is still a limitation for older files that do not contain that field.