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

Better documentation on how to use / convert OpenSSL generated EC keys with ring #2125

Open
juliankrieger opened this issue Jul 2, 2024 · 2 comments

Comments

@juliankrieger
Copy link
Contributor

juliankrieger commented Jul 2, 2024

I'm using ring in an environment where private ( openssl generated ) keys are received from parts of our infrastructure. This I can not change.

I found #370 for conversion / stripping of openssl generated RSA keys to make them compatible with ring. I have tried and failed to convert an openssl generated ECDSA key to work with ring, but I keep failing. I've tried using https://lapo.it/asn1js to read out the offset until the SEQUENCE part starts and stripping my key DER that way, but no luck.

I've added a test file to this issue.

Is there any possibility of adding information regarding openssl compatibility into ring?
Archive.zip

@juliankrieger
Copy link
Contributor Author

@briansmith I've still not had any luck. Any inputs?

@juliankrieger
Copy link
Contributor Author

As far as I can see, the entire discussion of #370 / #476 / #384 was never resolved? Is there a feature now for this?

@juliankrieger juliankrieger changed the title Better documentation on how to use / convert OpenSSL generated keys with ring Better documentation on how to use / convert OpenSSL generated EC keys with ring Jul 15, 2024
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

No branches or pull requests

1 participant