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

Feature: Include public key in certificate #213

Closed
joshlang opened this issue Mar 19, 2020 · 1 comment
Closed

Feature: Include public key in certificate #213

joshlang opened this issue Mar 19, 2020 · 1 comment
Labels

Comments

@joshlang
Copy link

See dotnet/runtime#33744

While it looks like it will be fixed, it seems that by including the public key in the certificate, it might save some headache (and computation). Without it, the public key needs to be derived from the private key, which is causing trouble on platforms that don't have fully-featured support.

Our code is essentially:

var priv = KeyFactory.NewKey(KeyAlgorithm.ES256);
var generated = order.Generate(..., priv);
var pfxBuilder = generated.ToPfx(priv);
var cert = pfxBuilder.Build(host, password);
@stale
Copy link

stale bot commented May 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label May 19, 2020
@stale stale bot closed this as completed May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant