LockFly is a simple secure file transfer application designed to facilitate the secure and encrypted transfer of files between devices. Leveraging Python's cryptography
library, LockFly ensures data remains confidential and protected during transit.
- Secure File Transfer: Utilizes symmetric encryption (Fernet) from the
cryptography
library for data protection. - User-Friendly Interface: Command-line interface with interactive prompts and progress bars for user confirmation.
- Cross-Platform Compatibility: Designed to run on both Unix-based systems and Windows.
- Easy Setup: Automated setup scripts to simplify the installation and execution process.
- Disk Space Check: Ensures there is enough disk space before starting the file transfer to avoid any crashes.
- Python 3.x
-
Clone the repository:
git clone https://github.com/CloudyKhan/lockfly.git cd lockfly
-
Install dependencies:
You can install the dependencies manually using
pip
:pip install -r requirements.txt
Or, you can use the provided setup script:
chmod +x setup.sh ./setup.sh
setup.bat
-
Run the Application
python lockfly.py
-
Follow the interactive prompts to send or receive files.
LockFly employs symmetric encryption using the Fernet module from the cryptography
library. Fernet uses AES in CBC mode with a 128-bit key for encryption and HMAC for authentication. This ensures that files are encrypted with a key derived from a password provided by the user, ensuring that only users with the correct password can decrypt and access the transferred files.