Commit Graph

15 Commits

Author SHA1 Message Date
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
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
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
8d9e434520 truststore_nss: support multiple NSS databases
This adds support for Snap's Chromium, and and CentOS 7.

Fixes #116
Fixes #120
Closes #121
2019-06-01 16:27:42 +01:00
Filippo Valsorda
74ab68812e Fix and add missing license headers 2019-06-01 14:58:20 +01:00
Filippo Valsorda
245b2732c8 Cleanup path logics with pathExists and binaryExists 2019-06-01 14:55:58 +01:00
graystevens
610df05c5c Add "Firefox Nightly.app" support on macOS (#102) 2019-01-08 09:22:13 -08:00
Filippo Valsorda
fcebdc9845
nss: use certutil from $PATH if found on macOS (#71)
Fixes #70

Thanks to @hostep for testing and fixing the patch.
2018-08-25 15:52:43 -06:00
Filippo Valsorda
e5f9c16f8c Offer a less confusing warning about Firefox on Windows 2018-08-12 21:47:50 -04:00
Filippo Valsorda
5fc72d92bc Replace !os.IsNotExist with == nil
!os.IsNotExist would also be true for other errors which don't mean the
file exists.
2018-08-12 21:42:42 -04:00
Filippo Valsorda
61180c71ad Add support for Firefox Developer Edition
This also fixes a bug where we wouldn't install to Chrome on Linux if
Firefox wasn't also present.

Closes #48
Updates #51
2018-08-12 21:14:07 -04:00
Filippo Valsorda
ba12bc5899 Avoid printing a success message on error
Updates #51
2018-08-12 20:32:34 -04:00
Adam Shannon
1e7d221386 firefox: prefer cert9.db and skip cert8.db when found (#13)
Fixes #12 (again)
2018-07-12 13:47:05 -04:00
ansemjo
5a2f42dee6 truststore: check if profile is a directory before joining cert*.db (#33) 2018-07-04 12:59:33 -04:00
Filippo Valsorda
ce54575308 Add support for Chrome/Chromium on Linux
Fixes #11
Closes #15
2018-07-03 22:27:08 -04:00