-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
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
cargo deny: 'NTLM' authentication is not supported #435
Comments
What OS is this on? |
ubuntu0.20.04.1 behind a corp proxy with correct http_proxy, https_proxy and no_proxy set. Other cargo commands work fine. I noticed the same behavior with
I tried to exec |
You can try adding this to your config to see if that resolves this issue.
Otherwise you could add a PR to improve the setup of the libgit2 authentication at cargo-deny/src/advisories/helpers.rs Line 217 in 824c2d1
|
Setting
leads to $ cargo-deny check advisories
Cloning into '/home/runner/.cargo/advisory-db/github.com-2f857891b7f43c59'...
fatal: unable to access 'https://github.com/rustsec/advisory-db/': Received HTTP code 407 from proxy after CONNECT
2022-07-15 14:10:05 [ERROR] failed to open advisory database: failed to resolve path '/home/runner/.cargo/advisory-db/github.com-2f857891b7f43c59': No such file or directory; class=Os (2); code=NotFound (-3 |
Ok, well in that case you'd need to make a PR to either improve the libgit2 authentication setup I mentioned above, or the CLI path if it is easier, as I have no idea why git itself would fail if it works in other scenarios. |
Ok, how is that related to the CLI path? |
It's not, I'm saying you could improve either path depending on which is easier for you. |
Describe the bug
cargo deny --format json check advisories
prints
{"fields":{"level":"ERROR","message":"'NTLM' authentication is not supported; class=Http (34)","timestamp":"2022-07-15T09:58:23.082045256Z"},"type":"log"}
cargo-deny 0.12.1
The text was updated successfully, but these errors were encountered: