aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/encrypt-file.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-03-19example: encrypt fileBen McGinnes1-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.