FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: Indicate that md5 is used as a CRC by xnox · Pull Request #1522 · googleapis/python-storage · GitHub

This repository was archived by the owner on Mar 31, 2026. It is now read-only.
/ python-storage Public archive

feat: Indicate that md5 is used as a CRC - #1522

Merged
chandra-siri merged 3 commits into
googleapis:mainfrom
xnox:main
Oct 23, 2025
Merged

feat: Indicate that md5 is used as a CRC#1522
chandra-siri merged 3 commits into
googleapis:mainfrom
xnox:main

Conversation

xnox commented Aug 18, 2025

Copy link
Copy Markdown
Contributor

MD5 in storage helpers is used as a CRC function for
non-cryptographically secure purposes. Ensure that md5 is initiated
with usedforsecurity=False to ensure that Python in FIPS mode can
fetch MD5 implementation for such non cryptographically secure
purpose.

This is no effective change on non-FIPS mode Python installations.

This improves compatibility with most FIPS mode Python installations.

xnox requested review from a team August 18, 2025 18:39
product-auto-label Bot added the size: xs Pull request size is extra small. label Aug 18, 2025
product-auto-label Bot added the api: storage Issues related to the googleapis/python-storage API. label Aug 18, 2025

xnox commented Aug 30, 2025

Copy link
Copy Markdown
Contributor Author

@chandra-siri can you please approve this workflows to run?

This is currently blocking multiple deployments to access GCP storage when using Python in FIPS mode.

chandra-siri added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 1, 2025
yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 1, 2025

Copy link
Copy Markdown
Collaborator

@chandra-siri can you please approve this workflows to run?

This is currently blocking multiple deployments to access GCP storage when using Python in FIPS mode.

Hi @xnox ,

Sorry for the late response.

I've added a minor comment, also please apply the latest changes to your working branch.

chandra-siri previously approved these changes Sep 1, 2025
chandra-siri dismissed their stale review September 1, 2025 16:53

Some of system tests are failing, will re-approve once those are fixed

xnox requested a review from chandra-siri September 5, 2025 14:38

xnox commented Sep 5, 2025

Copy link
Copy Markdown
Contributor Author

@chandra-siri I see that most checks are now passing on the mainline. I have rebased this PR. Would it manage to pass presubmit CI now?

chandra-siri added the kokoro:run Add this label to force Kokoro to re-run the tests. label Sep 9, 2025
yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Sep 9, 2025

Copy link
Copy Markdown
Collaborator

xnox commented Sep 10, 2025

Copy link
Copy Markdown
Contributor Author

Thank you! Will look into fixing that mock.

MD5 in storage helpers is used as a CRC function for
non-cryptographically secure purposes. Ensure that md5 is initiated
with `usedforsecurity=False` to ensure that Python in FIPS mode can
fetch MD5 implementation for such non cryptographically secure
purpose.

This is no effective change on non-FIPS mode Python installations.

This improves compatibility with most FIPS mode Python installations.

xnox commented Sep 10, 2025

Copy link
Copy Markdown
Contributor Author
1909 passed, 26 warnings in 22.95s
nox > Session unit-3.13 was successful.

There are many other warnings about other mocks which print a lot of noise, but hopefully all of these are ok.

The _MD5 mock is now updated and the test pass with at least one python version, I do not have older versions of python readily available to me.

xnox commented Oct 3, 2025

Copy link
Copy Markdown
Contributor Author

@chandra-siri ping, did you have a chance to look at the update code with fixup mock for the tests?

xnox commented Oct 21, 2025

Copy link
Copy Markdown
Contributor Author

@Pulkit0110 @chandra-siri are you able to review please? all previous feedback and testsuite failure have been addressed.

Copy link
Copy Markdown
Collaborator

@Pulkit0110 @chandra-siri are you able to review please? all previous feedback and testsuite failure have been addressed.

Hey @xnox - sorry for the delay. It got skipped !

xnox commented Oct 21, 2025

Copy link
Copy Markdown
Contributor Author

No worries, there were lots of holidays and events in the mean time.

xnox commented Oct 21, 2025

Copy link
Copy Markdown
Contributor Author

Does this PR need a label kokoro:run for CI to trigger? sort of expected it to report by now.

Pulkit0110 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 22, 2025
yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 22, 2025

xnox commented Oct 22, 2025

Copy link
Copy Markdown
Contributor Author

CI looks green! Just need a second reviewer now.

xnox commented Oct 22, 2025

Copy link
Copy Markdown
Contributor Author

kokoro:force-run label needed again?

chandra-siri added the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 22, 2025
gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 22, 2025
chandra-siri added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 22, 2025
yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 22, 2025
chandra-siri merged commit 961536c into googleapis:main Oct 23, 2025
15 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: storage Issues related to the googleapis/python-storage API. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL