Kixunil / tonic_lnd

Rust implementation of LND RPC client using async GRPC library `tonic`
31 stars 44 forks source link

Allow use of PKI to verify the certificate #1

Open Kixunil opened 3 years ago

Kixunil commented 3 years ago

The certificate is currently verified by-for-byte against a file in FS. This may be undesired in some cases. An alternative function (e.g. connect_pki) should be provided that uses PKI instead of simple comparison.

See also https://github.com/ctz/rustls/issues/772#issuecomment-873343405 and comment below.