A secure, cross-platform USB authentication system that provides automatic system locking and unlocking based on USB drive presence.
- 🔐 Unique USB identification using UUID and encrypted key file
- 🔄 Automatic authentication on USB insertion
- 🔒 Auto-lock on USB removal
- 🌐 Cross-platform support (Windows, Linux, macOS)
- 🔑 Encrypted authentication keys
- 📝 Authentication logging
- 🔄 Multiple USB support
- Python 3.8 or higher
- Operating System: Windows, Linux, or macOS
- USB drive for authentication
- Clone the repository:
git clone https://github.com/yourusername/KHCrypt.git
cd KHCrypt
- Install dependencies:
pip install -r requirements.txt
- Configure your USB drive:
python setup.py
- Run the authentication service:
python main.py
- Insert your registered USB drive to unlock the system
- Remove the USB drive to automatically lock the system
- AES-256 encryption for authentication keys
- UUID verification
- Hidden encrypted key file
- Authentication logging
- Multiple USB support for backup
Edit config.py
to customize:
- Lock/unlock behavior
- Logging settings
- Security parameters
MIT License - See LICENSE file for details
Contributions are welcome! Please read CONTRIBUTING.md for details.