Skip to main content

Crpyt

Pronounced 'crypt.'

Ko-Fi Patreon PyPi

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.

Metadata

Release files for crpyt 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crpyt 0.0.2
File Size Uploaded
crpyt-0.0.2.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crpyt 0.0.2
File Interpreter ABI Platform
crpyt-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 16.8 kB

Release files / crpyt-0.0.2.tar.gz

Download URL crpyt-0.0.2.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a46d68afc2c3cd265fdfbdb2d9f55c3b495240ecc10886f15da0605872a8a894
BLAKE2b-256 checksum
How to use checksums
8d54e382c3c703776c3e510b14262d84acaa1ec0995be7e26e4d238ec0fdf15a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release files / crpyt-0.0.2-py3-none-any.whl

Download URL crpyt-0.0.2-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
adc525ad937ee3449a38b4a1fc100d6eb494dea29b99a9948cfea588a787c3aa
BLAKE2b-256 checksum
How to use checksums
eeab61b110f34d65e442fc232a7ef5ed809402846148de1956f9a7527f6bba25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page