We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net.git-fetch-with-cli = true
I’m using private repositories like this : crate = { git = "ssh://[email protected]/namespace/crate.git" }
crate = { git = "ssh://[email protected]/namespace/crate.git" }
In order to allow for SSH authentication, I’m turning on the feature net.git-fetch-with-cli = true through .cargo/config.toml.
.cargo/config.toml
It all works fine under Linux (WSL2) and asks for the private key’s password through stdin, but not under Windows.
net.git-fetch-with-cli
cargo build
Might be in src/cargo/sources/git/utils.rs:880 or further down in cargo-util/src/process_builder.rs:284
src/cargo/sources/git/utils.rs:880
cargo-util/src/process_builder.rs:284
Today is the first day of the rest of your life
cargo 1.64.0-nightly (85b500cca 2022-07-24) release: 1.64.0-nightly commit-hash: 85b500ccad8cd0b63995fd94a03ddd4b83f7905b commit-date: 2022-07-24 host: x86_64-pc-windows-gnu libgit2: 1.4.2 (sys:0.14.2 vendored) libcurl: 7.83.1-DEV (sys:0.4.55+curl-7.83.1 vendored ssl:Schannel) os: Windows 10.0.19044 (Windows 10 Pro) [64-bit]
The text was updated successfully, but these errors were encountered:
Closing as this appears to be fixed by #11579.
Sorry, something went wrong.
No branches or pull requests
Problem
I’m using private repositories like this :
crate = { git = "ssh://[email protected]/namespace/crate.git" }
In order to allow for SSH authentication, I’m turning on the feature
net.git-fetch-with-cli = true
through.cargo/config.toml
.It all works fine under Linux (WSL2) and asks for the private key’s password through stdin, but not under Windows.
Steps
net.git-fetch-with-cli
cargo build
failsPossible Solution(s)
Might be in
src/cargo/sources/git/utils.rs:880
or further down incargo-util/src/process_builder.rs:284
Notes
Today is the first day of the rest of your life
Version
The text was updated successfully, but these errors were encountered: