commit 56b89be7bfd762f50a884cb1d7562753bae86063
parent 8cb3e8c3dbeaff4a104b2e1b512871fce8ce6d53
Author: triesap <tyson@radroots.org>
Date: Fri, 28 Aug 2026 02:19:45 +0000
fix(storage): select Linux keyring runtime
Diffstat:
3 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/core/Cargo.lock b/core/Cargo.lock
@@ -2501,6 +2501,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
[[package]]
+name = "signal-hook-registry"
+version = "1.4.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
+dependencies = [
+ "errno",
+ "libc",
+]
+
+[[package]]
name = "siphasher"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2803,9 +2813,11 @@ dependencies = [
"libc",
"mio",
"pin-project-lite",
+ "signal-hook-registry",
"slab",
"socket2",
"tokio-macros",
+ "tracing",
"windows-sys 0.59.0",
]
@@ -3503,6 +3515,7 @@ dependencies = [
"rustix",
"serde",
"serde_repr",
+ "tokio",
"tracing",
"uds_windows",
"uuid",
diff --git a/core/crates/harvestcircle_storage/Cargo.toml b/core/crates/harvestcircle_storage/Cargo.toml
@@ -23,7 +23,7 @@ getrandom.workspace = true
zeroize = "=1.9.0"
[target.'cfg(target_os = "linux")'.dependencies]
-secret-service = { version = "=5.1.0", features = ["crypto-rust"] }
+secret-service = { version = "=5.1.0", features = ["rt-tokio-crypto-rust"] }
[target.'cfg(target_os = "macos")'.dependencies]
security-framework = "=3.7.0"
diff --git a/core/crates/harvestcircle_storage/tests/package_boundary.rs b/core/crates/harvestcircle_storage/tests/package_boundary.rs
@@ -27,7 +27,10 @@ fn storage_package_keeps_one_sqlite_authority_and_a_sealed_public_surface() {
assert!(manifest.contains("radroots_service_sqlite.workspace = true"));
assert!(manifest.contains("sqlx.workspace = true"));
assert!(!manifest.contains("\nkeyring ="));
- assert!(manifest.contains("secret-service = { version = \"=5.1.0\""));
+ assert!(manifest.contains(
+ "secret-service = { version = \"=5.1.0\", features = [\"rt-tokio-crypto-rust\"] }"
+ ));
+ assert!(!manifest.contains("features = [\"crypto-rust\"]"));
assert!(manifest.contains("security-framework = \"=3.7.0\""));
assert!(manifest.contains("security-framework-sys = \"=2.17.0\""));
assert!(workspace_manifest.contains("sqlx = { version = \"=0.9.0\""));