sfackler / rust-native-tls

Apache License 2.0
470 stars 195 forks source link

Allows the user to implement the logic for identity object creation #234

Open msabansal opened 1 year ago

msabansal commented 1 year ago

Similar to whats mentioned in https://github.com/sfackler/rust-native-tls/issues/232 we have a scenario where we want to use certificates which are non-exportable. Coming up with a clean cross platform design is challenging. This is our attempt to keep things simple and delegate the complexity to the user

sfackler commented 1 year ago

I do not want to expose the underlying implementing crates to the user.

msabansal commented 1 year ago

While I understand the reasoning for it designing a cross platform feature for something thats an abstraction over the underlay feels non trivial.

If it is acceptable we can hide this behind a feature flag

sfackler commented 1 year ago

It is absolutely nontrivial, but that is what this library is.