aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/encrypt-file.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* examples: encryptionBen McGinnes2018-03-211-1/+1
| | | | * Fixed two incorrect Context() objects.
* examples: doc stringsBen McGinnes2018-03-211-1/+2
| | | | * Fixed minor errors in two doc strings.
* example: encrypt fileBen McGinnes2018-03-191-8/+14
| | | | | * Nested encryption in try/except statement in case recipient key is untrusted or invalid.
* example: encrypt fileBen McGinnes2018-03-191-1/+1
| | | | * Fixed typo in second encryption call.
* 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.