Brave-ring public key not installed

Ed over on the Fedora list helped me figure this out. The key is not overwriting and have to be manually removed first.

Here is my notes on the subject:

Brave Browser: Public Key error:

Fedora 32+

Reference(s):
https://brave-browser.readthedocs.io/en/latest/installing-brave.html#fedora-28-centos-rhel-8

If you are receiving the following error trying to
install/upgrade Brave Browser:

Public key for brave-keyring-1.8-1.noarch.rpm
is not installed

And you did install it with:

# rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc

Then you have to manually remove the key and reinstall it:

  1. find the key:
    $ rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc rpm -e gpg-pubkey-c2d4e821-5d13a788

  2. remove the key:
    # rpm -e gpg-pubkey-c2d4e821-5d13a788

  3. reinstall the key:
    # rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc

  4. verify it was reinstalled:
    # rpm -qa --qf '%{VERSION}-%{RELEASE} %{SUMMARY}\n' gpg-pubkey* | grep -i brave c2d4e821-5e7252b8 Brave Software <[email protected]> public key

Then go ahead and (re)install Brave Browser