Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for p12 files #37

Open
nathany opened this issue Apr 21, 2015 · 3 comments
Open

Add support for p12 files #37

nathany opened this issue Apr 21, 2015 · 3 comments
Labels

Comments

@nathany
Copy link
Contributor

nathany commented Apr 21, 2015

Certificates exported from the Apple keychain are in DER format (*.p12 files).

It would make sense to support these directly (in addition to or instead of PEM formatted files). The library I've been using for this is: https://github.com/Azure/go-pkcs12

There is an effort underway to move that library into x/crypto and firm up the APIs. Azure/go-pkcs12#9

@nathany nathany added the API label Apr 23, 2015
@nathany
Copy link
Contributor Author

nathany commented Apr 23, 2015

There are a number of helpers that do tls.X509KeyPair and tls.LoadX509KeyPair (in Conn, Client, and Feedback).

I'd like to simplify this by just using tls.Certificate and providing examples or a certificate helper for the loading.

@taylortrimble
Copy link
Contributor

I like where you're going with that.

@nathany nathany mentioned this issue Apr 30, 2015
11 tasks
@nathany
Copy link
Contributor Author

nathany commented Dec 9, 2015

The pkcs12 library is available at golang.org/x/crypto/pkcs12 with a slightly different API than before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants