NO_PUBKEY A8580BDC82D3DC6C, brave-browser repository not signed, . . .

I am trying to install the brave browser as part of a Debian live DVD apt-clone configuration.

https://packages.debian.org/search?searchon=names&keywords=apt-clone

https://www.reddit.com/r/debian/comments/pr9mkg/is_there_an_aptclone_alternative_for_bullseye/

// __ APT Package Management: Backup and Reinstall Packages Using APT Clone

https://www.youtube.com/watch?v=QxgT1CjeAhs
~
by following brave’s own instructions:

https://brave.com/linux/
~
the only necessary step that I changed (which I don’t think should be the cause of the problem) is that I need to leave the keyring in in a local directory (not /usr/share/keyrings)

_BRAVE_KRNG=“https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
_BN=$(basename “${_BRAVE_KRNG}”)
echo “// __ $_BN: |${_BN}|”

_KRNG_DIR=“”

_DT=$(date +%Y%m%d%H%M%S)
_LOG_FL=“${BN}${_DT}_curl.log”
time(sudo curl --verbose --location --show-error --output “${_KRNG_DIR}/${_BN}” “${_BRAVE_KRNG}” > “${_LOG_FL}” 2>&1) >> “${_LOG_FL}” 2>&1

ls -l “${_LOG_FL}”
wc -l “${_LOG_FL}”
-rwxrwxrwx 1 user user 2900 Dec 26 16:30 brave-browser-archive-keyring.gpg_20221226163011_curl.log
73 brave-browser-archive-keyring.gpg_20221226163011_curl.log

ls -l “${_KRNG_DIR}/${_BN}”
file --brief “${_KRNG_DIR}/${_BN}”
-rwxrwxrwx 1 user user 2832 Dec 26 16:30 /brave-browser-archive-keyring.gpg
PGP/GPG key public ring (v4) created Mon Oct 15 22:09:54 2018 RSA (Encrypt or Sign) 4096 bits MPI=0xf08b1f1c23f40c23…

echo “deb [signed-by=”${_KRNG_DIR}/${_BN}" arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list

$ cat /etc/apt/sources.list.d/brave-browser-release.list
deb [signed-by=/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main

$ sudo apt update
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 https://brave-browser-apt-release.s3.brave.com stable InRelease [4,317 B]
Err:2 https://brave-browser-apt-release.s3.brave.com stable InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY A8580BDC82D3DC6C
Get:3 http://deb.debian.org/debian bullseye/main amd64 Packages [8,183 kB]
Get:4 http://deb.debian.org/debian bullseye/main Translation-en [6,240 kB]
Reading package lists… Done
W: GPG error: https://brave-browser-apt-release.s3.brave.com stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY A8580BDC82D3DC6C
E: The repository ‘https://brave-browser-apt-release.s3.brave.com stable InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
$

$ sudo apt install brave-browser
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package brave-browser
$
~
what should I change to make it happen?
lbrtchx

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.