aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/docs/GPGMEpythonHOWTOen.org (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-06-06python bindings: import keysben/key-importBen McGinnes1-0/+79
* Adapted from prior submissions by Tobias Mueller and Jacob Adams. * key_import function added to gpg.core.Context(). * Two example scripts added to to examples/howto: import-key-file.py imports keys from a local file and import-keys.py accesses the SKS keyserver pool using the requests module to search for keys (includes check for key IDs which may not include the leading 0x). * Added documentation demonstrating the use of the key_import() function with a large number of keys matching one domain (eff.org; the example shows how EFF staff are following their own advice issued last month).
2018-06-02docs: python bindings howtoBen McGinnes1-66/+73
* Another attempt at fixing the org-mode version. * A proof reader ascertained there were tabs in it instead of whitespace. * Stripped the lot out and replaced with standard 4 spaces, fixed every incorrect example ... and it still breaks upon save and/or export. * Added the reference to the mutt-groups.py script to demonstrate the groups.py module/code.
2018-05-24docs: python bindings howtoBen McGinnes1-5/+7
* Fixed the groups.py script so it really does what is described (the old code had the same result for groups, group_lines and group_lists). * Updated the corresponding example in the doc to match.
2018-05-24doc: python bindings howtoBen McGinnes1-3/+2
* Fixed org-mode python source indenting. ** Note: nested indented blocks do not indent correctly when exported to [X]HTML.
2018-05-23docs and examples: python howtoBen McGinnes1-5/+12
* Updated the decryption example code in the HOWTO and the corresponding decrypt-file.py script to gracefully handle a decryption failure. This error will always be triggered when GPGME is used to try to decrypt an old, MDC-less encrypted message or file.
2018-03-28docs: python bindings howtoBen McGinnes1-25/+53
* Added section on revoking UIDs.
2018-03-28doc: python bindings howtoBen McGinnes1-1/+1
* Fixed a typo.
2018-03-28docs python bindings howtoBen McGinnes1-16/+19
* PEP8 compliance: a collection of minor edits across multiple example code snippets.
2018-03-27doc: python bindings howtoBen McGinnes1-6/+6
* Fixed some minor PEP8 compliance issues in the key creation examples.
2018-03-25doc: python bindings howtoBen McGinnes1-0/+1
* Testing the addition of a HTML header set in org-mode in order to had RSS update links for files. * This should work with any [X]HTML export from current versions of Org-Mode, but if it also works on website generated pages then it'll tick off one of the wishlist itmes.
2018-03-25doc: python bindings howtoBen McGinnes1-0/+4
* Added a reference to new script which will setup a temporary homedir for a user.
2018-03-24doc: python bindings howtoBen McGinnes1-4/+4
* Fixed the plaintext, result and verify_result references in the decryption section.
2018-03-23doc: python bindings howtoBen McGinnes1-1/+1
* Fixed a minor spelling error and a minor grammatical error.
2018-03-21doc: python bindings howtoBen McGinnes1-1/+1
* Fixed table.
2018-03-21doc and examples: python bindings HOWTOBen McGinnes1-1/+1
* Added GPGME Python bindings HOWTO in Australian/British English. ** en-US "translation" still to be done. * Added several example scripts comprised of the "Basic Functions" section of the HOWTO (plus the work-around at the end). ** As these scripts are very basic examples they are released under both the GPLv2+ and the LGPLv2.1+ (just like GPGME itself). Signed-off-by: Ben McGinnes <[email protected]>
2018-03-21doc: python bindings howtoBen McGinnes1-1/+1
* Fixed minor error in one of the verification examples.
2018-03-21doc: python bindings howtoBen McGinnes1-15/+12
* deconstructed and fixed all three signing methods.
2018-03-20doc: python bindings howtoBen McGinnes1-2/+2
* Fixed typos in examples.
2018-03-19docs: python bindings examplesBen McGinnes1-1/+10
* 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-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-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.
2018-03-15doc: python bindings howtoBen McGinnes1-0/+21
* Added text for verifying signatures.
2018-03-14doc: python bindings howtoBen McGinnes1-19/+116
* Added 4 signature verification methods and partial text for them.
2018-03-14doc: python bindings howtoBen McGinnes1-11/+35
* Added description for detached signatures.
2018-03-14doc: python bindings howtoBen McGinnes1-28/+45
* Fixed multiple sample code examples of writing output to a file. * Added the description of detached signatures.
2018-03-14doc: python bindings howtoBen McGinnes1-0/+66
* Added recommended method of single encryption with description.
2018-03-13doc: python binding howtoBen McGinnes1-1/+12
* Clarified which English dialects this is written in. * Translating to American can happen *after* it's done. ** The Yank version would probably want to change some of the examples anyway. * Began the description for normal/default signing.
2018-03-13doc: python bindings howtoBen McGinnes1-1/+60
* Added a section on key selection. * Included recommendation for using fingerprint when selecting one specific key. * Also included the most ironically amusing example of multiple key selection in a GPG guide. Hey, it's public data ... (heh).
2018-03-13doc: python bindings howtoBen McGinnes1-13/+44
* Added explanation of the ascendance of Python 3 over Python 2 in the guide to the intro. * Expanded key selection description so people know what not to include regarding key IDs with this key selection method.
2018-03-13doc: python bindings howtoBen McGinnes1-8/+17
* Added key selection for specifying signing key or keys.
2018-03-13doc: python bindings howtoBen McGinnes1-52/+91
* During the course of working out the updated signature methods, determined that key selection (including counting) will beed to be presented before the basic functions. * Moved "working with keys" up.
2018-03-13doc: python bindings howtoBen McGinnes1-6/+5
* Signatures have changed as a result of the recent update from Justus. * Sample code updated. * Text to follow later.
2018-03-13doc: python bindings howtoBen McGinnes1-4/+14
* Added text description for the decryption example.
2018-03-12doc: python bindings howtoBen McGinnes1-0/+50
* Added a miscellaneous work-arounds section at the end. * Included code in said miscellaneous section for accessing the groups specified in a gpg.conf file. * It's a bit ugly since it does require subprocess (but not call, Popen or shell access and only accesses one command).