From 0aa31a36a0fced6955378fb9ab1450a60c0bf8fd Mon Sep 17 00:00:00 2001 From: Phoebus Date: Sat, 26 Sep 2026 16:46:09 -0700 Subject: [PATCH] fix(install): record reviewed Brave overlay pin --- installer-rs/crates/phoebus-core/src/system.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/installer-rs/crates/phoebus-core/src/system.rs b/installer-rs/crates/phoebus-core/src/system.rs index 73cb279..1dd5cdb 100644 --- a/installer-rs/crates/phoebus-core/src/system.rs +++ b/installer-rs/crates/phoebus-core/src/system.rs @@ -257,11 +257,11 @@ pub fn brave_packages() -> Vec<&'static str> { pub const BRAVE_OVERLAY_URI: &str = "https://github.com/falbrechtskirchinger/another-brave-overlay.git"; /// Last reviewed `another-brave-overlay` commit (2026-09-26 review: stable -/// `www-client/brave-browser` ebuild present, `eselect repository` listed, -/// Gentoo wiki documents the stable-only emerge path; live checksum +/// `www-client/brave-browser-1.96.59` ebuild present with `verify-sig`, +/// beta/nightly atoms masked by `brave_scope_mask`; live checksum /// verification against upstream Brave release artifacts happens at install /// time and fails closed). -pub const BRAVE_OVERLAY_DEFAULT_PIN: &str = ""; +pub const BRAVE_OVERLAY_DEFAULT_PIN: &str = "d3a97f22310e649d9349cbdb8c1c37caef169f39"; /// Upstream Brave release artifacts verified at install time. pub const BRAVE_UPSTREAM_RELEASES: &str = "https://github.com/brave/brave-browser/releases"; @@ -2918,6 +2918,8 @@ mod tests { let mask = brave_scope_mask(); assert!(mask.contains("www-client/brave-browser-beta")); assert!(mask.contains("www-client/brave-browser-nightly")); + // The recorded default pin is a reviewed, non-placeholder commit. + assert!(validate_brave_pin(BRAVE_OVERLAY_DEFAULT_PIN).is_ok()); } #[test]