Password protected Firefox. A simple script to password-protect your firefox browser. This works by encrypting a firefox profile directory. After entering a pasword the folder get's decrypted and firefox starts with the decrypted profile folder.
- A gtk desktop with
zentity
installed - Firefox browser
encfs
for encryption
Check if curl
or wget
is installed on your machine and choose one of the following scripts. Just copy and paste it into your terminal.
wget https://github.com/janstuemmel/privatefox/archive/master.tar.gz -O - | tar zxf - && \
sudo mv privatefox-master /opt/privatefox && \
cp /opt/privatefox/privatefox.desktop ~/.local/share/applications/privatefox.desktop
curl -L https://github.com/janstuemmel/privatefox/archive/master.tar.gz | tar zxf - && \
sudo mv privatefox-master /opt/privatefox && \
cp /opt/privatefox/privatefox.desktop ~/.local/share/applications/privatefox.desktop
After installation, launch Privatefox with your window manager. The password is set on the first start.
This simply removes all the installed files without the encrypted profile directory.
rm ~/.local/share/applications/privatefox.desktop && \
sudo rm -rf /opt/privatefox
Close your Privatefox browser and open a terminal:
# goto privatefox config folder
cd ~/.privatefox
# use encfsctl to change your password
encfsctl passwd profile.encrypted
Icon made by Freepik from www.flaticon.com
MIT