nabijaczleweli / cargo-update

A cargo subcommand for checking and applying updates to installed executables
MIT License
1.22k stars 42 forks source link

check-revoke in config ignored #239

Closed ImNtReal closed 1 year ago

ImNtReal commented 1 year ago

My config.toml includes:

[http]
check-revoke = false

Running cargo install works for me, but if I try to run cargo-update, I get a failure:

 jmpugh@408itslt026  ~  .cargo  cargo install-update --all
    Polling registry 'https://index.crates.io/'
Failed to update index repository crates-io: package blindfold: [35] SSL connect error (schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.).

I'm not sure what else you need to know for this. I'm on Windows 10. I can tell it's reading the config file because it warns of bad options, but seems to ignore this one option that I need because I'm on a corporate network that does TLS inspection.

nabijaczleweli commented 1 year ago

Nope, we just don't check this table at all yet. If you use any of the other keys under [http], then now would be a good time to share that fact.

Please try the current master branch (at least d225a42ef4a76e36d31ba6abd7bc8ebd09d4a31b).

ImNtReal commented 1 year ago

The only others I have under [http] is cainfo and debug.

nabijaczleweli commented 1 year ago

cainfo forwarded in 92b0ae2053319dcab5ce40f01bec5d308f073563

nabijaczleweli commented 1 year ago

Released in v13.1.0.