webpki icon indicating copy to clipboard operation
webpki copied to clipboard

Support for PKCS12 loading

Open silvioprog opened this issue 5 years ago • 4 comments

Hi.

PKCS #12 files are widely used by clients to access web services, so it would be nice to add some method like native-tls::from_pkcs12().

Without this method, we still depending on tools like opensssl or gnutls to parse pkcs12 files to access web services like this, so any built-in method to parse files .p12 or .pfx without installing any external/additional TLS tool would be very appreciated.

Thank you!

silvioprog avatar Jan 10 '20 15:01 silvioprog

Would be greatly appreciated indeed. Or should this be done directly in ring?

Keruspe avatar Feb 26 '20 09:02 Keruspe

I suggest we do this in ring.

briansmith avatar Mar 12 '20 16:03 briansmith

Reopened. Actually, I will re-open this. If somebody wants to make a PoC or sketch a design for what this would look like in this crate, I would be happy to work with them on it. Then we can decide how much of the code would belong here vs. in ring.

briansmith avatar Mar 12 '20 16:03 briansmith

I'm trying to understand the ring. If I understood correctly, it is a core for webpki. If so, the PKCS12 support should be added to the ring firstly, so this crate could use the new feature from its core.

silvioprog avatar Oct 15 '21 04:10 silvioprog