Fedora Upgrades

Fedora Upgrades
Following Fedora Docs’ DNF System Upgrade works reasonably well.
Here are how I resolve a few issues I run into every time I upgrade.
“The password you use to log in to your computer no longer matches that of your login keyring.”
With Automatic Login, the error message above appears e.g. when using GNOME Tweaks to auto-start Brave.
Work around it by using the Passwords and Keys (Seahorse) app to delete the Brave Safe Storage.
This will break Brave’s Saved Passwords and Sync; to fix that, go to brave://sync-internals to Disable Sync (Clear Data),
close Brave, and set up Sync again.
GPG with YubiKey
$ gpg --card-status
gpg: selecting card failed: No such device
gpg: OpenPGP card not available: No such device
This can be fixed with a ~/.gnupg/scdaemon.conf.
PS: Earlier versions of this post recommended to do sudo pkill gpg-agent && sudo systemctl restart pcscd (manually, or via a /etc/udev/rules.d/ rule; possibly also a 70-u2f.rules), or to use sudo dnf remove opensc (but that may break other functionality). These were all wrong workarounds, and the scdaemon.conf is the recommended solution.