From 603f7083aab11d5a7d6c5a1e7e629ed613a9feb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Levasseur?= Date: Tue, 22 Oct 2024 11:24:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20nss=20default=20location?= =?UTF-8?q?=20on=20homebrew=20for=20Apple=20Silicon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #114 --- CHANGELOG.md | 2 +- firefox_decrypt.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index adca208..9f12520 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ #### Changelog ##### 1.1.1+git -- +- Include Darwin homebrew path in nss search locations ##### 1.1.1 - Fix unhandled exception with deleted passwords - see #99 diff --git a/firefox_decrypt.py b/firefox_decrypt.py index f2f0c21..3c0698b 100755 --- a/firefox_decrypt.py +++ b/firefox_decrypt.py @@ -330,6 +330,7 @@ def load_libnss(): "/sw/lib/firefox", "/sw/lib/mozilla", "/usr/local/opt/nss/lib", # nss installed with Brew on Darwin + "/opt/homebrew/lib", # nss installed with Brew on Darwin/Apple Silicon "/opt/pkg/lib/nss", # installed via pkgsrc "/Applications/Firefox.app/Contents/MacOS", # default manual install location "/Applications/Thunderbird.app/Contents/MacOS",