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

parse pkcs8 if pkcs1 fails #76

Closed
wants to merge 3 commits into from
Closed

Conversation

ostlerc
Copy link

@ostlerc ostlerc commented Feb 17, 2017

We are using the pkcs8 certificate. This fixes parsing the certificate in this scenario.

@coveralls
Copy link

coveralls commented Feb 17, 2017

Coverage Status

Coverage decreased (-1.1%) to 88.491% when pulling ee464b0 on ostlerc:master into c23f4b0 on sideshow:master.

@sideshow
Copy link
Owner

Thanks for the PR @ostlerc
I would like to merge this as it looks useful but is there any chance you can add some tests? - There is some examples for the other cert handling code. Thanks again

@ostlerc
Copy link
Author

ostlerc commented Feb 21, 2017

Sure. I'll try to get to it in a somewhat timely manner.

i'm not entirely sure why we do this, but hopefully it's okay to go with
the more idiomatic testing strategy here.
@ostlerc
Copy link
Author

ostlerc commented Feb 23, 2017

I added a test for the private function parsePrivateKey. But looks like you get a race condition if you switch your test package name to be the same as the actual package. This is confusing to me, and honestly taking more time than I wanted. So i'll close this PR and if you want this feature you can look at it if you like.

@ostlerc ostlerc closed this Feb 23, 2017
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.

None yet

3 participants