Skip to content

CSCfi/crypt4gh-gui

Repository files navigation

GUI for Crypt4GH

This is a simple Graphical User Interface wrapped around the crypt4gh python module.

Demo

Demo Video

Click on the picture above to view the demo video

Current features:

  • Generation of key pair (optional)
  • Encryption of file with existing private key (optional)
  • Encryption of file with generated temporary private key
  • Decryption of file
  • Decryption of file with sender public key validation (optional)
  • Sender signature validation (optional)

For more advanced features, please refer to the CLI instead.

Installation

The GUI requires a python installation with tkinter

git clone https://github.com/CSCfi/crypt4gh-gui
pip install -r requirements.txt

python crypt4gh_gui.py

Build Standalone Executable

Standalone executable build requires:

  • pyinstaller

The GUI can be built into a standalone executable and distributed to machines that don't have python installed. After running the pyinstaller command, the standalone executable file can be found in the dist/ directory.

pip install pyinstaller

pyinstaller --onefile crypt4gh_gui.py

This has been tested on Linux and Windows.

To run the executable on Linux:

./crypt4gh_gui

To run the executable on Windows:

  • Double click on crypt4gh_gui.exe or run the following in cmd:
crypt4gh_gui.exe