You are viewing...

How to Fix Brave Browser GPG check failed on Fedora

Updated on February 16, 2020 at the 07th hour
Posted under:

DISCLAIMER: Expressed views on this blog are my own.

Oddly kept getting a public key failure on Fedora whenever I wanted to upgrade or reinstall brave browser. Took a while, longer than I would have liked, of searching before I was able to resolve it.

Public key for brave-browser-1.3.115-1.x86_64.rpm is not installed
Public key for brave-keyring-1.7-1.noarch.rpm is not installed
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED

I think one can reasonably say that Brave screwed up somewhere with their GPG key maintenance.

I tried the REIMPORT key solution and that did not work.

The solution was to DELETE the old key and then import the new one.

Inspect the old key with:

rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n'

You should need the old key: gpg-pubkey-c2d4e821-5d13a788    Brave Software <support@brave.com> public key

Delete it with:

sudo rpm -e gpg-pubkey-c2d4e821-5d13a788

Rerun the inspection command to check if it is still there.

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

Install the new one with:

The new key is:

gpg-pubkey-c2d4e821-5e22514c    Brave Software <support@brave.com> public key

Then reinstall

sudo dnf install brave-browser
You just read "How to Fix Brave Browser GPG check failed on Fedora". Please share if you liked it!
You can read more recent posts here.