From fe12ea7350b6752b4a990ffc8aa774f4f1ce8fd5 Mon Sep 17 00:00:00 2001 From: Greg Harper Date: Mon, 16 Mar 2026 17:10:05 -0700 Subject: [PATCH] Rename shared macOS keychain access group --- .github/macos/codex-shared-keychain.entitlements | 2 +- codex-rs/keyring-store/src/macos.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/macos/codex-shared-keychain.entitlements b/.github/macos/codex-shared-keychain.entitlements index db939087d0..df2a469a3d 100644 --- a/.github/macos/codex-shared-keychain.entitlements +++ b/.github/macos/codex-shared-keychain.entitlements @@ -4,7 +4,7 @@ keychain-access-groups - 2DC432GLL2.com.openai.shared + 2DC432GLL2.com.openai.codex.shared diff --git a/codex-rs/keyring-store/src/macos.rs b/codex-rs/keyring-store/src/macos.rs index 9ce3be7a72..1ea2ecb17e 100644 --- a/codex-rs/keyring-store/src/macos.rs +++ b/codex-rs/keyring-store/src/macos.rs @@ -42,7 +42,7 @@ impl fmt::Display for MacOsAccessGroupError { impl std::error::Error for MacOsAccessGroupError {} -const SHARED_ACCESS_GROUP: &str = "2DC432GLL2.com.openai.shared"; +const SHARED_ACCESS_GROUP: &str = "2DC432GLL2.com.openai.codex.shared"; const CODEX_KEYCHAIN_SERVICES: [&str; 3] = ["Codex Auth", "Codex MCP Credentials", "codex"]; pub(crate) fn load_password( @@ -266,6 +266,6 @@ mod tests { #[test] fn shared_access_group_matches_configured_team_prefix() { - assert_eq!(SHARED_ACCESS_GROUP, "2DC432GLL2.com.openai.shared"); + assert_eq!(SHARED_ACCESS_GROUP, "2DC432GLL2.com.openai.codex.shared"); } }