File Encryption Made Easy for Linux and Mac

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

The --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).

All this is available with the 0.7.2 release, which can be either downloaded from the project’s repository, or installed via:

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 --help option:

./filecrypt.pyz --help

Originally published at on May 1, 2020.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

{UPDATE} 無盡修真路-PVP修真放置掛機遊戲 Hack Free Resources Generator

The Royal Flush: IT Risk Assessment Teams Must Have an Ace

“Defend the Web” write-up (Intro 4— path traversal vulnerability)

How to Set Up Two-Factor Authentication for WordPress

A Byte of Coding Issue #229

Compile malware with famous payloads for exploitation using the “TheFatRat” tool

Shodan — the search engine for IoT

Preliminary Analysis of Attack on Vesper Lend Beta

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Marco Massenzio

Marco Massenzio

More from Medium

How to Explore A JSON with Thousands of Lines Using Vim

Setting up Visual Studio Code with Docker as a development environment for Python

Linting 4 Ops — How to Lint your Ansible, Shell and Python Code

Colurful wall painting of a face with abstract elements.

Tips and Tricks to using PostgreSQL Docker Image