encryptfs-0.0.1
توضیحات
A simple file system that encrypts files individually.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | encryptfs-0.0.1 |
| نام | encryptfs |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Christopher Su |
| ایمیل نویسنده | gh@christopher.su |
| آدرس صفحه اصلی | https://github.com/csu/encryptFS |
| آدرس اینترنتی | https://pypi.org/project/encryptfs/ |
| مجوز | UNKNOWN |
encryptFS
=========
A simple file system that encrypts each file individually. Designed for
use with cloud storage.
Details
-------
Quick high-level overview:
1. You have some files ``abc``, ``123``, ``asdf``.
2. 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``).
3. 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
~~~~~~
.. code:: bash
git clone https://github.com/csu/encryptFS.git
cd encryptFS
pip install -r requirements.txt
Example script
~~~~~~~~~~~~~~
.. code:: python
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. <https://github.com/csu/encryptFS>`__
CLI
~~~
CLI requires the ``click`` package.
.. code:: bash
python cli.py <action> <password>
نحوه نصب
نصب پکیج whl encryptfs-0.0.1:
pip install encryptfs-0.0.1.whl
نصب پکیج tar.gz encryptfs-0.0.1:
pip install encryptfs-0.0.1.tar.gz