-
Notifications
You must be signed in to change notification settings - Fork 30
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
Fix Release Signatures on PyPI (404 Not Found) #234
Comments
Note that this issue does appear to be specific to I confirmed that the signature is still available for another project (borgbackup):
|
PyPI does not support signatures any more, and does not support upload for signatures with new releases, though old releases might still have signatures available. See this issue. If you want signatures for 0.5.2 and other recent releases of this project, see the GitHub release and the corresponding assets for other releases. I'm planning to close this issue as not planned, as I don't see what more I can do to provide signatures for release artifacts. |
Sorry, but after reading that issue, I don't see anything about PGP signatures being deleted? It looks like they just removed it from the WUI, which has been the case for a very long time. Are you saying that if you attempt to upload the signature with |
This commit changes the location of the dependency files from PyPI to GitHub, since there's currently an upstream bug downloading the signature file from PyPI (404 Not Found): * vsajip/python-gnupg#234
No error, but I don't believe it ( |
However, there is no progress feedback as you get when uploading archives, so it's not telling the whole truth. Anyway, I've given you a source for signatures on GitHub. Why would I go to all the trouble of creating GitHub releases with signatures available if PyPI supported them? Have you looked for signatures with recent releases of another project? Your |
I've been building the BusKill app with your python_gnupg-0.5.2 for a long time (years?), successfully downloading both the wheel and the signature from PyPI. It's only recently that it's become 404. So you did successfully upload the signatures to PyPI in the past. It's unclear why your signature file is suddenly now 404 but others' are not. The only difference I can see is that your is a |
Then it's worth taking up with the PyPI project, though they obviously have views about the utility of signatures which you may not share ... there's certainly nothing I can do about those missing signatures, so I'll close this now ... but note that 0.5.2 was only released on 12 December 2023, so it's less than three months old! |
I have been inactive for a while, but my last successful build was on 2023-06-22: Looks like my build scrips are setup to just download the latest version of python-gnupg from PyPI, so--you're right--it probably wasn't v0.5.2 that worked last Unfortunately, GitHub doesn't retain build logs for so long, so I can't check the build logs to see what version it downloaded.
That's exactly what I want to do, but I was hoping to get a command & error message from you to submit a proper bug report. Currently all I have is "I get 404 on this
If the PyPI devs are intentionally sabotaging the supply chain security of their packages and downstream consumers by removing the only possible method for authenticating packages, it would be extremely alarming. |
They're not sabotaging anything, it's just a commonly held view about the utility of signatures because of things like this. In any case, you can just ask them for clarity as to what the current status is of support for uploading/downloading signatures for release artifacts on PyPI. In any case, I've given you an alternative source of signatures - and I generate the signatures which were previously uploaded to PyPI, but now I (have to) use GitHub to make them available. |
it looks like the upstream PyPI signature bugs are more widespread than just python_gnupg I've worked with the devs to ensure releases are getting uploaded to GitHub so our builds aren't blocked by PyPI bugs breaking PGP signatures * #78 * vsajip/python-gnupg#234 * vpelletier/python-libusb1#96 Now we download from GitHub's website instead of PyPI's website, so 404 errors from PyPI won't break the builds. TODO: update this to query the GitHub API and grab the latest release (currently they're just hardcoded & pinned as a quick fix)
Describe the bug
The cryptographic signature of the
python-gnupg
module on PyPI has gone missing (404 Not Found)To Reproduce
Steps to reproduce the behavior (following the instructions found here):
.whl
file from the pypi.org simple API.asc
to the URL of the.whl
file's URL and attempt to download itExample execution
Note that the file is available; just the signature is not.
Expected behavior
I should be able to download both the
python_gnupg
payload and its cryptographic signature as before (and my builds shouldn't be breaking due to this bug).The text was updated successfully, but these errors were encountered: