pyCryptoFile
pyCryptoFile contains some functions to encrypt/decrypt using ssh keys.
The source for this project is available here.
pyCryptoFile module can be called in command line : python3 pyCryptoFile.py -h
usage: pyCryptoFile.py [-h] [-V] [-f FILE] [-m {encrypt,decrypt}] [-k KEYFILE] [-o OUTPUTFILE]
pyCryptoFile is a python3 program that encrypts, decrypts using ssh key encryption
optional arguments: -h, --help show this help message and exit -V, --version Display the version of pyCryptoFile -f FILE, --file FILE file to encrypt/decrypt -m {encrypt,decrypt}, --mode {encrypt,decrypt} encrypt/decrypt mode -k KEYFILE, --keyfile KEYFILE public key file if encrypt mode or private key file if decrypt mode -o OUTPUTFILE, --outputfile OUTPUTFILE outputfile by default it will be the file with .enc or .dec extension
example to encrypt a file content and put in another file :
python3 pyCryptoFile.py -f mytext2.txt -k ~/.ssh/id_rsa.pub
it generates by default the same file with .enc extension like mytext2.txt.enc. You can use -o option to generate specific output file
python3 pyCryptoFile.py -f mytext2.txt -k ~/.ssh/id_rsa.pub -o myoutput.txt
example to decrypt a file content and put in another file :
python3 pyCryptoFile.py -f mytextcrypted.txt -k ~/.ssh/id_rsa -m decrypt
By default it generates the same file with .dec extension like mytextcrypted.txt.dec. You can specify a specific output file with -o option
python3 pyCryptoFile.py -f mytextcrypted.txt -k ~/.ssh/id_rsa -m decrypt -o myoutput.txt
release notes
1.0.7 fix on pyCryptoFile function wrong tab before return encoded and also fixing the bytes to crypt and encrypt to 128 and 344.
1.0.8 adding new option to have an output file and tested with gifs and pdfs and now it works better.
Metadata
Release files for pycryptofile 1.0.8
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 |
|---|---|---|---|---|
| pycryptofile-1.0.8.tar.gz | 7.4 kB | Without provenance | Details for pycryptofile-1.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycryptofile-1.0.8-py3-none-any.whl | Python 3 | none | any | Details for pycryptofile-1.0.8-py3-none-any.whl |
Total release size: 12.1 kB
Release files / pycryptofile-1.0.8.tar.gz
| Download URL | pycryptofile-1.0.8.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5dc41a0e26cd1b90a1ddd31e0b6e857de9793684ac3985bdf065a27d10dacfa
|
|
BLAKE2b-256 checksum How to use checksums |
f5b6d6b02e787be34cd30d9891d8c921b74b5c07bd03757ec83a6d3617816d7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.57.0 CPython/3.8.10
|
Release files / pycryptofile-1.0.8-py3-none-any.whl
| Download URL | pycryptofile-1.0.8-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf404c3349391586b0f1842e978ec7d838d386476669e808e3de75865eda5136
|
|
BLAKE2b-256 checksum How to use checksums |
8eebb698b0fd0ff9dde0e2cb03a45702071a490de8e10bb40aa29092dbf330f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.57.0 CPython/3.8.10
|
Security for pycryptofile 1.0.8
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.