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

Make ECDSA the default for issuer and end-entity keys #68

Merged
merged 1 commit into from
May 9, 2024

Conversation

aarongable
Copy link
Contributor

@aarongable aarongable commented May 9, 2024

Make ECDSA the default algorithm for the "-ca-alg" flag, replacing RSA. Also plumb that algorithm through to the end-entity key generation, making that configurable (and also defaulting it to ECDSA). This significantly speeds up minica by default.

$ git checkout origin/master
$ go build .
$ time (for i in {1..100}; do ./minica -domains $i.example.com; done)               
22.94s user 1.04s system 100% cpu 23.776 total
$ git checkout ecdsa-default
$ go build .
$ time (for i in {1..100}; do ./minica -domains $i.example.com; done)
0.76s user 0.56s system 109% cpu 1.204 total

Fixes #29

@jsha jsha merged commit c5ce70c into jsha:master May 9, 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

Successfully merging this pull request may close these issues.

Add option to generate EC certificates
2 participants