-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
gh-90733: improve hashlib.scrypt
interface
#136100
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
gh-90733: improve hashlib.scrypt
interface
#136100
Conversation
9f92510
to
eb1565c
Compare
eb1565c
to
0adf063
Compare
!buildbot FIPS only |
🤖 New build scheduled with the buildbot fleet by @picnixz for commit 0adf063 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F136100%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
HA. I merged in the wrong order! |
1503249
to
0adf063
Compare
!buildbot FIPS only |
🤖 New build scheduled with the buildbot fleet by @picnixz for commit 41646c4 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F136100%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
* add `scrypt` to `hashlib.__all__` * improve `hashlib.scrypt` exception messages
scrypt
is now unconditionally available so there's no need for this additional definescrypt
in__all__
so I exposed itmaxmem
anddklen
are too restrictive in its current form, but it's also fine in some sense as allowing for a largermaxmem
also means removing protections and allowing for VERY largedklen
isn't necessary.