Open onbjerg opened 7 months ago
webpki-roots is currently a transitive dependency of Reth because of jsonrpsee and reqwest.
webpki-roots
jsonrpsee
reqwest
jsonrpsee uses webpki-roots for the TLS WebSocket transport, which is enabled when the client feature is used.
client
jsonrpsee also has support for rustls-native-certs (ref), though, which is what we use anyway.
rustls-native-certs
For some reason, but rustls support and webpki-roots is enabled when enabling the client feature. See their Cargo.toml
rustls
Cargo.toml
As for reqwest, webpki-roots is automatically pulled when enabling the rustls-tls feature. We should instead enable rustls-tls-native-roots.
rustls-tls
rustls-tls-native-roots
No response
This issue is stale because it has been open for 21 days with no activity.
Describe the feature
webpki-roots
is currently a transitive dependency of Reth because ofjsonrpsee
andreqwest
.jsonrpsee
useswebpki-roots
for the TLS WebSocket transport, which is enabled when theclient
feature is used.jsonrpsee
also has support forrustls-native-certs
(ref), though, which is what we use anyway.For some reason, but
rustls
support andwebpki-roots
is enabled when enabling theclient
feature. See theirCargo.toml
As for
reqwest
,webpki-roots
is automatically pulled when enabling therustls-tls
feature. We should instead enablerustls-tls-native-roots
.Additional context
No response