-
Notifications
You must be signed in to change notification settings - Fork 67
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
4.0.8 sdist tarball signature on pypi is bad #77
Comments
Thanks for reporting, I am able to reproduce the issue as well. Now I wonder what could have happened there, since it looks 'like always' on my end. My gpg is able to properly sign commits, |
I have no idea how to fix this or what the problem even is :/. |
Can you create a signature locally to test whether it is also bad? e.g. How are you creating the signature and how is it pushed to pypi.org? |
Great idea, as this easily reproduces the issue while showing what's going wrong:
It still creates a signature though, which might be a signature over no bytes at all. Initially I thought it would be related to me using Funnily enough, I am not the only one: https://stackoverflow.com/questions/69699986/gpg-error-reading-symlink-proc-curproc-file-no-such-file-or-directory . The issue seems to be all but harmless, and is probably related to breakage in MacOS 12/12.1. The latter one I am using. By the looks of it there won't be valid signatures from me for a while until this is fixed. Now that I can reproduce it, I can keep trying as updates come in.
Twine does it, and I wouldn't be surprised if it just calls |
@Byron can you use a different machine/ a VM for an intermediate release? |
In the linked stackoverflow question one of the answers says it's fixed in 2.3.3.1, so I upgraded to this one. Unfortunately, despite not showing the error message anymore, the signature is still bad right after creation. Maybe they also considered the issue harmless and squelched it. Maybe it's something very else. Setting up a VM to sign should be possible and I will see when I get to it. Alternatively I think I could try MacGPG as I'd expect them to maintain a working version. |
No, MacGPG and its binary have the same issue despite claiming support for MacOS 12. I'd think my key got corrupted, but that's something it would probably detect, besides, signing commits works and yields valid signatures. |
You could also have a look at sq. |
I took a look and alongside the Now one would just have to bring in the GPG keys to |
I agree. We also just recently switched the Arch Linux distribution keyring handling over to sq, as its tooling and CLI is less overengineered and nicer to use. |
Any update on this? I unfortunately can not upgrade the package at the moment. |
Sorry for the wait and the hassle it must be. For now I don't know when I will spend the time to deal with this. It's certainly not helped by my expectation that it will be painful to touch a combination of python tooling and handle loose GPG keys. At the latest it will happen once GitPython NG lands, the one that uses Gitoxide under the hood. In the mean time, after each update of MacOS or GPG I try again to see if something changes, but have no hopes. |
I am sorry, but I will now drop all PGP signature validation from all gitpython related packages (this ticket has been open since October 2021). Having PGP signature validation does not justify the breakage that is caused by trying to make this work (see e.g. https://bugs.archlinux.org/task/73193) and I have spent considerable amounts of time trying to make this work by providing numerous tickets (and I do not see myself doing this anymore). |
Thanks for speaking up and sharing your experience, and I am sorry to be the cause of this hassle and hope that dropping PGP signatures will fix the issue. Now that I know it's an option, I will do that right away which hopefully allows GitPython packages to become available again on arch linux. PGP was always a hassle for me as well and even though sequoia could be the solution, I am just unable to invest the time needed to migrate to it. It's sad that suddenly perfectly valid keys just fail to produce valid signatures in this particular setting, without error message or anything like that. |
The key stopped producing correct signatures when upgrading MacOS, at least when used by `twine`.
Would re-releasing smmap, gitdb and GitPython help to get affairs back on track? If so, please let me know and it will be done. Thank you |
Closing this issue as signed releases, deprecated for a while, have now officially been removed from the last location that mentioned them, the main readme file. Please see this comment for an anchor to the conversation that led to this. It may well be that I am missing something which makes closing this issue the incorrect choice, and if so please let me know and we can reopen. |
I've noticed this is still open. Some time has passed since #77 (comment); should this be closed? |
Hi! When trying to package 4.0.8 for Arch Linux I ran into a bad signature for the sdist tarball on pypi.org:
To reproduce:
The text was updated successfully, but these errors were encountered: