Description of the issue: When installing brave via dnf on Fedora38 dnf errors out attempting to validate the signature.
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <support@brave.com>):
Certificate 0BB75829C2D4E821 invalid: policy violation
because: No binding signature at time 2023-05-09T19:32:44Z
[root@Augustine work]# dnf install brave-browser
Last metadata expiration check: 0:06:01 ago on Thu 11 May 2023 10:42:28 PM WEST.
Dependencies resolved.
==========================================================================================================================
Package Architecture Version Repository Size
==========================================================================================================================
Installing:
brave-browser x86_64 1.51.114-1 brave-browser 105 M
Installing dependencies:
at x86_64 3.2.5-5.fc38 fedora 62 k
brave-keyring noarch 1.10-1 brave-browser 11 k
liberation-fonts noarch 1:2.1.5-4.fc38 fedora 7.9 k
Transaction Summary
==========================================================================================================================
Install 4 Packages
Total download size: 105 M
Installed size: 105 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): at-3.2.5-5.fc38.x86_64.rpm 487 kB/s | 62 kB 00:00
(2/4): liberation-fonts-2.1.5-4.fc38.noarch.rpm 287 kB/s | 7.9 kB 00:00
(3/4): brave-keyring-1.10-1.noarch.rpm 47 kB/s | 11 kB 00:00
(4/4): brave-browser-1.51.114-1.x86_64.rpm 27 MB/s | 105 MB 00:03
--------------------------------------------------------------------------------------------------------------------------
Total 22 MB/s | 105 MB 00:04
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <support@brave.com>):
Certificate 0BB75829C2D4E821 invalid: policy violation
because: No binding signature at time 2023-05-09T19:32:44Z
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <support@brave.com>):
Certificate 0BB75829C2D4E821 invalid: policy violation
because: No binding signature at time 2023-05-09T19:32:46Z
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <support@brave.com>):
Certificate 0BB75829C2D4E821 invalid: policy violation
because: No binding signature at time 2022-05-18T19:56:23Z
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <support@brave.com>):
Certificate 0BB75829C2D4E821 invalid: policy violation
because: No binding signature at time 2022-05-18T19:56:28Z
Problem opening package brave-browser-1.51.114-1.x86_64.rpm
Problem opening package brave-keyring-1.10-1.noarch.rpm
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’ve been experiencing the same problem with Fedora 38 as accuser.
I’ve tried reinstalling by:
Deleting the key:
sudo rpm -e gpg-pubkey-c2d4e821-5bc51032
Deleting the repo:
sudo rm -r brave-browser.repo
Clean the dnf cache:
sudo dnf clean all
Update everything:
sudo dnf upgrade --refresh.
And follow the instructions avaliable on the website:
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <support@brave.com>):
Certificate 0BB75829C2D4E821 invalid: policy violation
because: No binding signature at time 2023-05-09T19:32:44Z
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <support@brave.com>):
Certificate 0BB75829C2D4E821 invalid: policy violation
because: No binding signature at time 2023-05-09T19:32:46Z
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <support@brave.com>):
Certificate 0BB75829C2D4E821 invalid: policy violation
because: No binding signature at time 2022-05-18T19:56:23Z
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <support@brave.com>):
Certificate 0BB75829C2D4E821 invalid: policy violation
because: No binding signature at time 2022-05-18T19:56:28Z
Problem opening package brave-browser-1.51.114-1.x86_64.rpm
Problem opening package brave-keyring-1.10-1.noarch.rpm
Error: GPG check FAILED
I’ve decided to check the Nightly build and I’ve been able to install with no problems.
The release build has been a problem with the 1.51.114 update. Updating to 1.51.110 has been fine
I never had this issue after upgrading from F37 to F38, so I’m not sure why it would affect some and not others, if this is indeed the issue.
Have you tried what’s posted there? Looks like: sudo dnf upgrade --refresh --advisory=FEDORA-2023-bd9a4614ad
That said, I’m also thinking all these issues were supposedly solved before the F38 release. So I’m not super optimistic about this fixing it for you unfortunately, but worth a shot.
I’ve tried it and was unsuccessful. This is a fresh install of F38 (not an upgrade).
I had also tried setting the crypto policy to legacy, is that was also a no-go. Wish I could just ignore the darn gpg check. I don’t really want to run Brave as a Flatpack.
@accuser I too got the same problem. The problem seems to be with only release channel, just now I installed brave beta version and it is working well. I don’t know why release channel is giving us error …
There is apparently a new brave-keyring package in their repo, does that solve anything? If you repeat the earlier steps, except now with the newer packages, any changes?