Skip to content

Commit f1da36f

Browse files
committed
Auto merge of #12993 - cyqsimon:linux-pm, r=ehuss
docs: Recommend a wider selection of libsecret-compatible password managers ### What does this PR try to resolve? Previously the only password manager recommended was Gnome Keyring, which not everyone will find ideal for a variety of reasons. A few common ones: - GTK. The user may not want to have to install the entire toolkit. - Look and feel. The design of Gnome software is pretty opinionated. - They already use something else. So I think it makes sense to recommend a few more widely-used alternatives. All three are GPL. ### How should we test and review this PR? Documentation changes only. ### Additional information
2 parents 43fbbc9 + 400a833 commit f1da36f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/doc/src/reference/registry-authentication.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ provider is used if no providers are configured.
1010

1111
Cargo also includes platform-specific providers that use the operating system to securely store
1212
tokens. The `cargo:token` provider is also included which stores credentials in unencrypted plain
13-
text in the [credentials](config.md#credentials) file.
13+
text in the [credentials](config.md#credentials) file.
1414

1515
## Recommended configuration
1616
It's recommended to configure a global credential provider list in `$CARGO_HOME/config.toml`
@@ -71,8 +71,12 @@ The Keychain Access app can be used to view stored tokens.
7171
### `cargo:libsecret`
7272
Uses [libsecret](https://wiki.gnome.org/Projects/Libsecret) to store tokens.
7373

74-
On GNOME, credentials can be viewed using [GNOME Keyring](https://wiki.gnome.org/Projects/GnomeKeyring)
75-
applications.
74+
Any password manager with libsecret support can be used to view stored tokens.
75+
The following are a few examples (non-exhaustive):
76+
77+
- [GNOME Keyring](https://wiki.gnome.org/Projects/GnomeKeyring)
78+
- [KDE Wallet Manager](https://apps.kde.org/kwalletmanager5/) (since KDE Frameworks 5.97.0)
79+
- [KeePassXC](https://keepassxc.org/) (since 2.5.0)
7680

7781
### `cargo:token-from-stdout <command> <args>`
7882
Launch a subprocess that returns a token on stdout. Newlines will be trimmed.

0 commit comments

Comments
 (0)