mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-20 00:17:44 +00:00
The keyring crate's Linux backend requires C libdbus, which cross builds (zigbuild) cannot link, so Linux desktop users hit the same desktop-migrated-but-MCP-blocked failure that macOS/Windows users hit in 0.4.94 - with no native build to fix it on. Replace the Linux keyring path with the secret-service crate (pure-Rust zbus, no C dependencies, speaks the session-bus protocol directly), keeping the exact on-disk attribute layout the keyring crate writes (target/service/username, with the legacy no-target fallback) so existing desktop-provisioned keys remain readable both ways. - connect/collection failures (no session bus, headless servers) map to a missing provider so callers keep falling back to the managed .dbx/secret.key file exactly as before - found-but-unreadable keyring items now fail fast with a specific KEYRING_ACCESS_FAILED code on every platform instead of silently provisioning a new key that would strand existing ciphertext - the Linux zigbuild MCP/CLI package legs build with os-keyring