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: remove --encrypt-store from CLI — store.bin is Tauri-only

Louis Beaumontc81ac02435f5
diff --git a/crates/screenpipe-config/src/recording.rs b/crates/screenpipe-config/src/recording.rs
index b742b37e6..180f0b9ba 100644
--- a/crates/screenpipe-config/src/recording.rs
+++ b/crates/screenpipe-config/src/recording.rs
@@ -257,10 +257,6 @@ pub struct RecordingSettings {
/// Require authentication for remote (non-localhost) API access.
#[serde(rename = "apiAuth", default)]
pub api_auth: bool,
-
- /// Encrypt store.bin at rest using OS keychain-stored key.
- #[serde(rename = "encryptStore", default)]
- pub encrypt_store: bool,
}
impl RecordingSettings {
@@ -338,7 +334,6 @@ impl Default for RecordingSettings {
schedule_enabled: false,
schedule_rules: vec![],
api_auth: false,
- encrypt_store: false,
}
}
}
diff --git a/crates/screenpipe-engine/src/cli/mod.rs b/crates/screenpipe-engine/src/cli/mod.rs
index 9a1edaa36..17acfa47e 100644
--- a/crates/screenpipe-engine/src/cli/mod.rs
+++ b/crates/screenpipe-engine/src/cli/mod.rs
@@ -349,10 +349,6 @@ pub struct RecordArgs {
/// Localhost requests are always allowed.
#[arg(long, default_value_t = false)]
pub api_auth: bool,
-
- /// Encrypt store.bin at rest using an OS keychain-stored key.
- #[arg(long, default_value_t = false)]
- pub encrypt_store: bool,
}
impl RecordArgs {
@@ -503,14 +499,6 @@ impl RecordArgs {
});
}
- // Sync the .encrypt-store flag file
- let flag_path = config.data_dir.join(".encrypt-store");
- if self.encrypt_store && !flag_path.exists() {
- let _ = std::fs::write(&flag_path, b"");
- } else if !self.encrypt_store && flag_path.exists() {
- let _ = std::fs::remove_file(&flag_path);
- }
-
config
}
}