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
- Clone the repository.
- Create a virtual environment:
python -m venv .venv - Activate the environment:
- Windows:
.venv\Scripts\activate - Unix/macOS:
source .venv/bin/activate
- Windows:
- Install in editable mode with dev dependencies:
pip install -e ".[dev]" - Run tests:
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file filevault_py-1.0.1.tar.gz.
File metadata
- Download URL: filevault_py-1.0.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
271114515c234f561e054539ea74cc65dd67ff5615adebb862bb655c6812d7d8
|
|
| MD5 |
154bcd9cb3fc6684414f382c4b99152b
|
|
| BLAKE2b-256 |
68d9a6ec3fdec67a41fc95791a02f54e95499aca408ac6f336ccc92f5481b224
|
File details
Details for the file filevault_py-1.0.1-py3-none-any.whl.
File metadata
- Download URL: filevault_py-1.0.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec30070b00f61c80584bf109fb54a3279644edf8c5506e45c2b94b2ccd6a7d7e
|
|
| MD5 |
280747007bc043dd60b3ac699bc73e37
|
|
| BLAKE2b-256 |
e22e4699d9a9a27a675f3528b899f5b900ee656c74237051a7dcfda7cf1715cd
|