input-output-hk / mithril

Stake-based threshold multi-signatures protocol
https://mithril.network
Apache License 2.0
115 stars 36 forks source link

Allow the underlying TLS implementation to be selectable when using a library. #1737

Closed stevenj closed 3 weeks ago

stevenj commented 4 weeks ago

Why

Currently the only TLS implementation exposed by mithril-client is OpenSSL dynamically linked to a system library. It is common for projects to require either OpenSSL to be vendored, OR to use Rustls as an alternative.

The underlying reqwest library allows all these options. The consumer of mithril-client should have the same options.

What

Adding features to allow a consumer of the mithril-client to choose the OpenSSL implementation used by it.