GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — bpo-40791: Use CRYPTO_memcmp() for compare_digest by tiran · Pull Request #20456 · python/cpython Conversation
|
|
@gpshead 3.10-only or do you want to handle this as a security fix with backport to 3.7 to 3.9? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@tiran: Please replace |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry, @tiran, I could not cleanly backport this to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
hashlib.compare_digest uses OpenSSL's CRYPTO_memcmp() function when OpenSSL is available. Note: The _operator module is a builtin module. I don't want to add libcrypto dependency to libpython. Therefore I duplicated the wrapper function and added a copy to _hashopenssl.c.. (cherry picked from commit db5aed9) Co-authored-by: Christian Heimes <[email protected]>
|
GH-20461 is a backport of this pull request to the 3.9 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…H-20461) hashlib.compare_digest uses OpenSSL's CRYPTO_memcmp() function when OpenSSL is available. Note: The _operator module is a builtin module. I don't want to add libcrypto dependency to libpython. Therefore I duplicated the wrapper function and added a copy to _hashopenssl.c.. (cherry picked from commit db5aed9) Co-authored-by: Christian Heimes <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.