aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/symcrypt-file.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-10-18doc: use https:// for www.gnu.orgDaniel Kahn Gillmor1-1/+1
-- Signed-off-by: Daniel Kahn Gillmor <[email protected]>
2018-09-23examples: python bindings and hkp4py updatesBen McGinnes1-1/+1
* Mostly tightening up the details on the hkp4py example script. * Also fixed a typo in the LGPL boiler plate text included in all the other example scripts for the HOWTO.
2018-08-13Symmetric exampleBen McGinnes1-2/+2
* lang/python/examples/howto/symcrypt-file.py: *sigh*; passphrase was right the first time, just the error check that wasn't. * I really should stop second guessing myself one of these days ... Signed-off-by: Ben McGinnes <[email protected]>
2018-08-13Symmetric encryption exampleBen McGinnes1-4/+4
* lang/python/examples/howto/symcrypt-file.py: Fixed the error code and the passphrase key word arg.
2018-08-13Symmetric encryption example.Ben McGinnes1-14/+6
* lang/python/examples/howto/symcrypt-file.py: A variation on standard key based encryption.
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.