aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/encrypt-file.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-07python bindings: howto examplesBen McGinnes1-5/+5
* Made sure all example scripts meet PEP8 compliance. * Required fixing approx. a dozen of them in minor ways.
2018-03-21examples: encryptionBen McGinnes1-1/+1
* Fixed two incorrect Context() objects.
2018-03-21examples: doc stringsBen McGinnes1-1/+2
* Fixed minor errors in two doc strings.
2018-03-19example: encrypt fileBen McGinnes1-8/+14
* Nested encryption in try/except statement in case recipient key is untrusted or invalid.
2018-03-19example: encrypt fileBen McGinnes1-1/+1
* Fixed typo in second encryption call.
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.