3 ms·
I've been waiting so much for a way to use rustup (and Cargo, but that's beyond the pull request a bit further down) behind a MITM proxy. And since Rust has al
by Tomte 8y ago
I've been waiting so much for a way to use rustup (and Cargo, but that's beyond the pull request a bit further down) behind a MITM proxy.
And since Rust has always been Windows-friendly, I had high hopes when someone actually started to implement this support (basically pass "-k" to curl).
Because I had fought with all kinds of git and curl configuration files, until I realized that those don't mean anything to rustup.
The implementation was critiqued in a very civil way. The author fixed the issues. Everything was ready to merge and... in walk some busybodies who under the pretense of caring about security (having no clue about the issue or modern Windows workplaces, and despite clear refutations of their concerns) have seemingly been able to kill this patch: https://github.com/rust-lang/rustup.rs/pull/1624/ https://github.com/rust-lang/rustup.rs/pull/1624/
"We need to discuss this with experts". I don't know where, I briefly searched for any such discussion. I guess there was none.
So a drive-by shooting killed a very useful feature. The saboteurs can revel in the knowledge that they drove away a new contributor (I haben't seen any more activity on that GitHub issue). And users suffer.
Thanks a lot! Sabotaging corporate users must feel very good.
- steveklabnik 8y agoPart of the issue here is that rustup has not had a dedicated maintainer in a while; we’re working on it.
- jolhoeft 8y agoIs there a link to the maintainer discussion?
- steveklabnik 8y agoI am not 100% sure; I’m not on the tools team, but it’s undergoing a big re-org at the moment. I’d get in touch with them: https://www.rust-lang.org/governance/teams/dev-tools https://www.rust-lang.org/governance/teams/dev-tools
- perennialmind 8y agoI don't know why back-to-back SSL proxies were never afforded an officially sanctioned mechanism for explicitly delegating trust. The alternative is this "I know you're lying, but I love you too much to leave you" mentality. If you're asking package managers to facilitate such a morally compromised relationship, your best bet is to make user intent explicit and circumscribed. One way to signal that intent might be to adopt a trust-on-first-use approach: > rustup --detect-mitm MITM thumbprint: 567d3e4c... > rustup --permit-mitm=567d3e4c... Not that that would be easy to do, mind you.