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

Cryptography secure random for secret seeds #11

Open
bnogalm opened this issue Mar 22, 2018 · 0 comments
Open

Cryptography secure random for secret seeds #11

bnogalm opened this issue Mar 22, 2018 · 0 comments

Comments

@bnogalm
Copy link
Owner

bnogalm commented Mar 22, 2018

Actually the API don't provide a way to generate secure and safe seeds without feeding user generated random data. Asking user to move the mouse, mobile, and then set it to the Keypair::random method

It feels necessary to improve the current Keypair::random() function to use a cryptography random number generator, to get rid of define STELLAR_ALLOW_UNSECURE_RANDOM in the platforms and Qt versions we can be sure we can work with this method.

Qt5.10 offers a new class QRandomGenerator that seems to cover this in multiple platforms. But it should be reviewed and filter Qt versions and platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant