Could someone please help me verify if my Fedora 40 dnf package signing key is correct, please.
In previous versions of Fedora I’m used to the first run of dnf on a new install to import the key and display a fingerprint which I can verify is correct on the Fedora site.
I just installed Fedora 40 and I did not get any verification challenge on the first run. I’m installing from the KDE Spin live ISO, which has been verified valid. I not well versed in gpg and am concerned I did not have the opportunity to verify the fingerprint. I’ve done the below, but don’t know how to get a fingerprint to compare to the project website.
Have there been changes in version 40 or is this an anomaly? Thanks for your help.
I ran sudo dnf config-manager --dump", and I see "gpgcheck = 1.
If you installed directly from the iso image from fedora you may rest assured that all the included packages are valid. This is confirmed when you do the checksum verification of the downloaded iso before burning it to the usb device.
After the installation when you do an update using either dnf or the software manager (discover ?) it manages that check for you.
There has never been a method provided that I am aware of for the user to directly verify the gpg key during the installation since the iso itself is verified during creation, has the means to have the checksum verified after download, and the software manager also verifies packages checksums and gpg signatures during updates.
During previous earlier version installs, on first run of dnf I’ve always seen a message similar to the following. This example is from a very early version I found searching for solutions, but is similar to what I’ve seen in Fedora 39 installs. I’m certain I’ve seen similar challenges in CentOS Stream installs too.
Importing GPG key 0x12C944D0:
Userid : “Fedora (32) ”
Fingerprint: 97A1 AE57 C3A2 372C CA3A 4ABA 6C13 026D 12C9 44D0
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-32-x86_64
Is this ok [y/N]:
This comment is only seen when the key in question has not already been installed/imported. A new install should not require that. An upgrade from an earlier version usually does require that.
The install that prompted be to reach out to this community is on a new HP laptop with secure boot enabled. I just ran 3 additional test installs on VMs.
Fedora 40 KDE spin. Does not ask to verify key fingerprint check.
Fedora 39 KDE spin. Does ask to verify fingerprint.
Fedora 40 Workstation. Does not ask to verify fingerprint.
Basing my concern on dozen or so installations I’ve done on recent versions of Fedora and CentOS products, it appears Fedora 40 is behaving differently. All new installs from ISO, no upgrades.
My findings may be anecdotal, but I can’t help but think there may be some methodology change in the process. Maybe I follow too much tech security news, but the method by which I can verify that updates are being handled securely is the basis of my trust in the OS.