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

Send only the digests we have from PackageFile #776

Merged
merged 2 commits into from Jul 16, 2021
Merged

Send only the digests we have from PackageFile #776

merged 2 commits into from Jul 16, 2021

Conversation

sigmavirus24
Copy link
Member

Once again, we have to deal with third-party package repositories doing
their own thing and users needing this to just work. Those repositories
combined with FIPS mean that we will need to send the information we
actually have and only that when it comes to digests.

Closes gh-775

Once again, we have to deal with third-party package repositories doing
their own thing and users needing this to just work. Those repositories
combined with FIPS mean that we will need to send the information we
actually have and only that when it comes to digests.

Closes gh-775
Copy link
Contributor

@bhrutledge bhrutledge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick work on this. I think I follow, and have made some suggestions for clarity.

tests/test_package.py Outdated Show resolved Hide resolved
twine/package.py Outdated Show resolved Hide resolved
Let's be clearer about some of the bizarre logic we use to support 
repositories other than PyPI and distributions using FIPS

Co-authored-by: Brian Rutledge <bhrutledge@gmail.com>
Copy link
Contributor

@bhrutledge bhrutledge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@bhrutledge bhrutledge merged commit fc20d94 into main Jul 16, 2021
@bhrutledge bhrutledge deleted the bug/775 branch July 16, 2021 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to upload package when FIPS is enabled on workstation
2 participants