bitcoindevkit / bitcoindevkit/rust-electrum-client

Allow passing a custom rustls ClientConfig

Open
#211 2 comments 0 reactions 0 assignees View on GitHub
discussion new feature
Dominant language
Rust
Stars
89
Forks
82
Avg merge
2d 3h
Merged PRs (30d)
1

Description

`electrum-client` currently creates its own `rustls::ClientConfig` for `ssl://` connections using `webpki_roots`. The public `Config` API doesn’t seem to let callers provide their own `ClientConfig` or certificate verifier.

This is a problem for mobile apps that want to use native OS certificate validation, for example via `rustls-platform-verifier` on Android/iOS. In Cove, this would help fix `UnknownIssuer` errors for certs trusted by the platform store. Related issue in cove: https://github.com/bitcoinppl/cove/issues/776

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.