Skip to content

Commit ef78b9b

Browse files
authored
Enable persistence in user-chosen keyring for keyring-rs on linux
Before this commit, keyring-rs for linux was configured to only use keyutils' session store (through the linux-native flag), meaning that credentials were only stored on the machine until the next power cycle. This commit replaces the linux-native feature flag with linux-native-sync-persistent flag, which incorporates linux-native but will preferentially use a user's persistent keyring (e.g. gnome-keyring or kwallet) via org.freedesktop.secrets over dbus.
1 parent 6069f5c commit ef78b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ tokio = { version = "1.45.1", default-features = false }
2020
keyring = { version = "3.6.1", features = [
2121
"apple-native",
2222
"windows-native",
23-
"linux-native",
23+
"linux-native-sync-persistent",
2424
"crypto-rust",
2525
] }
2626
anyhow = "1.0.98"

0 commit comments

Comments
 (0)