skillfed

crypto

Simple symmetric GPG file encryption and decryption

crypto v1.4.1 1.0M downloads/30d#4,467 on PyPI47
Permissive license MIT license DORMANT released

What it is and what it does

crypto is a lightweight command-line wrapper around GPG that simplifies symmetric file encryption and decryption on Unix, Linux, and macOS. It exposes two main commands—crypto for encryption and decrypto for decryption—and uses AES256 as its cipher algorithm. The package supports encrypting single files or entire directories, can automatically tar multiple files before encryption, and offers ASCII-armored output and SHA256 hash generation for encrypted files.

The package requires a GPG installation on your system and has no Python runtime dependencies, making installation straightforward. It was tested against Python 2.7, 3.4, and PyPy 2.6 at release time. The project has been dormant since 2015, with minimal recent maintenance, so users should verify compatibility with their specific Python and GPG versions before relying on it in production.

Use it for:

  • Encrypt sensitive files on Unix/Linux systems from shell scripts or cron jobs using a simple command-line interface.
  • Batch-encrypt directories by automatically creating tar archives and encrypting them with a single command.
  • Generate SHA256 hashes alongside encrypted files for integrity verification.
  • Decrypt GPG-encrypted files without learning full GPG command syntax or options.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides command-line tools to encrypt and decrypt files using GPG with AES256 cipher, supporting single files, directories, and optional tar archiving before encryption.

Yes, if you need a simple GPG wrapper for basic file encryption on Unix/Linux and are comfortable with dormant maintenance. The low install friction, permissive MIT license, and zero runtime dependencies make it lightweight. However, verify Python and GPG compatibility first, since the package has not been actively maintained since 2015 and may have undiscovered issues with modern toolchains.

Install

crypto on PyPI

pip

pip install crypto

uv

uv add crypto

poetry

poetry add crypto

Installing crypto

Before you install

Low install friction with no runtime dependencies. Dormant since 2015 but repository remains unarchived; last commit in February 2024 suggests minimal maintenance activity.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it safe for most deployment contexts.

Quickstart

$ pip install crypto
$ crypto /path/to/file
$ decrypto /path/to/file.gpg

Requires GPG (Gnu Privacy Guard) installed and available on the system; Unix/Linux/macOS only.

Verify before relying

  • Whether the package works reliably with modern Python versions beyond those tested in 2014–2015.
  • Current compatibility with recent GPG versions and whether AES256 benchmarks remain relevant.
  • Whether dormant status and lack of recent updates pose security or compatibility risks for new deployments.

Package facts

License MIT license (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance dormant — 4,110 days since the last release
Last repo commit
First released
Downloads 1,031,084/month — #4,467 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: crypto-1.4.1-py2.py3-none-any.whl

Keywords: encryption, decryption, gpg, pgp, openpgp, cipher, AES256, crypto, cryptography, security, privacy

Development Status :: 5 - Production/StableIntended Audience :: End Users/DesktopLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: POSIXOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: SecurityTopic :: Security :: Cryptography

Tags

gpg file encryption command lineaes256 symmetric encryption toolencrypt decrypt files unix linuxgpg wrapper simple interfacebatch file encryption decryption
gpg-wrappercommand-line-tool

More Security packages