Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dmail committed Jun 12, 2023
1 parent 5d81851 commit ef072a1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/https-local",
"version": "3.0.6",
"version": "3.0.7",
"description": "A programmatic way to generate locally trusted certificates",
"license": "MIT",
"author": {
Expand Down
2 changes: 2 additions & 0 deletions src/internal/linux/chrome_linux.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export const executeTrustQueryOnChrome = ({

browserName: "chrome",
browserPaths: ["/usr/bin/google-chrome"],
// chromium seems to use its own store and not ".pki/nssdb" anymore
// as explained in https://chromium.googlesource.com/chromium/src/+/main/net/data/ssl/chrome_root_store/faq.md
browserNSSDBDirectoryUrls: [
new URL(".pki/nssdb", assertAndNormalizeDirectoryUrl(process.env.HOME)),
new URL(
Expand Down
4 changes: 4 additions & 0 deletions src/internal/linux/firefox_linux.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ export const executeTrustQueryOnFirefox = ({
".mozilla/firefox/",
assertAndNormalizeDirectoryUrl(process.env.HOME),
),
new URL(
"/.mozilla/firefox-trunk/",
assertAndNormalizeDirectoryUrl(process.env.HOME),
),
new URL(
"/snap/firefox/common/.mozilla/firefox/",
assertAndNormalizeDirectoryUrl(process.env.HOME),
Expand Down

0 comments on commit ef072a1

Please sign in to comment.