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

Fix wallet creation bugs related to crypto #11

Merged
merged 1 commit into from
Sep 8, 2014

Conversation

gurnec
Copy link

@gurnec gurnec commented Jul 22, 2014

Wallet creation (e.g. during recovery or merge) when using PyCrypto (the default) or SlowAES wasn't performing the encryption correctly resulting in a wallet that couldn't be unlocked.

Also, switched to using os.urandom wherever cryptographically secure random numbers are required as per the Python random documentation which calls the default random module "completely unsuitable for cryptographic purposes."

 * fix encryption when using PyCrypto or SlowAES
 * use os.urandom wherever cryptographically secure rnd #s are required
jackjack-jj added a commit that referenced this pull request Sep 8, 2014
Fix wallet creation bugs related to crypto
@jackjack-jj jackjack-jj merged commit b52c955 into jackjack-jj:master Sep 8, 2014
hax2390 added a commit to hax2390/pywallet that referenced this pull request Nov 13, 2017
This reverts commit b52c955, reversing
changes made to 069ef00.
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