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

util.PRNG and thus randrange_from_seed_* are not constant over python versions #221

Open
tomato42 opened this issue Dec 6, 2020 · 1 comment
Labels
bug unintended behaviour in ecdsa code help wanted

Comments

@tomato42
Copy link
Member

tomato42 commented Dec 6, 2020

the PRNG generates a different keystream on Py2 than it does on Python3, as such methods like randrange_from_seed__trytryagain are not constant over python versions

@tomato42 tomato42 added help wanted bug unintended behaviour in ecdsa code labels Dec 6, 2020
@tomato42 tomato42 modified the milestones: v0.17.0, someday/future Dec 6, 2020
@tomato42
Copy link
Member Author

we should probably implement two ones, one that behaves like the python2 version even on python3 and one that behaves like the python3 version even on python2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unintended behaviour in ecdsa code help wanted
Projects
None yet
Development

No branches or pull requests

1 participant