fix(install): use Brave Beta's own keyring (not the stable one)
Brave's Beta channel is signed with its own key (C3DE1DD4F661CDCB). The previous attempt to share the stable keyring failed at apt update with NO_PUBKEY because the release bucket's keyring only contains the stable channel's key. The correct URL is the beta bucket itself with the channel-specific filename: brave-browser-apt-beta.s3.brave.com/brave-browser-beta-archive-keyring.gpg
This commit is contained in:
parent
ac38ceccbc
commit
9f3e6ba049
1 changed files with 4 additions and 3 deletions
|
|
@ -45,10 +45,11 @@ install_brave_beta() {
|
||||||
info "Brave Beta already installed"
|
info "Brave Beta already installed"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
# All Brave channels share one signing key, hosted in the release bucket.
|
# Brave's Beta channel is signed with its own key (C3DE1DD4F661CDCB),
|
||||||
# The repo URL itself is still the beta bucket.
|
# NOT the stable keyring — the keyring file in the beta bucket includes
|
||||||
|
# "beta" in the name.
|
||||||
add_apt_repo brave-browser-beta \
|
add_apt_repo brave-browser-beta \
|
||||||
https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg \
|
https://brave-browser-apt-beta.s3.brave.com/brave-browser-beta-archive-keyring.gpg \
|
||||||
"deb [signed-by=$KEYRINGS_DIR/brave-browser-beta.gpg arch=amd64] https://brave-browser-apt-beta.s3.brave.com/ stable main"
|
"deb [signed-by=$KEYRINGS_DIR/brave-browser-beta.gpg arch=amd64] https://brave-browser-apt-beta.s3.brave.com/ stable main"
|
||||||
apt_update_once
|
apt_update_once
|
||||||
apt_install brave-browser-beta
|
apt_install brave-browser-beta
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue