brave-browser: Installation GPG error on Fedora 38

Description

Failure to install or upgrade Brave browser on Fedora 38.

Steps to Reproduce

Per installation instructions…

  1. dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
  2. rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
  3. dnf install brave-browser-beta

Actual result:

All goes well until the final step, then:

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

Expected result:

Installation of brave-browser-1.51.114-1.x86_64

Reproduces how often:

Reliably reproduced on two different Fedora 38 desktop systems.

Version/Channel Information:

On the Beta channel I see:

Error: GPG check FAILED

Miscellaneous Information:

In /var/log/dnf.log:

2023-05-12T11:42:09-0500 SUBDEBUG 
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/dnf/cli/main.py", line 67, in main
    return _main(base, args, cli_class, option_parser_class)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/dnf/cli/main.py", line 106, in _main
    return cli_run(cli, base)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/dnf/cli/main.py", line 130, in cli_run
    ret = resolving(cli, base)
          ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/dnf/cli/main.py", line 176, in resolving
    base.do_transaction(display=displays)
  File "/usr/lib/python3.11/site-packages/dnf/cli/cli.py", line 238, in do_transaction
    self.gpgsigcheck(install_pkgs)
  File "/usr/lib/python3.11/site-packages/dnf/cli/cli.py", line 305, in gpgsigcheck
    raise dnf.exceptions.Error(_("GPG check FAILED"))
dnf.exceptions.Error: GPG check FAILED

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 5
  • Comments: 31

Most upvoted comments

Im surprised that the release channel is still broken. Its been a few days

man, I’m really exhausted with this browser. I don’t want to deal with Brave anymore, I’m getting the browser unusable every week. Today I made a fool of myself with a client, to whom I needed to show things in the middle of a restaurant. Now instead of sleeping after an exhausting day I’ve been trying for hours to remove it from my system (fedora 38) and it’s fucking me with a damn digital certificate, I literally do nothing, even when I updated I applied ‘exclude=brave-browser’ because I was afraid to update. But I don’t want to know about this cancerous browser anymore, sorry but the nickname deserves it, at least with such instability and bugs and all that crap it brought me in my workspace. I will backup the bookmarks and somehow delete this and then go back to the glorious Firefox.

Guys a new release version of the browser and keyring has been released. And I’ve been able to install Brave after these issues.

Yup, pghpete, it once happened again here. ciro-mota’s 3-step solution works, but…ugh. Worst part is that it quietly blocks automatic updates for the whole OS (dnf-automatic). Love both the browser and the distro–why must they fight? Someone not already suffering high blood pressure should perhaps open a slightly broader issue, and cite this one.

The steps for me were:

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

It was only by following these steps that I was able to install the new update and not lose any settings previously made in the browser.