-
Notifications
You must be signed in to change notification settings - Fork 167
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
inconsistent treatment of EC vs RSA keys #233
Comments
As pointed out in the linked issue, that |
It sounds awesome. |
I implemented this (along with a few other useful features I needed) in the |
I don’t have time to cherry pick but instead rely on you with the knowledge about why it’s needed and how it’s implemented to make PRs. My goal is just to ensure timely and good quality code. So please feel free to make some PR to fix the issue and we can discuss further. |
Well, the thing is, what I have already implemented in |
Fair enough. If you have time feel free to submit PRs :) |
@mpalmer , I have also been frustrated by slow turn around, but I also understand things from the other side of the fence (tcpdump and libpcap is way behind, and it's all my fault) I will go through your openssl-additions gem, which I think is at: https://github.com/pwnedkeys/openssl-additions and see if there are things there that I also want, and attempt to PR it. |
If PRs are good I can merge them within a week. |
With RSA keys the public key is just an RSA object with no private key.
The public key can always be derived from the private key. One can get PEM representations of each
type by calling to_pem on the appropriate object:
The same is not true for EC keys. The public part is represented by an EC::Point, which has no to_pem or to_der methods defined. Is this simply an oversight, or is there something I'm missing?
The desire is to have Raw Public Keys in subjectPubKeyInfo DER coded format.
#29 suggests that this has been solved, but I don't really think so until OpenSSL::PKey::EC::Point has a to_pem/to_der method.
The text was updated successfully, but these errors were encountered: