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
Ensure unique tags in signature header #1570
Comments
(deleted irrelevant discussion) |
This patch adds rpmtags for file signatures and their length, so they can be stored in the package header. Changelog: - update rpmtag values (rebase error) - Mimi - fix test case 0004 - Florian - update rpmtag values again - Fin [lkardos@redhat.com: tag numbers was changed in order not to conflict] Signed-off-by: Lubos Kardos <lkardos@redhat.com>
I noticed that (most? all?) Fedora 37 packages seem to have RPMTAG_FILESIGNATURES in the signature header (Instead of RPMSIGTAG_FILESIGNATURES), is this part of the mess you're referring to? (The tag values are not overlapping, RPMTAG_FILESIGNATURES = 5090, RPMSIGTAG_FILESIGNATURES = 274, in this case 5090 is present in the signature header) I cannot seem to find any reference to that as being a bug or even a relevant commit though. It must have been fixed at some point because Fedora 38 packages don't seem to have this issue. Or maybe the build pipeline changed? |
I still haven't been able to track down a cause for ^, do you happen to remember anything? |
The tag conflicts between signature and header are gone as of #3017, what remains is to error out if tags >= 1000 are found in v6 signature header. |
Currently a bunch of signature tags overlap with the ones in the main header, requiring translation and making eg type checking harder than it should be. These overlaps need to be eliminated and made illegal in v6.
The text was updated successfully, but these errors were encountered: