@@ -1017,9 +1017,6 @@ credential-process = "cargo:macos-keychain"
1017
1017
The current wrappers are:
1018
1018
1019
1019
* ` cargo:macos-keychain ` : Uses the macOS Keychain to store the token.
1020
- * ` cargo:gnome-secret ` : Uses
1021
- [ libsecret] ( https://wiki.gnome.org/Projects/Libsecret ) to store the token on
1022
- Linux systems running GNOME.
1023
1020
* ` cargo:wincred ` : Uses the Windows Credential Manager to store the token.
1024
1021
* ` cargo:1password ` : Uses the 1password ` op ` CLI to store the token. You must
1025
1022
install the ` op ` CLI from the [ 1password
@@ -1034,6 +1031,20 @@ The current wrappers are:
1034
1031
* ` --sign-in-address ` : The sign-in-address, which is a web address such as ` my.1password.com ` .
1035
1032
* ` --email ` : The email address to sign in with.
1036
1033
1034
+ A wrapper is available for GNOME
1035
+ [ libsecret] ( https://wiki.gnome.org/Projects/Libsecret ) to store tokens on
1036
+ Linux systems. Due to build limitations, this wrapper is not available as a
1037
+ pre-compiled binary. This can be built and installed manually. First, install
1038
+ libsecret using your system package manager (for example, `sudo apt install
1039
+ libsecret-1-dev` ). Then build and install the wrapper with ` cargo install
1040
+ --git https://github.com/rust-lang/cargo.git cargo-credential-gnome-secret`.
1041
+ In the config, use a path to the binary like this:
1042
+
1043
+ ``` toml
1044
+ [registry ]
1045
+ credential-process = " cargo-credential-gnome-secret {action}"
1046
+ ```
1047
+
1037
1048
#### ` credential-process ` Interface
1038
1049
1039
1050
There are two different kinds of token processes that Cargo supports. The
0 commit comments