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

Remove unneeded checks for private key #259

Closed
wants to merge 1 commit into from

Conversation

UXabre
Copy link

@UXabre UXabre commented Apr 20, 2023

Solves: #238

THe problem is that EC keys slightly change the separator text and I don't think a check is needed on this level... what if, in the future, a different thing is added?

I think this is part of the appeal of using native TLS, that it can support things not originally supported. That is why I propose to remove the check altogether

@sfackler
Copy link
Owner

You probably have an EC key in Sec1 format, not pkcs#8. The OpenSSL cli can help you convert your private key file to the appropriate format.

@UXabre
Copy link
Author

UXabre commented Apr 20, 2023

Ok, now i feel stupid for not realizing this. Thanks for taking the time to reply! Will fix it on my end and close this pr

@UXabre UXabre closed this Apr 20, 2023
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.

2 participants