rustls-native-certs
rustls-native-certs copied to clipboard
Android and iOS support
I think we can look at how chromium is implemented.
https://github.com/chromium/chromium/blob/master/net/cert/cert_verify_proc_android.cc https://github.com/chromium/chromium/blob/master/net/cert/cert_verify_proc_ios.cc
Any updates on this?
Nope -- but if you're willing to contribute I'm happy to provide any guidance you need.
TBH, I was planning on it because of https://github.com/paritytech/subxt/issues/563. However, using webpki
seems to work on Android.
Android and iOS are both supported by https://github.com/rustls/rustls-platform-verifier
Is there user demand for a native-certs solution or should we suggest users consider using the platform verifier instead? That crate isn't quite ready for primetime but I also suspect we can get it ready sooner than we could add support for those platforms here.
iOS support might be as easy as enabling the security-framework path for ios
in addition to macos
, I think?
But in general, the rustls-platform-verifier is probably a better alternative for most use cases.
rustls-platform-verifier has been released and is probably a better option in most cases.