mirror of
https://github.com/hoornet/vega.git
synced 2026-07-24 09:18:11 -07:00
keychain: use Secret Service on Linux (persists in Flatpak sandbox)
linux-native (kernel keyutils) does not persist across Flatpak launches — each sandbox gets a fresh session keyring. Switch Linux to sync-secret-service (dbus-secret-service, pure Rust) so keys go to gnome-keyring/Secret Service, which persists to disk and works in the sandbox via --talk-name=org.freedesktop.secrets. Existing native users re-enter their key once (moves from kernel keyring to the Secret Service). macOS/Windows backends unchanged.
This commit is contained in:
@@ -30,7 +30,7 @@ reqwest = { version = "0.13", default-features = false, features = ["socks"] }
|
||||
tauri-plugin-process = "2"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
keyring = { version = "3", features = ["apple-native", "windows-native", "linux-native"] }
|
||||
keyring = { version = "3", features = ["apple-native", "windows-native", "sync-secret-service", "crypto-rust"] }
|
||||
rusqlite = { version = "0.32", features = ["bundled"] }
|
||||
tauri-plugin-http = { version = "2.5.7", features = ["socks"] }
|
||||
tauri-plugin-dialog = "2.7.0"
|
||||
|
||||
Reference in New Issue
Block a user