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 PKCS8 Key Import Support #56

Merged
merged 2 commits into from
Sep 11, 2019
Merged

Add PKCS8 Key Import Support #56

merged 2 commits into from
Sep 11, 2019

Conversation

Goirad
Copy link
Contributor

@Goirad Goirad commented Aug 29, 2019

This PR is an initial implementation for importing a key into ImportOptions, and is required for this PR in native-tls.

@sfackler
Copy link
Collaborator

Probably worth adding a simple test as well.

@Goirad
Copy link
Contributor Author

Goirad commented Aug 29, 2019

I added a test and moved up the free, though it looks like CI is failing for unrelated reasons. Any ideas as to what might be going on?

@steffengy
Copy link
Owner

@Goirad Please rebase against master, CI is fixed and all green again.

@Goirad
Copy link
Contributor Author

Goirad commented Aug 29, 2019

@steffengy rebased, would love any feedback or suggestions

@steffengy
Copy link
Owner

lgtm

Copy link
Contributor

@jethrogb jethrogb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about ECDSA support? Does Windows support this at all?

src/crypt_prov.rs Outdated Show resolved Hide resolved
@Goirad
Copy link
Contributor Author

Goirad commented Sep 3, 2019

@jethrogb looking here it looks like there is functionality for decoding ECC keys, probably in a way very similar to the new PKCS8 function

@steffengy
Copy link
Owner

As we currently do not support importing ECC keys, I think if there're no further objections we're fine landing this as is for now.

@Goirad
Copy link
Contributor Author

Goirad commented Sep 9, 2019

None from me

@steffengy steffengy merged commit 574c36c into steffengy:master Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants