aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/docs/GPGMEpythonHOWTOen.org (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* doc: python bindings howtoBen McGinnes2018-03-121-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).
* doc: python bindings howtoBen McGinnes2018-03-121-2/+3
| | | | * Fixed a spelling error in the key counting text.
* doc: python bindings howtoBen McGinnes2018-03-121-1/+19
| | | | | | | * updated multi-encryption final example to be complete. * second example shows most likely method of reading plaintext. * updated example filenames to stick with running gag (i.e. secret_plans.txt).
* doc: python bindings howtoBen McGinnes2018-03-121-6/+7
| | | | | | | * error corrections. * multiple typesetting fixes only required due to certain archaic eccentricities of LaTeX. * a couple of minor python PEP8 compliance corrections.
* doc: python bindings howtoBen McGinnes2018-03-121-1/+3
| | | | * Fixed an error in the encryption try/except statement.
* doc: python bindings howtoBen McGinnes2018-03-121-3/+83
| | | | | | | * Added a more complicated encryption example with a few variations on the encryption method to account for untrusted recipient keys, signing or not signing, including or excluding default keys and so on.
* doc: python bindings howtoBen McGinnes2018-03-121-3/+13
| | | | | | | | * Switched from links to some external docs to using footnotes where necessary. * Ideally the howto should be as stand alone as possible. * Also it makes it difficult to convert to another format for proof-reading if there are links that the conversion can't find.
* doc: python bindings HOWTOBen McGinnes2018-03-091-0/+33
| | | | | * Added instructions and code to count the number of public and secret keys available since it was quick and easy.
* doc: python bindings howtoBen McGinnes2018-03-091-7/+53
| | | | | | | * Wrote the text description explaining each step in the most basic encryption operation. * Will need to include additional examples for encrypting to multiple recipients using Context().encrypt instead of Context().op_encrypt.
* doc: python bindings howtoBen McGinnes2018-03-091-18/+41
| | | | * Added example for verifying both detached and "in-line" signatures.
* docs: python bindings howto update.Ben McGinnes2018-03-081-0/+90
| | | | | | | * Added all four signing code examples that are most likely to be used: armoured, clearsigned, detached armoured and detached binary. * May remove some examples and just discuss the differences, but it depends on the way the text is filled out.
* doc: python bindings howto updateBen McGinnes2018-03-081-2/+36
| | | | | | * Added example of decryption. * included some quick notes for myself regarding aspects to explain when I flesh out the explanatory text.
* doc: Basic operation of the python bindingsBen McGinnes2018-03-081-0/+51
| | | | | | | | | | | | * Added sample code for encrypting some text to a single key. * Basically I'm just lifting existing production code and changing the key IDs from mine to "0x12345678DEADBEEF" for these first few examples. * I'll fill in the text description after. * Note: due to my regional location, I might split some tasks into more commits in order to be sure no work gets lost in case of emergency (or to put it another way: I know Telstra too well to trust them).
* doc-howto: fundamental aspects of GPGME vs PythonBen McGinnes2018-03-081-1/+55
| | | | | | | | | * Added a section for those pythonistas who are too used to web programming. Stressed that it's not simply not RESTful, it's not even REST-like. * Letting me move on to drawing a very loose parallel between a session and a context. The differences should become obvious in the subsequent sections.
* GPL compatible license for documentationBen McGinnes2018-03-071-3/+9
| | | | | * Added the same, slightly modified GPL based license that is used in other parts of GnuPG.
* HOWTO updateBen McGinnes2018-03-071-5/+5
| | | | | | | | * removed one bit of whitespace. * Marked up references to gpgme.h. * Fixed one spelling error. * Removed py2.6 from python search order since even if it is supported, it shouldn't be encouraged.
* GPGME Python bindings HOWTOBen McGinnes2018-03-071-0/+221
* Started work on the GPGME Python bindings HOWTO. * 1,050 words to begin with at approx. 7.5KB. * Got as far as installation. * Includes instruction not to use PyPI for this.