Usage Guide

1. User Registration & Face Enrollment

To start using FaceVault, you need to create an account and enroll your face data.

  1. Navigate to the registration page.
  2. Enter your desired username and password.
  3. Face Enrollment: The system will prompt you to enable your camera. Follow the on-screen instructions to capture your face from different angles. This creates a unique biometric template for your account.
Privacy Note: Your raw face images are never stored or sent to the server. Only a mathematical representation (descriptor) is stored locally on your device.

2. Logging In

Logging in requires two factors: your password and your face.

  1. Enter your username and password.
  2. Face Verification: The system will activate your camera to verify your identity. This unlocks your private encryption key stored on your device.

3. Encrypting & Uploading Files

Once logged in, you can securely store files.

  1. Click on the "Upload" button.
  2. Select a file from your computer.
  3. The file is encrypted locally using a random AES key.
  4. The AES key is encrypted with your public key.
  5. The encrypted file and key are sent to the server.

4. Decrypting & Downloading Files

To retrieve your files:

  1. Click the "Download" or "Decrypt" button next to a file.
  2. The server sends the encrypted file and key to your browser.
  3. Face Authentication: You may be asked to verify your face again to unlock your private key.
  4. Your private key decrypts the file's AES key.
  5. The AES key decrypts the file content, and the download begins.

Troubleshooting Common Issues

Camera Access Denied

If the application cannot access your camera:

Decryption Failed

If decryption fails, it might be because: