The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(secret_storage): gate read-only key lookup behind secret-file feature
Steven Enamakel9c4f794af215
diff --git a/crates/openhuman-core/src/security/secret_storage/encrypted_file_backend/key_source.rs b/crates/openhuman-core/src/security/secret_storage/encrypted_file_backend/key_source.rsindex 4664c84ce4..ae855474b2 100644--- a/crates/openhuman-core/src/security/secret_storage/encrypted_file_backend/key_source.rs+++ b/crates/openhuman-core/src/security/secret_storage/encrypted_file_backend/key_source.rs@@ -144,6 +144,7 @@ pub(super) fn workspace_master_key(/// changing key state. Explicit operator key variables retain their normal/// precedence; otherwise only an existing key file beneath `workspace` is/// considered. Host key sources are excluded because they can prompt or mint.+#[cfg(feature = "secret-file")]pub(super) fn profile_master_key_read_only(workspace: &Path,) -> Result<Option<Zeroizing<[u8; 32]>>, SecretStorageError> {@@ -195,6 +196,6 @@ pub(super) fn profile_master_key_read_only(.map_err(SecretStorageError::Backend)}-#[cfg(test)]+#[cfg(all(test, feature = "secret-file"))]#[path = "key_source_tests.rs"]mod tests;