LockMaster is a cross-platform desktop application (macOS & Windows) that allows you to lock, unlock, encrypt, and decrypt files or folders. It features a hacker-style Matrix rain background, permission-based locking, and strong AES encryption.
- Lock / Unlock:
- macOS: Applies immutable user locks (
chflags uchg) displaying the native Finder lock badge + strict POSIX ACLs (chmod +a "everyone deny ...") preventing reading, editing, or deleting. Unlocking safely clears ACLs (chmod -N) and removes the immutable flag (chflags nouchg). - Windows: ACL permission locking via
cacls.
- macOS: Applies immutable user locks (
- Encrypt / Decrypt: Secure files and full folders with AES encryption via Fernet.
- Folder Support: Easily encrypt and decrypt both individual files and entire directories.
- Progress Bar: Visual indicator for encryption and decryption progress.
- Matrix Rain Effect: Hacker-style animated matrix rain background.
- Ready-to-Use Packages:
- macOS: Ready-to-use
LockMaster.dmgand standaloneLockMaster.appindist/. - Windows: Ready-to-run
LockMaster.exeindist/.
- macOS: Ready-to-use
- Open
dist/LockMaster.dmg. - Drag LockMaster.app into your Applications folder (or double-click to run directly).
- (Alternatively) Run
open dist/LockMaster.appfrom Terminal.
- Go to the
distfolder. - Double-click
LockMaster.exe.
-
Create and activate a virtual environment (recommended):
python3 -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run the app:
python LockMaster.py
To rebuild the macOS .app bundle and .dmg installer:
./build_dmg.shOr with Python:
python3 build_dmg.pyThe output LockMaster.dmg and LockMaster.app will be created inside the dist/ directory.
To rebuild the Windows .exe:
pyinstaller --onefile --noconsole --icon=icon.ico LockMaster.py- Click Browse to select a file or folder.
- Use Lock / Unlock to toggle file system permissions and immutable flags.
- Use Encrypt / Decrypt to encrypt or decrypt the content using AES encryption.
- Secret Key: Encryption uses a local
secret.keyfile. LockMaster saves and checks keys in~/.lockmaster/secret.key, alongside target files, and in the app directory. Keep your key safe to decrypt your data. - Sounds: On macOS, audio alerts use native system chimes (
afplay), while on Windows it useswinsound.
Open source for personal and educational use. Made with ❤️ by Navneet Singh.