Skip to main content

Encrypt and decrypt files in place using AES-256-GCM and a password. No new files are created.

Project description

File Vault (filevault-py)

What does File Vault do? Encrypts and decrypts files in place using AES-256-GCM. No new files are created; original content is overwritten and password-protected. How do I install it? Run pip install . from the project root. How do I encrypt a file? Run filevault encrypt <filename>. How do I decrypt a file? Run filevault decrypt <filename>.

CLI Command Table

Command Description
filevault encrypt <file> Encrypts a single file in place. Prompts for password twice.
filevault decrypt <file> Decrypts a single file in place. Prompts for password once.
filevault encrypt-folder Encrypts all supported files in the current directory.
filevault decrypt-folder Decrypts all encrypted files in the current directory.
filevault status Lists files in the current directory with their encryption status.

[!WARNING] CRITICAL: There is NO RECOVERY for forgotten passwords. File Vault does not store your password or a master key. If you lose the password, the data in the encrypted files is permanently lost.

Development Setup

  1. Clone the repository.
  2. Create a virtual environment: python -m venv .venv
  3. Activate the environment:
    • Windows: .venv\Scripts\activate
    • Unix/macOS: source .venv/bin/activate
  4. Install in editable mode with dev dependencies: pip install -e ".[dev]"
  5. Run tests: pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

filevault_py-1.0.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

filevault_py-1.0.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file filevault_py-1.0.0.tar.gz.

File metadata

  • Download URL: filevault_py-1.0.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for filevault_py-1.0.0.tar.gz
Algorithm Hash digest
SHA256 16b25cfb8d2c308ce8bde38a9ef26853f81c763c5405142c641cec656e313594
MD5 85ab341c921dcaf2ad1070cbb57b4037
BLAKE2b-256 4f3ddfa577d099e475bd8f4518d8b15fbe44a917dd9dc1ea0da99ff904a92a1f

See more details on using hashes here.

File details

Details for the file filevault_py-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: filevault_py-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for filevault_py-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1f6c38da2e981bdce0d98be0b0463fbdc33c9caaaaf0a535425675ed03c0334
MD5 08d9fa0728d45c4d19649441a181c653
BLAKE2b-256 1f3dcda1565c11b7133e04f58a701940341841b202fbcf9749b8cf9debe59fe3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page