Skip to content

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

Merged
jsha merged 1 commit intojsha:masterfrom
aarongable:master
May 9, 2024
Merged

Make ECDSA the default for issuer and end-entity keys#68
jsha merged 1 commit intojsha:masterfrom
aarongable:master

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