-
Notifications
You must be signed in to change notification settings - Fork 595
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 EC private keys #997
Conversation
The relevant pemfile change: rustls/pemfile#5 |
A dependency to sec1 can't be added. Duplicate of #332 (comment). |
Any idea where the source of ring 0.16.20 is? I'm not opposed to patching ring but I can't progress as ring from master won't work with rustls. |
I've made a diff against ring's commit 9cc0d45f4d8521f467bb3a621e74b1535e118188, sent briansmith/ring#1456 and updated this PR to match. |
Codecov Report
@@ Coverage Diff @@
## main #997 +/- ##
==========================================
- Coverage 96.17% 96.14% -0.03%
==========================================
Files 59 60 +1
Lines 9406 9759 +353
==========================================
+ Hits 9046 9383 +337
- Misses 360 376 +16
Continue to review full report at Codecov.
|
Note #998 achieves this another (much less graceful) way. This PR can remain for doing it in the more reasonable way: so please add a |
Thanks for merging in a workaround! |
I think we should close this PR for now since the feature was accomplished with a workaround. The upstream ring project hasn't been active in some time, making it seem unlikely that a better approach will be provided there anytime soon. Even if it were, this branch has a number of conflicts that would need to be addressed. I suspect it would be easier to start a fresh branch inspired by this one when the time comes. Thanks! |
This adds support for EC PRIVATE KEY.
Arguably this should be within ring but frankly I'm afraid to touch it as I couldn't even find the github tag for the current version. I suggest the support lands in rustls first so that its clients (e.g. kube-rs) can move on with the required support and then I'll see if this could go into ring.