JohanGallardo
1c1dc4ed27
README: fixed broken readme link to arch linux package ( #580 )
2024-04-18 04:53:27 -04:00
Filippo Valsorda
2a46726ceb
Drop "go vet" from CI due to false positives
...
See golang/go#41205
2022-04-26 19:37:25 +02:00
Filippo Valsorda
7abefc9067
Add dl.filippo.io instructions to the README
...
Fixes #367
2022-04-26 19:26:59 +02:00
Filippo Valsorda
d7ab78de71
Only print help when called without arguments
...
Fixes #401
2022-04-26 18:12:14 +02:00
Pei-Tang Huang
abde85bb26
Correct failed to save CA certificate message ( #399 )
2022-04-26 11:51:39 -04:00
Filippo Valsorda
e4df8ab302
Print the right hosts when a CSR doesn't have SANs
...
Close #344
Fixes #318
2022-04-25 20:05:46 +02:00
Filippo Valsorda
789f1b1c70
Add support for Firefox in a Snap for Ubuntu 22.04
...
Closes #327
Fixes #325
2022-04-25 19:56:19 +02:00
Dennis Ameling (he/him)
255b8304cd
Add Windows arm64 build to CI pipeline ( #396 )
2022-04-25 12:58:55 -04:00
Shady Sharaf
bf27d05026
Build binaries for darwin/arm64 ( #433 )
...
Adds a binary build for macOS on ARM arch, ie: M1 processors.
2022-04-25 12:15:20 -04:00
Filippo Valsorda
4b065acd87
Update dependencies
2022-04-25 17:54:16 +02:00
Filippo Valsorda
6343246720
Update bug-report.md
2022-04-25 11:37:56 -04:00
Filippo Valsorda
61ccb55b20
.github: configure issue templates
2022-04-25 11:36:40 -04:00
Filippo Valsorda
999ca39d71
.github: add bug report ISSUE_TEMPLATE
2022-04-25 11:24:51 -04:00
Mikael Forsgren
0a3190b165
README: update Linuxbrew to Homebrew on Linux ( #340 )
...
Homebrew was formerly referred to as Linuxbrew when running on Linux or WSL.
2021-02-13 03:34:52 +01:00
Filippo Valsorda
1a5aaff12e
Fix and update CI analyzers
2020-11-25 14:09:45 +01:00
Filippo Valsorda
33ca7b5c46
Switch tests and releases to GitHub Actions ( #311 )
2020-11-20 20:48:10 +01:00
Filippo Valsorda
9c196b6cdb
Make CSR code match standard certificate generation
2020-10-27 12:54:36 +01:00
Filippo Valsorda
e28ee7df01
Simplify EKU logic
...
With -client, you get clientAuth. With a non-email SAN, you also get
serverAuth. With an email SAN, you also get emailProtection.
2020-10-27 12:51:28 +01:00
Filippo Valsorda
9f583c670f
Drop codeSigning EKU from certificates with email SANs
...
Unclear how those are correlated.
If it breaks something we can put it back.
Fixes #303
2020-10-27 12:34:41 +01:00
Martin Tournoij
c12e24244a
Don't overwrite the -key-file if it's identical to -cert-file ( #264 )
...
Especially for testing I find it much more convenient to just store both
the key and certificate in a single file, which works with pretty much
all software I've used.
Currently, the -cert-file will overwrite the -key-file since it uses
ioutil.WriteFile(). This fixes it to *append* if the files are
identical.
Co-authored-by: Filippo Valsorda <github@filippo.io>
2020-10-27 12:34:17 +01:00
Martin Tournoij
6649e9d2e7
Make explicit "mkcert -help" print to stdout ( #265 )
...
Currently "mkcert -help" prints to stderr, which is rather annoying as:
$ mkcert -help | less
Gives us a blank page, as it pipes only stdout. To get any results in
less I need to use:
$ mkcert 2>&1 | less
$ mkcert |& less # Non-standard bash/ zsh
Since the user explicitly asked for help with -help, it doesn't make
much sense to output it to stderr IMHO.
2020-10-26 00:55:09 +01:00
Filippo Valsorda
3fa4d18f75
Update iOS installation docs
...
Fixes #233
2020-10-26 00:45:44 +01:00
Filippo Valsorda
167867a226
Drop Apple 825-days rule bypass, shorten and print expiration
...
Closes #299
Closes #271
2020-10-26 00:25:26 +01:00
Filippo Valsorda
1ad7f56df4
Tone down the uninstalled root warnings
...
Some people might want to use mkcert to generate certificates without
installing the root after all.
Fixes #290
2020-10-26 00:25:26 +01:00
Filippo Valsorda
e8068235db
Hide the CA path in normal operation
...
Most users don't need to interact with it, and it's important they don't
share the rootCA-key.pem file, so let's not lead them there in the first
place. Advanced users can still use "mkcert -CAROOT".
Fixes #282
2020-10-26 00:25:26 +01:00
Filippo Valsorda
ea8260d0d9
Accept "NEW CERTIFICATE REQUEST" PEM headers
...
Fixes #301
2020-10-26 00:25:26 +01:00
Mikel Kew
8e71a281f9
Support latest FirefoxDeveloperEdition.app without spaces ( #280 )
...
Latest version of Firefox Developer Edition on macOS seem to use
upper camel case naming for the app. This ensures that the CA will
be added to the Firefox trust store if using recent versions of
FF Dev Edition.
2020-10-26 00:24:53 +01:00
Dennis Ameling
c34db08bed
Build release binaries for linux/arm64 ( #284 )
2020-10-26 00:23:20 +01:00
Filippo Valsorda
a2b1208e9c
mkcert-master: remove in favor of "brew gomod filippo.io/mkcert@master"
...
See https://blog.filippo.io/install-go-tools-from-modules-with-brew-gomod/
2020-03-21 22:12:54 -04:00
Filippo Valsorda
d58feefc73
Fix -version output not to print spurious lines
2020-03-21 22:10:16 -04:00
Filippo Valsorda
0603a13b79
Use buildInfo.Main.Version when Version is not set
2020-03-21 22:04:37 -04:00
Filippo Valsorda
243b819761
go.mod: update import path to filippo.io/mkcert
2020-03-21 21:38:34 -04:00
Christian Rebischke
a21de51acf
README: mention official Arch Linux package ( #226 )
...
Signed-off-by: Christian Rebischke <chris@nullday.de>
Co-authored-by: Filippo Valsorda <1225294+FiloSottile@users.noreply.github.com>
2019-12-26 14:56:06 +01:00
Koen Vervloesem
42a6d00604
README: add "cd mkcert" to build from source instructions ( #228 )
...
Co-authored-by: Filippo Valsorda <1225294+FiloSottile@users.noreply.github.com>
2019-12-26 14:53:10 +01:00
Senan Kelly
cb6311cfbe
truststore_nss: add firefox nightly and developer edition binary paths ( #225 )
...
on my system I have only Firefox Nightly installed, so `/usr/bin/firefox` doesn't exist and so `hasNSS` was false and CA wasn't installed.
on my arch based system, the binary was at `/usr/bin/firefox-nightly`
https://aur.archlinux.org/packages/firefox-nightly/
it could also be at `/usr/bin/firefox-developer-edition`
see "package contents"
https://www.archlinux.org/packages/community/x86_64/firefox-developer-edition/
2019-11-29 18:36:50 -04:00
Nelson Martell
d8d73fcb89
README: add note about advanced options ( #218 )
...
* 📝 Add note about advaced options in README
Clarify position of advanced options argumnts (they won’t work if are placed after domain names)
Add example.
* Update README.md
2019-11-26 18:35:01 -05:00
fREW Schmidt
9b04095804
README: fix git clone command ( #224 )
2019-11-26 18:31:43 -05:00
Filippo Valsorda
90341b0d5a
v1.4.1
2019-11-09 18:21:05 -05:00
Filippo Valsorda
1b4ad6c774
truststore_nss: retry certtool with sudo when it fails due to permissions
...
Based on @rfay's investigation and fix.
Fixes #192
Closes #193
2019-11-09 18:18:18 -05:00
Filippo Valsorda
00ded1d014
.travis.yml: fix format error
2019-11-09 18:03:18 -05:00
Filippo Valsorda
9df24b5b70
README: remove "go run" quickstart 😢
...
Fixes #209
2019-11-09 17:34:28 -05:00
Filippo Valsorda
71aa64e874
Embrace Go 1.13: drop vendoring, assume modules mode, drop Go 1.10 warning
2019-11-09 16:43:37 -05:00
Filippo Valsorda
1382fc8fe8
Add -version flag
...
Closes #197
Fixes #191
2019-11-09 16:33:29 -05:00
Filippo Valsorda
82ea753aa2
analysis.go: use x/tools/go/analysis/multichecker to run analysis tools
...
This pattern has a number of advantages: it tracks the versions of the
tools in go.mod, it doesn't require installing anything in CI, it runs
all analysis passes at once, and it lets us add custom ones easily.
2019-11-09 16:04:54 -05:00
Filippo Valsorda
4ffcbacbb0
mkcert-master: add Homebrew Formula with HEAD stanza
...
homebrew-core removed all head clauses, so this allows testing the
latest master by instead running
brew install --HEAD https://master.mkcert.dev/mkcert-master.rb
2019-09-10 15:47:25 +02:00
Filippo Valsorda
0bfd83cea2
README: add "go run" quickstart
2019-08-24 13:38:12 -04:00
Filippo Valsorda
343aec289a
truststore_linux: remove PATH check for SystemTrustCommand
...
It's hard to predict what the PATH that sudo will use, and there
shouldn't be many cases where we don't find the command anyway.
Fixes #188
2019-08-16 18:23:01 -04:00
Filippo Valsorda
8ff73503d2
truststore_darwin: check the default Homebrew path for certutil
...
"mkcert localhost" went from 2.125s to 0.552s, a 4x speedup.
Fixes #135
2019-08-16 18:23:01 -04:00
Filippo Valsorda
25b1d39486
Print a message on -install if the CA is already installed
...
Updates #182
2019-08-16 18:04:46 -04:00
Filippo Valsorda
aa4dd61066
Specify a "Sudo password:" prompt for sudo
...
Fixes #178
Closes #185
2019-08-16 17:47:28 -04:00