reth icon indicating copy to clipboard operation
reth copied to clipboard

Remove `webpki-roots` as dependency

Open onbjerg opened this issue 1 year ago • 1 comments

Describe the feature

webpki-roots is currently a transitive dependency of Reth because of jsonrpsee and reqwest.

jsonrpsee uses webpki-roots for the TLS WebSocket transport, which is enabled when the client feature is used.

jsonrpsee also has support for rustls-native-certs (ref), though, which is what we use anyway.

For some reason, but rustls support and webpki-roots is enabled when enabling the client feature. See their Cargo.toml

As for reqwest, webpki-roots is automatically pulled when enabling the rustls-tls feature. We should instead enable rustls-tls-native-roots.

Additional context

No response

onbjerg avatar Apr 25 '24 16:04 onbjerg

This issue is stale because it has been open for 21 days with no activity.

github-actions[bot] avatar May 17 '24 01:05 github-actions[bot]

won't fix

jenpaff avatar Mar 27 '25 11:03 jenpaff