A GUI to decrypt and read export files from AndSafe
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
cipher.py
main.py
requirements.txt

README.md

PyAndSafe

A GUI to decrypt and read export files from AndSafe.

You can also verify the encryption algorithm used by AndSafe by checking the cipher.py. 256-bit keys are derived from SCrypt and used to encrypt content with AES in CBC mode.

How to use

You will need Python 3 to run PyAndSafe.

  1. Clone the project
git clone https://github.com/kitsook/PyAndSafe.git
  1. Create a Python virtualenv and install necessary packages
cd PyAndSafe
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt

For Windows, assuming Python 3.7 installed in default location

cd PyAndSafe
%LocalAppData%\Programs\Python\Python37\python -m venv venv
venv\Scripts\activate.bat
pip install -r requirements.txt
  1. Start the application by running
python main.py

Follow the prompt to select an export file and input password to decrypt the content.

Building standalone executable

Here are the steps to use PyInstaller to generate standalone executable, assuming the virtualenv is setup by following steps above.

pip install pyinstaller
pyinstaller --onefile main.py

The executable will be generated under dist subdirectory