3 ms·
Nothing in Rust prevents you from turning off SSL validation
by lionkor 2y ago
Nothing in Rust prevents you from turning off SSL validation
- IshKebab 2y agoThat's not quite true. The name is at least better and tries to warn you of the danger: https://docs.rs/reqwest/latest/reqwest/struct.ClientBuilder.html#method.danger_accept_invalid_certs https://docs.rs/reqwest/latest/reqwest/struct.ClientBuilder.... https://docs.rs/rustls/latest/rustls/#rustls-takes-care-of-server-certificate-verification https://docs.rs/rustls/latest/rustls/#rustls-takes-care-of-s...
- lionkor 2y agothat's a library, not the standard library, and not a language feature
- IshKebab 2y agoSo? Qt is a library too. And it is a cultural feature of the language. Rust libraries and code tends to highly value correctness. Find my a Python or C library that tries to prevent you from disabling certificate validation like that. I'll wait.