Secure File Vault

Multi-user encrypted file vault with AES-256-GCM, RSA-2048 key wrapping, file sharing, tamper detection, account lock and audit log. Python, cryptography, Tkinter.

  • Price: ₹1,499
  • Category: Security
  • Technology: Python, cryptography (AES-256-GCM, RSA-2048), Tkinter, SQLite
  • Includes: Source code + database
  • Suitable for: BCA / B.Sc CS, MCA / M.Sc CS, B.E / B.Tech CSE & IT

Project overview

This application is a small but real encrypted file vault, ideal for explaining hybrid cryptography in a viva. Each user has an account with an RSA-2048 key pair whose private part is stored only in encrypted form, locked with a key made from the user's password (PBKDF2 and AES-GCM). When a file is added, a new random AES-256 key encrypts it with AES-GCM - which also detects any change - and that key is wrapped with the RSA-OAEP public key of the owner and of everyone the file is shared with. The result is a single .bpv container that can be copied anywhere. Files can be shared or unshared later without touching the encrypted data, other users and even the admin cannot open a file that was not wrapped for them, and a container that was changed by even one byte is refused. Accounts lock for a minute after five wrong passwords, passwords must be 8+ characters with a letter and a digit, and every login, encryption, decryption, share and failure is written to an audit log that can be exported. The 'How It Works' screen encrypts a sample message and shows each piece - AES key, nonce, ciphertext, wrapped key - with an explanation. Sixteen automatic tests cover round trips, sharing, tampering, key protection and the login lock.

Modules

  1. Login: Multi-user login; the private key is unlocked with the password; account lock after 5 wrong passwords.
  2. My Vault: Encrypt a file for yourself and chosen users, decrypt, open or inspect any .bpv file, share, remove access, delete.
  3. How It Works: Encrypts a message step by step and shows the AES key, nonce, ciphertext and RSA-wrapped key.
  4. Users and Keys: List of users with public-key fingerprints; admin creates accounts with new RSA key pairs.
  5. Activity Log: Audit trail of logins, failures, encryption, decryption, sharing and deletes; search and CSV export.

Requirements

  • Python 3.11
  • Internet once, to install the libraries (about 2 minutes)
  • Windows 10 / 11

How to run this project

  1. Install Python 3.11 from python.org and tick "Add python.exe to PATH" during setup.
  2. Extract the zip and open the project folder (STUDENT_GUIDE.md explains every step in simple words).
  3. Double-click `1_INSTALL.bat` once and wait until it says [OK] (about 2 minutes; it downloads the libraries into a private .venv folder).
  4. Double-click `2_RUN.bat` to start the project. If it does not start, double-click `CHECK_SETUP.bat` and read what it says.
  5. Log in with admin / admin123.
  6. Open How It Works and encrypt a short message to explain AES key, nonce, ciphertext and wrapped key. Log in as bobby / bobby123: the shared file is listed and opens; log in as admin and check Users and Keys and the Activity Log.

More Security projects