aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/encrypt-file.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* example: encrypt fileBen McGinnes2018-03-191-0/+64
* 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.