encryptFS
A simple file system that encrypts each file individually. Designed for use with cloud storage.
Details
Quick high-level overview:
You have some files abc, 123, asdf.
You make an encryptFS in a directory and add all three files. You end up with an encrypted index file and three files with randomly generated names (e.g. e4e90f66761a0ddf52ec47e3d9f1851e3e2304b2b9abd6ae0f818cafa26d56a0).
Later, you can open the existing encryptFS and decrypt your files back.
FAQ:
What do you use for the actual encryption? PyCrypto, AES-256 (32-byte key)
Why are the files encrypted separately instead of being put together in blocks? Isn’t this a flaw in the security? For now, I’m willing to trade off the security to simplify the code and to allow for easier/quicker decryption of specific individual files.
Does this keep my original file metadata? For now, no.
Usage
This project is very new and this API is very subject to change.
Set up
git clone https://github.com/csu/encryptFS.git
cd encryptFS
pip install -r requirements.txt
Example script
from encryptfs import EncryptFS
# Replace `asdfasdf` with a password
encfs = EncryptFS('asdfasdf')
# This will encrypt all new files in the current directory
encfs.encrypt_all()
# This will decrypt all encrypted files in the index
encfs.decrypt_all()
Have questions or suggestions? Open an issue.
CLI
CLI requires the click package.
python cli.py <action> <password>
Metadata
Release files for encryptfs 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| encryptfs-0.0.1.tar.gz | 4.3 kB | Without provenance | Details for encryptfs-0.0.1.tar.gz |
Release files / encryptfs-0.0.1.tar.gz
| Download URL | encryptfs-0.0.1.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
230670f774ee3d267fc13a567cced4157fbdc75465792a0e7e60ff4f76e0885b
|
|
BLAKE2b-256 checksum How to use checksums |
be10fb7627e49e6ef77b210462a2074dbcd4a5f3385410c283b33861b2a4b619
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for encryptfs 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.