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

ECC x509 keys #82

Open
jcharaoui opened this issue Jan 21, 2024 · 2 comments
Open

ECC x509 keys #82

jcharaoui opened this issue Jan 21, 2024 · 2 comments

Comments

@jcharaoui
Copy link
Contributor

It would be great to be able to create ECC x509 keys with trocla.

ECC keys are widely supported now and benefit from much smaller size compared to RSA based keys.

@duritong
Copy link
Owner

Absolutely, would be happy to merge such a MR. Important would be to make it non-breaking for existing things. But given that these use-cases are quite heavily tested, I would expect to be able to hold a stable interface.

@duritong
Copy link
Owner

A new option called type (or so) could be introduced, which defaults to RSA and then it could be switched to ECC and then based on that option we could either dispatch to OpenSSL::PKey::RSAor OpenSSL::PKey::EC.

And it would require some detection when re-constructing the key based on what we have stored.

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

2 participants