rusackas opened a new pull request, #31514: URL: https://github.com/apache/superset/pull/31514
Fixes [https://github.com/apache/superset/security/code-scanning/1203](https://github.com/apache/superset/security/code-scanning/1203) To fix the problem, we need to replace the use of the MD5 hashing algorithm with a stronger cryptographic hash function. In this case, SHA-256 is a suitable replacement as it is a strong and widely accepted cryptographic hash function. - Replace the `hashlib.md5` function with `hashlib.sha256` in the `md5_sha_from_str` function. - Ensure that the rest of the code that relies on this function continues to work as expected with the new hash function. _Suggested fixes powered by Copilot Autofix. Review carefully before merging._ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
