Simple symmetric GPG file encryption
crypto requires the Gnu Privacy Guard executable (gpg
).
Mac OSX users can install gpg with Homebrew
$ brew install gpg
with the Mac GPG Tools Suite installer, or by compiling and installing from the source.
You can install either the 'classic' (v1.x) or 'modern' (v2.x) versions of gpg. If your install uses the executable gpg2
rather than gpg
, please create the following alias:
alias gpg="gpg2"
Confirm your install by typing:
$ gpg --version
The installed gpg version should be displayed.
If gpg
is not installed on your Linux distro, you can install it with your package manager or download, compile, and install from the source.
You can install either the 'classic' (v1.x) or 'modern' (v2.x) versions of gpg. If your install uses the executable gpg2
rather than gpg
, please create the following alias:
alias gpg="gpg2"
Confirm your install by typing:
$ gpg --version
The installed gpg version should be displayed.
You can install crypto with the Python package manager pip:
pip install crypto
or download the source, unpack it, navigate to the top level source directory and run:
python setup.py install