flathub / net.mullvad.MullvadBrowser

https://flathub.org/apps/details/net.mullvad.MullvadBrowser
4 stars 1 forks source link

fix browser fingerprint #33

Closed proletarius101 closed 9 months ago

proletarius101 commented 9 months ago

Pass https://arkenfox.github.io/TZP again

flathubbot commented 9 months ago

Started test build 90267

flathubbot commented 9 months ago

Build 90267 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/72947/net.mullvad.MullvadBrowser.flatpakref
proletarius101 commented 9 months ago

Hi @ruihildt. Perhaps it would be beneficial to include a line of fc-cache in the upstream start-mullvad-browser as some systems may not immediately rebuild the fontconfig cache after you change the FONTCONFIG_PATH environment variable. I can't find the upstream source code for this file. So it might need your help.

morganava commented 9 months ago

@proletarius101 the start-browser script and associated infra can be found in the tor-browser-build project here: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/blob/main/projects/browser/RelativeLink/start-browser?ref_type=heads

PieroV commented 9 months ago

@proletarius101 Mullvad Browser changes $HOME, therefore it uses a separate cache directory.

Probably including fc-cache is okay for us, but are you changing the home in the Flatpak repack? If you're not there might be other reasons for which you get a different fingerprint.

proletarius101 commented 9 months ago

@proletarius101 Mullvad Browser changes $HOME, therefore it uses a separate cache directory.

Probably including fc-cache is okay for us, but are you changing the home in the Flatpak repack? If you're not there might be other reasons for which you get a different fingerprint.

I'm not, since the application directory is read only and I need to store the user profile in XDG_CONFIG_HOME. I will if there's a way for me to do them both.

Somehow after I refreshed the font cache, the fingerprint matches