-
Notifications
You must be signed in to change notification settings - Fork 108
"Warning: skipped OpenPGP checks" during system-upgrade from F41 to F42 #2206
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
Comments
Could you tell us what dnf5 version you used for the system upgrade? Recently there were few changes in the the offline update and this warning could be caused by them. |
As mentioned, it was I have now repeated the exact same commands on another Fedora 41 VM, but this time with the latest After the system upgrade finished and rebooted, the warning message is present in the log, but the wording is slightly different (
|
The Though it is true the verification is skipped during the actual run of the transaction. |
I don't think this was affected by the recent changes apart from the change of repo names (as visible in the logs you provided). |
Is it a feature (do you remember system-upgrade rejecting keys because of no real-time clock on Raspberry machines?), or a bug? |
I just encountered the same warning during a standard offline upgrade on F42:
Full system journal here: upgrade-journal.txt This seems concerning for the end user. If this is intentional and safe, maybe the warning message could be adjusted? (I found this bug, so I'm commenting here, but I can file a separate one if needed). |
I just updated a Fedora 41 VM to Fedora 42 using these commands:
This is my first time upgrading using DNF5; I had previously used DNF4's
system-upgrade
.The upgrade completed successfully. After it rebooted, I checked the system log (
journalctl
) to make sure everything went OK, and came across this really disturbing message:700 is the exact number of packages that
dnf system-upgrade
downloaded. After the downloads finished, I was asked to import the new Fedora 42 OpenPGP key and answeredy
.According to #1985, DNF5 doesn't check PGP signatures when downloading, but is supposed to check PGP signatures when installing.
So: Based on the message that was logged, should I assume that the new packages were installed without any PGP signature checks at all, either when downloading or when installing?
If so, why did DNF5 decide to "skip" OpenPGP checks? That seems like a significant security problem. I definitely never asked it to do that. My
/etc/dnf/dnf.conf
file has not been customized (it just contains the[main]
line).The version of the
dnf5
package at the time of the upgrade was5.2.10.0-2.fc41
. (I forgot to do adnf upgrade
before thesystem-upgrade
, so that version may be a bit out of date.)The text was updated successfully, but these errors were encountered: