A setup wizard for creating encrypted home directories with backup capabilities using CryFS and rclone.
- Create new system users with encrypted home directories using CryFS
- Optional automatic backup configuration using rclone
- Both GUI and CLI interfaces
- Secure password handling
- Systemd service integration for automated backups
- Debian Bookworm or compatible system
- Python 3.8 or higher
- Root/sudo privileges for user creation and system configuration
- Install system dependencies:
sudo apt install $(cat packages.txt)
- Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate
- Install the package:
pip install .
Run the graphical wizard:
sudo -E cryfs-wizard-gui
The wizard will guide you through:
- Creating a new username
- Setting a secure password
- Configuring optional remote backup
Run the command-line interface:
sudo cryfs-wizard-cli
Or with direct options:
sudo cryfs-wizard-cli --username newuser --backup
- Passwords are never stored in plaintext
- CryFS provides strong encryption for home directories
- Backup credentials are stored in protected configuration files
- All system operations require root privileges
core.py
: Main CryFSManager class for user and backup managementgui.py
: PyQt5-based wizard interfacecli.py
: Click-based command line interfacepackages.txt
: Required system packages
MIT License
Contributions are welcome! Please feel free to submit a Pull Request.