Skip to content
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

GPG check FAILED on RPM installation with Fedora 32 #9315

Closed
ToddAndMargo opened this issue Apr 18, 2020 · 2 comments
Closed

GPG check FAILED on RPM installation with Fedora 32 #9315

ToddAndMargo opened this issue Apr 18, 2020 · 2 comments

Comments

@ToddAndMargo
Copy link

ToddAndMargo commented Apr 18, 2020

Dear Brave Developers,

Would you please fix the following for me?

Fedora 32 RC
5.6.2-301.fc32.x86

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

# dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/x86_64/
Adding repo from: https://brave-browser-rpm-release.s3.brave.com/x86_64/
 
# rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
 
# dnf install brave-browser
created by dnf config-manager from https://brav  43 kB/s | 3.3 kB     00:00    
Dependencies resolved.
 ================================================================================
 Package          Arch   Version        Repository                         Size
================================================================================
Installing:
 brave-browser    x86_64 1.7.92-1       brave-browser-rpm-release.s3.brave.com_x86_64_
                                                                           72 M
Installing dependencies:
liberation-fonts noarch 1:2.1.0-1.fc32 fedora                            8.3 k
 
Transaction Summary
 ================================================================================
Install  2 Packages

Total download size: 72 M
Installed size: 72 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): liberation-fonts-2.1.0-1.fc32.noarch.rpm 5.7 kB/s | 8.3 kB     00:01    
(2/2): brave-browser-1.7.92-1.x86_64.rpm        529 kB/s |  72 MB     02:19    
--------------------------------------------------------------------------------
Total                                           527 kB/s |  72 MB     02:19     
warning: /var/cache/dnf/brave-browser-rpm-release.s3.brave.com_x86_64_-d55d330619c02b48/packages/brave-browser-1.7.92-1.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 82d3dc6c: NOKEY

Public key for brave-browser-1.7.92-1.x86_64.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
 ...
@ToddAndMargo
Copy link
Author

ToddAndMargo commented Apr 21, 2020

To get Brave installed after the upgrade, you have to manually remove the public key and reinstall it.
My notes:

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

find the key:
$ rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc 

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

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

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

Then go ahead and (re)install Brave Browser `

@bsclifton
Copy link
Member

Perfect- thanks for sharing the notes @ToddAndMargo- that should do the trick 😄

We had updated the key so removing the old one is the proper solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants