filecrypt — OpenSSL-based file encryption Rel. 0.7.2
Almost four years after its initial inception and release, I have entirely rewritten the CLI invocation, streamlined the encryption secrets management, and created a self-contained executable.
Once you have a private/public key pair, a file can be simply encrypted using:
./filecrypt.pyz -o my_file.enc /path/to/plain.txt
and decrypted using:
./filecrypt.pyz -o /path/to/plain.txt -d my_file.enc
--send option allows the user to encrypt a file with the public key of a recipient, and then send the encrypted file to the recipient (who, conceivably, has the private key, and uses it to decrypt it).
pip install crytto
In a future post I will describe in more detail how this all works, and I plan to create a “native” MacOS app in the near future.
In the meantime, please take a look at the original post, or the README file, or simply run it with the
Originally published at http://codetrips.com on May 1, 2020.