mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 01:05:47 +00:00
Remove dependency on OpenSSL (#8768)
https://github.com/sigp/lighthouse/issues/8756 Only the Web3Signer actually needs OpenSSL in order to parse PKCS12 certificates. This updates the function to instead manually parse the cert (using the `p12-keystore` crate) and converts it to a `PEM` certificate (using the `pem` crate) which can be directly converted to a `reqwest::tls::Identity` as this can be done directly in `rustls`. Co-Authored-By: Mac L <mjladson@pm.me>
This commit is contained in:
@@ -10,6 +10,7 @@ deny = [
|
||||
{ crate = "protobuf", reason = "use quick-protobuf instead" },
|
||||
{ crate = "derivative", reason = "use educe or derive_more instead" },
|
||||
{ crate = "ark-ff", reason = "present in Cargo.lock but not needed by Lighthouse" },
|
||||
{ crate = "openssl", reason = "non-Rust dependency, use rustls instead" },
|
||||
{ crate = "strum", deny-multiple-versions = true, reason = "takes a long time to compile" },
|
||||
{ crate = "reqwest", deny-multiple-versions = true, reason = "takes a long time to compile" },
|
||||
{ crate = "aes", deny-multiple-versions = true, reason = "takes a long time to compile" },
|
||||
|
||||
Reference in New Issue
Block a user