Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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