gpgme/lang/python/examples/howto
Ben McGinnes 7ab42e79ad example: encrypt file
* Example to encrypt a file to a single key.
* Takes key ID and/or fpr as a CLI parameter.
* Takes path and filename as a CLI parameter.
* Encrypts to specified key only, no signing and writes the output in
  both ASCII armoured and GPG binary formats with output filenames
  based on input filename.
2018-03-20 09:25:34 +11:00
..
encrypt-file.py example: encrypt file 2018-03-20 09:25:34 +11:00
keycount.py example: python bindings key count 2018-03-20 08:55:01 +11:00
README.org doc: python bindings examples 2018-03-20 08:39:49 +11:00

GPGME Python Bindings HOWTO Examples

Examples

The contents of this directory are the examples included in the GNU Privacy Guard (GnuPG) Made Easy Python Bindings HOWTO file. Each script is explicitly for Python 3 and specifically for Python 3.4 or later.

Some of these scripts may work with Python 2.7, but there are no guarantees. They will include the relevant imports from the __future__ module to facilitate that if possible.