aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/export-secret-keys.py (unfollow)
Commit message (Collapse)AuthorFilesLines
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-09-15Python bindings: examplesBen McGinnes1-1/+4
* lang/python/examples/howto/export-secret-keys.py and groups.py: Updated the backwards compatibility adjustments to account for unicode differences between python 2 and 3.
2018-09-15Python examples: backwards compatibilityBen McGinnes1-1/+7
* lang/python/examples/howto/groups.py: subprocess update * lang/python/examples/howto/export-secret-keys.py: subprocess update Both of these try the nice and easy method of getting the subprocess output available in Python 3, but will fall back to the older Popen method if it doesn't work. Essentially this is to be a little nicer to Python 2.7.15 (even though the examples are filled with warnings that py2 support is not guaranteed with the examples).
2018-07-07python bindings: howto examplesBen McGinnes1-6/+6
* Made sure all example scripts meet PEP8 compliance. * Required fixing approx. a dozen of them in minor ways.
2018-06-28python bindings examplesBen McGinnes1-9/+42
* Added a secret key export variant which saves output as both GPG binary and ASCII armoured, plus saves in $GNUPGHOME and uses multiple methods of determining what that location is.
2018-06-28python bindings examples: three export scriptsBen McGinnes1-38/+24
* Example of default exporting keys. * Example of exporting minimised keys. * Example of exporting secret keys to a file with correct permissions. Signed-off-by: Ben McGinnes <[email protected]>
2018-06-28python bindings: import exampleBen McGinnes1-0/+91
* Added an example script for importing a key from a file (either ASCII armoured or not).