-
Notifications
You must be signed in to change notification settings - Fork 373
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
Check that all OpenPGP signatures are a single signature packet #2109
Comments
You're probably right that this is only a couple of lines of code. The check needs to be added to rpm-sequoia. The test case needs to be added to rpm. If you create a test case for rpm, I'll add the code to rpm-sequoia (or merge a PR). |
I think @DemiMarie is referring to this: 5ff8676 Issue #189 is about supporting multiple independent signatures on a package, not related. |
Looking at |
This is correct. I was actually going to suggest enforcing this somewhere in RPM’s C code, so that all backends behave consistently. In particular, any backend based on GnuPG would need such a check badly.
I will look at that when I get the time. |
What's considered rpm-level C code no longer knows about such packet level details, backends will need to deal with RFC compliancy on their own. |
This is already implemented for the internal backend, but I am not sure if it is done by the Sequoia backend. For consistency, RPM should enforce this in all backends. The amount of code needed for this is very small.
I am willing to make a PR.
The text was updated successfully, but these errors were encountered: