aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-03-21examples: multi-key selection operationsben/docs/2018-03Ben McGinnes3-190/+0
* Temporarily removing multi-key selection based examples. * There are a few issues with getting the key selections to play nicely with gpg.Context().keylist object types. * Will troubleshoot them separately and restore them when that's worked out, but I don't want these more complicated examples to delay merging the HOWTO with master.
2018-03-21example: group encryptionBen McGinnes1-1/+1
* Troubleshooting.
2018-03-21examples: encryptionBen McGinnes2-2/+2
* Fixed two incorrect Context() objects.
2018-03-21example: key selectionBen McGinnes1-1/+0
* Removed extraneous blank line.
2018-03-21example: key selectionBen McGinnes1-0/+52
* Similar to group-key-selection.py, but does not use an existing group from gpg.conf; instead takes multiple key IDs, fingerprints or patterns on the command line and adds them to a keylist object.
2018-03-21example: sign and encrypt to groupBen McGinnes1-0/+83
* Begins to string together some of the simpler examples to do more useful things. * Signs and encrypts a file while encrypting to every key in a group specified in the gpg.conf file.
2018-03-21example: group key selectionBen McGinnes1-0/+56
* Example of preparing a keylist object using an existing group line from the gpg.conf file.
2018-03-21example groups work aroundBen McGinnes1-1/+1
* Updated usage so it only references importing the final list of lists produced. Trying to use some of the mid-points can have unpredictable results (this is part of the problem with work arounds).
2018-03-21example: groupsBen McGinnes1-0/+6
* Added a docstring.
2018-03-21example: verify signaturesBen McGinnes1-0/+64
* Added example for verifying detached signatures against the files they're the signatures for.
2018-03-21example: verify signed fileBen McGinnes1-0/+61
* Added example to verify normal and clearsigned files.
2018-03-21doc: python bindings howtoBen McGinnes1-1/+1
* Fixed minor error in one of the verification examples.
2018-03-21example: detach sign fileBen McGinnes1-0/+64
* Added example to make detached signatures of a file with key selection.
2018-03-21example: encrypt-sign-file.pyBen McGinnes1-2/+2
* Adjusted the doc string.
2018-03-21examples: doc stringsBen McGinnes2-2/+4
* Fixed minor errors in two doc strings.
2018-03-21example: clear signingBen McGinnes1-0/+56
* Added example to clear sign a file with signing key selection.
2018-03-21doc: python bindings howtoBen McGinnes1-15/+12
* deconstructed and fixed all three signing methods.
2018-03-21example: sign fileBen McGinnes1-0/+63
* Similar to encrypt file except for signing a file in normal mode. * Noticed additional changes to be made to the howto to match this, but they will have to wait due to a power outage (currently running on battery and a mobile connection, but that won't last).
2018-03-20doc: python bindings howtoBen McGinnes1-2/+2
* Fixed typos in examples.
2018-03-20example: keycountBen McGinnes1-1/+1
* Fixed missing parenthesis.
2018-03-20example: decrypt fileBen McGinnes1-0/+44
* Decrypts a file taking file names as command line parameters.
2018-03-20example: groups work-aroundBen McGinnes1-0/+44
* Added groups selection work around code. * Intended for use as a module to be imported by other scripts, usually with "from groups import group_lists" or "from groups import group_lines" or similar.
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: sign and encrypt fileBen McGinnes1-0/+70
* Example to sign and encrypt a file. * Similar to encrypt-file.py except all keys are considered trusted and signs with the default key. * Also encrypts to the default key.
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.
2018-03-19example: python bindings key countBen McGinnes1-0/+42
* Added script wo count the number of keys in both the public and secret key stores.
2018-03-19doc: python bindings examplesBen McGinnes1-0/+6
* Explicitly stated that all this code is released under the GPLv2+ and the LGPLv2.1+.
2018-03-19doc: python bindings example READMEBen McGinnes1-0/+28
* Added the same license as used with the HOWTO. * Since these examples are so basic, they'll be dual licensed the same as GPGME itself (otherwise it would slip too dangerously against the need for permissive licensing of crypto libraries).
2018-03-19docs: python bindings examplesBen McGinnes2-1/+34
* Added reference to location where all the examples included in the HOWTO will be available as executable scripts. * Included a short README file in that location.
2018-03-19example: python bindings encryptionBen McGinnes1-0/+0
* Since we don't want to encourage accessing the low level functions (e.g. op_encrypt), but since this example can still be useful to understand, renaming it and will add new encryption examples to match the instructions in the HOWTO.
2018-03-19doc: python bindings howtoBen McGinnes1-5/+5
* Slight python-gnupg clarification. See also this thread: https://lists.gnupg.org/pipermail/gnupg-devel/2018-March/033528.html
2018-03-19doc: python bindings howtoBen McGinnes1-8/+12
* Adjusted the python-gnupg so the comments regarding insecure invocation of commands via subprocess (shell=True) were a major historical issue and not a a current issue. * Not including Vinay Sajip's requested change to say it is now secure since no audit of the current code base has been performed and my last major inspection of that code was around the time I first ported PyME to Python 3 in 2015.
2018-03-19doc: python bindings todo listBen McGinnes1-10/+33
* Checked off several points of howto coverage as completed. * Reorganised to move S/MIME coverage to its own separate group of tasks. * Noted only revocation remains for howto completion.
2018-03-18doc: python bindings howtoBen McGinnes1-43/+59
* deconstructing multi-recipient encryption.
2018-03-18doc: python bindings howtoBen McGinnes1-101/+54
* Replaced the single encryption methods with one main way (i.e. cut the low level stuff involving SEEK_SET instructions).
2018-03-18doc: python bindings howtoBen McGinnes1-64/+64
* moved single encrytion examples up to the first ones, pending merge and major cut. * This is basically just to make future checks of revisions a little easier.
2018-03-18doc: python bindings howtoBen McGinnes1-20/+6
* Stripped decryption example to the bare bones as suggested by Justus.
2018-03-16doc: python bindings howtoBen McGinnes1-69/+54
* Made the changes suggested by Jakub Wilk on gnupg-devel. * Still need to make the far more comprehensive changes suggested by Justus.
2018-03-15doc: python bindings howtoBen McGinnes1-0/+8
* Added clarification on why it's not on PyPI.
2018-03-15doc: python bindings howtoBen McGinnes1-1/+1
* fixed custom_id for decryption so the XHTML validates.
2018-03-15doc: python bindings howtoBen McGinnes1-49/+49
* Promoted final encryption example so that it will appear as heading 6.1.3 when exported to HTML or PDF.
2018-03-15doc: python bindings howtoBen McGinnes1-2/+2
* Fixed a minor typographic error. * Bumped version number in preparation for merge with master. * While there are probably a few more things worthy of being added (mainly how to revoke things), this document is essentially ready for publication now. Signed-off-by: Ben McGinnes <[email protected]>
2018-03-15doc: python bindings howtoBen McGinnes1-0/+32
* Added key signing.
2018-03-15doc: python bindings howtoBen McGinnes1-5/+32
* Added a new user ID for Danger Mouse. * Removed the empty entry for key preferences since that is handled through gpg.conf and/or editing the key directly.
2018-03-15doc: python bindings howtoBen McGinnes1-10/+10
* Spell checking and fixing the few errors.
2018-03-15doc: python bindings howtoBen McGinnes1-0/+72
* Added an encryption subkey to Danger Mouse's primary key.
2018-03-15doc: python bindings howtoBen McGinnes1-0/+93
* generated a new primary key for Danger Mouse in an alternative homedir.
2018-03-15doc: python bindings howtoBen McGinnes1-0/+42
* Added sections for key generation and key editing.
2018-03-15doc: python bindings howtoBen McGinnes1-17/+60
* Added c.get_key instructions and examples.