mirror of
https://github.com/FiloSottile/mkcert.git
synced 2026-04-25 05:26:03 +03:00
[GH-ISSUE #135] mkcert is slow on darwin (due to nss support) #80
Labels
No labels
TLS stack issue
Windows
bug
duplicate
duplicate
enhancement
help wanted
help wanted
pull-request
question
question
root store
waiting for info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mkcert#80
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @crawshaw on GitHub (Feb 15, 2019).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/135
On a MacBook Air 2018:
This is caused by the
initfunction in truststore_nss.go, which invokes the brew command. If I comment out the init function:@crawshaw commented on GitHub (Feb 15, 2019):
When actually generating a key, there are other sources of slowness. Total generation time with nss removed is 1s. About 100ms of that is spent in
generateKey.It seems to take mkcert 200ms to reach the beginning of the
makeCertmethod.