Don’t do GPG signature checking on Fedora and derivatives#126
Don’t do GPG signature checking on Fedora and derivatives#126mavit wants to merge 1 commit intoLMS-Community:mainfrom
Conversation
Fedora are aiming to enforce GPG signature checking on all RPM packages. We don’t sign our packages, so that will fail. https://fedoraproject.org/wiki/Changes/Enforcing_signature_checking_by_default A better solution would, of course, be to actually sign the packages and distribute the keys, perhaps even via our own Yum repository. Better still would be to get LMS included in Fedora, but for that we need to unbundle any remaining non-free firmware and, ideally, switch to upstream versions of all bundled CPAN modules. Signed-off-by: Peter Oliver <git@mavit.org.uk>
|
So you're saying in the future we will have to explicitly tell |
That’s Fedora’s plan, yes.
As I understand it, the signing process is loosely:
We don’t strictly need the repository, but it helps with distributing the public keys, and it’s how everyone else does it, these days, so it’s probably easier than inventing and documenting our own idiom. A side benefit would be that the OS would take care of updates for users. The steps for setting up a repository would be:
If we could remove the last few remaining non-Free components (I think it’s just the firmware and a font?) from the package, we could point Fedora Copr at the spec file, and have it automatically build and sign RPMs, and host repositories for us. It would build specific packages per distribution version and architecture, so in the future we could look to take advantage of this to shrink packages by leaving out components for irrelevant Perl versions. I think this is the best way to go, if we can do it. |
|
Would you be willing and able to take care of that? Would using that Copr service even still require us to host anything? And shall I merge this PR while we can continue the discussion? |
Fedora are aiming to enforce GPG signature checking on all RPM packages. We don’t sign our packages, so that will fail.
https://fedoraproject.org/wiki/Changes/Enforcing_signature_checking_by_default
A better solution would, of course, be to actually sign the packages and distribute the keys, perhaps even via our own Yum repository. Better still would be to get LMS included in Fedora, but for that we need to unbundle any remaining non-free firmware and, ideally, switch to upstream versions of all bundled CPAN modules.
We don't need to make this change until Fedora 44 releases in April 2026, but I'm raising this now before I forget. It looks like it won't even work until rpm-software-management/dnf5#2479 is fixed.