Encrypt files within a tree using GPG
Project description
Crpyt
Pronounced 'crypt.'
A very simple Python script that calls Shell, allowing you to encrypt files within a tree using GPG. The script is hardcoded to encrypt files with 256 bit AES.
Usage
In this example, the test/
directory is encrypted, leaving only the .gpg
files:
➜ python3 src/cli.py --path test --encrypt --delete_original --key #$MY_GPG_KEY
# Encrypting pets/dogs/inu.txt
# Encrypting pets/cats/neko.txt
# Encrypted 2 files.
Then the tree is decrypted, removing the .gpg
files:
➜ python3 src/cli.py --path test --decrypt --delete_original --key #$MY_GPG_KEY
# Decrypting pets/dogs/inu.txt.gpg
# Deleting pets/dogs/inu.txt.gpg
# Decrypting pets/cats/neko.txt.gpg
# Deleting pets/cats/neko.txt.gpg
# Decrypted 2 files.
Installation
The src/cli.py
can be installed as the
crpyt
command using pip
.
You can install it from GitHub:
➜ pip install git+https://github.com/MolassesLover/Crpyt.git
Alternatively, from PyPi:
➜ pip install crpyt
License
All files within this repository are licensed under the Apache v2.0 license or MIT license at your choice.
Contributing
Contributions are open, just make sure to sign your commits, otherwise, your changes will not be merged.
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
File details
Details for the file crpyt-0.0.2.tar.gz
.
File metadata
- Download URL: crpyt-0.0.2.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a46d68afc2c3cd265fdfbdb2d9f55c3b495240ecc10886f15da0605872a8a894 |
|
MD5 | 938d1578257554e2da6159b6ab03dae8 |
|
BLAKE2b-256 | 8d54e382c3c703776c3e510b14262d84acaa1ec0995be7e26e4d238ec0fdf15a |
File details
Details for the file crpyt-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: crpyt-0.0.2-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adc525ad937ee3449a38b4a1fc100d6eb494dea29b99a9948cfea588a787c3aa |
|
MD5 | 5a8e3cb2b3c502df8e31e7957da0116c |
|
BLAKE2b-256 | eeab61b110f34d65e442fc232a7ef5ed809402846148de1956f9a7527f6bba25 |