Skip to content

Commit 28423c2

Browse files
authored
Merge pull request #7698 from freedomofpress/tb-15-ff-140-xz
build: as of Tor Browser 15 / Firefox 140, expect Firefox to be an xz rather than a bzip2 archive
2 parents 68516cb + 112d477 commit 28423c2

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

securedrop/dockerfiles/noble/python3/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ RUN apt-get update && apt-get install -y \
1515
# Current versions of the test browser software. Tor Browser is based
1616
# on a specific version of Firefox - we download both for generic and TBB testing
1717

18-
# We should use the version of geckodriver corresponding to the above Firefox version.
19-
ENV GECKODRIVER_VERSION v0.35.0
18+
# We should use the version of geckodriver corresponding to the correct Firefox version.
19+
ENV GECKODRIVER_VERSION v0.36.0
2020

2121
# Import Tor release signing key
2222
ENV TOR_RELEASE_KEY_FINGERPRINT "EF6E286DDA85EA2A4BA7DE684E2C6E8793298290"
@@ -39,13 +39,13 @@ ENV MOZILLA_RELEASE_KEY_FINGERPRINT "14F26682D0916CDD81E37B6D61B7B526D98F0353"
3939

4040
RUN FF_VERSION=$(curl -s https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/ALL | grep -oP '(?<=platformVersion=")[^"]*' | head -1)esr && \
4141
curl -s https://archive.mozilla.org/pub/firefox/releases/${FF_VERSION}/KEY | gpg2 --import - && \
42-
curl -LO https://archive.mozilla.org/pub/firefox/releases/${FF_VERSION}/linux-x86_64/en-US/firefox-${FF_VERSION}.tar.bz2 && \
43-
curl -LO https://archive.mozilla.org/pub/firefox/releases/${FF_VERSION}/linux-x86_64/en-US/firefox-${FF_VERSION}.tar.bz2.asc && \
42+
curl -LO https://archive.mozilla.org/pub/firefox/releases/${FF_VERSION}/linux-x86_64/en-US/firefox-${FF_VERSION}.tar.xz && \
43+
curl -LO https://archive.mozilla.org/pub/firefox/releases/${FF_VERSION}/linux-x86_64/en-US/firefox-${FF_VERSION}.tar.xz.asc && \
4444
gpg2 --output ./mozilla.keyring --export ${MOZILLA_RELEASE_KEY_FINGERPRINT} && \
45-
gpgv --keyring ./mozilla.keyring firefox-${FF_VERSION}.tar.bz2.asc firefox-${FF_VERSION}.tar.bz2 && \
46-
tar xjf firefox-*.tar.bz2 && \
45+
gpgv --keyring ./mozilla.keyring firefox-${FF_VERSION}.tar.xz.asc firefox-${FF_VERSION}.tar.xz && \
46+
tar -xvJf firefox-*.tar.xz && \
4747
mv firefox /usr/bin && \
48-
rm -f firefox-${FF_VERSION}.tar.bz2.asc firefox-${FF_VERSION}.tar.bz2
48+
rm -f firefox-${FF_VERSION}.tar.xz.asc firefox-${FF_VERSION}.tar.xz
4949

5050
# Install geckodriver
5151
RUN wget https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VERSION}/geckodriver-${GECKODRIVER_VERSION}-linux64.tar.gz && \

securedrop/tests/functional/web_drivers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def _create_driver(
6767
pref_dict = {
6868
"network.proxy.no_proxies_on": "127.0.0.1",
6969
"browser.privatebrowsing.autostart": False,
70+
"remote.system-access-check.enabled": False,
7071
}
7172

7273
Path(_TBB_PATH).mkdir(parents=True, exist_ok=True)

0 commit comments

Comments
 (0)