Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added extra check when decrypting secret key #43

Merged
merged 5 commits into from
Dec 7, 2023

Conversation

popenta
Copy link
Contributor

@popenta popenta commented Dec 6, 2023

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.

@popenta popenta self-assigned this Dec 6, 2023
andreibancioiu
andreibancioiu previously approved these changes Dec 6, 2023
src/userWallet.ts Show resolved Hide resolved
bogdan-rosianu
bogdan-rosianu previously approved these changes Dec 7, 2023
src/userWallet.ts Outdated Show resolved Hide resolved
@popenta popenta merged commit 0b9d2b8 into main Dec 7, 2023
1 check passed
@popenta popenta deleted the add-extra-check-decrypt-secret-key branch December 7, 2023 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants