Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(secrets): use platform-specific keyring features instead of apple-native on all platforms

Louis Beaumontfe4e15f1b5c0
diff --git a/crates/screenpipe-secrets/Cargo.toml b/crates/screenpipe-secrets/Cargo.toml
index 5c39a7798..a90245e6d 100644
--- a/crates/screenpipe-secrets/Cargo.toml
+++ b/crates/screenpipe-secrets/Cargo.toml
@@ -15,8 +15,11 @@ chacha20poly1305 = "0.10"
rand = "0.8"
chrono = { version = "0.4", features = ["serde"] }
-[target.'cfg(not(target_os = "macos"))'.dependencies]
-keyring = { version = "3", features = ["apple-native", "windows-native", "linux-native-sync-persistent"] }
+[target.'cfg(target_os = "windows")'.dependencies]
+keyring = { version = "3", features = ["windows-native"] }
+
+[target.'cfg(target_os = "linux")'.dependencies]
+keyring = { version = "3", features = ["linux-native-sync-persistent"] }
[dev-dependencies]
tokio = { version = "1", features = ["full", "test-util"] }