-
Notifications
You must be signed in to change notification settings - Fork 32
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
RFE: check GPG signatures #117
Comments
For Fedora IMHO the best approach is to store the information in dist-git as proposed here: Then the-new-hotness can check the signature easily by running "fedpkg prep" or running the gpgv command from %setup. |
Note that the approach proposed by https://fedoraproject.org/wiki/PackagingDrafts:GPGSignatures is incompatible with the current the-new-hotness because it requires "local" sources à la:
|
The error is triggered in this code: I would suggest that the check should be changed to verify that at least one Source-Tag contains a URL instead of requiring that all Source-Tags need to contain URLs. This is also required when we ship custom config files or a README.Fedora file. I might be able to provide a PR if this change would be ok with you. |
@tyll, yeah, that's definitely a better approach. |
There's currently a discussion about how to best check GPG signatures on tarballs in packages. Some think the keys should be checked into git and verified as part of the package build process, but there's some disagreement that this is the correct place.
One other possibility is that new-hotness checks signatures somehow when a new version is detected. Obviously something (either the package or anitya) would have to grow the ability to store the data necessary for something to actually verity the signature. I guess it could all be in anitya and thus this is the wrong place to file that ticket, but maybe not. Or maybe you'll think that this isn't a good place to do that, and we'll look to the other possibilities.
The text was updated successfully, but these errors were encountered: