f-encrypt
A simple tool to encrypt and decrypt files from the command-line.
Currently only AES-256 in CBC mode is supported.
General Usage
Setting the Key
The key can also be defined using the environment variable F_ENCRYPT_KEY
# Option 1: enter your key with an option
f-encrypt <file> --key <key>
# Option 2: Prompt for password
f-encrypt <file>
Enter Key: <key>
# Decrypting uses the same --key and env-var setup
f-decrypt <file>
Setting the output file
f-encrypt <path> -o <new path>
f-encrypt <path> --output <new path>
f-decrypt <path> -o <new path>
Configuration
The following environment variables are supported to further configure the tool. The shown values are their defaults.
export F_ENCRYPT_KEY=example # Set the encryption key so --key is not needed
export F_ENCRYPT_SILENT=true # Enable Silent mode - do not confirm or print anything
export F_ENCRYPT_VERBOSITY=1 # Set the level of verbosity for output text (1 to 5)
export F_ENCRYPT_OUTPUT_SUFFIX=".ct" # When -o is not used, output to <path><suffix>
export F_ENCRYPT_RM=false # Override --keep/--rm when set to "true", to rm source file
Installation
From source
virtualenv --python=python3 env/
source env/bin/activate
pip install .
Metadata
Release files for f-encrypt 1.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 |
|---|---|---|---|---|
| f-encrypt-1.1.tar.gz | 4.4 kB | Without provenance | Details for f-encrypt-1.1.tar.gz |
Release files / f-encrypt-1.1.tar.gz
| Download URL | f-encrypt-1.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e6eeecc91b7ebc61a9efc7967ba0f28583406f951e1a373ebb8fe2ac6dbb2eb
|
|
BLAKE2b-256 checksum How to use checksums |
6620ea9b83f1d0db6192ca2426647b3de422b6d7833aa4212e02645ed007513c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.2
|
Security for f-encrypt 1.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.