aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* doc: python binding howtoBen McGinnes2018-03-131-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.
* doc: python bindings howtoBen McGinnes2018-03-131-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).
* doc: python bindings howtoBen McGinnes2018-03-131-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.
* doc: python bindings howtoBen McGinnes2018-03-131-8/+17
| | | | * Added key selection for specifying signing key or keys.
* doc: python bindings howtoBen McGinnes2018-03-131-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.
* doc: python bindings howtoBen McGinnes2018-03-131-6/+5
| | | | | | * Signatures have changed as a result of the recent update from Justus. * Sample code updated. * Text to follow later.
* doc: python bindings howtoBen McGinnes2018-03-131-4/+14
| | | | * Added text description for the decryption example.
* 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 TODO listBen McGinnes2018-03-091-1/+1
| | | | * Slightly tweaked one heading to make it clear it wasn't a duplicate.
* 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 TODO listBen McGinnes2018-03-091-2/+5
| | | | | * Updated to reflect the most recent work on the HOWTO for the Python bindings.
* doc: python bindings howtoBen McGinnes2018-03-091-18/+41
| | | | * Added example for verifying both detached and "in-line" signatures.
* Merge branch 'master' of ssh+git://playfair.gnupg.org/git/gpgme into ↵Ben McGinnes2018-03-081-48/+160
|\ | | | | | | | | | | ben/docs/2018-03 * Fixed conflicts with TODO.
| * docs: TODOBen McGinnes2018-03-081-1/+1
| | | | | | | | * Removed WS.
| * doc: TODO list updateBen McGinnes2018-03-081-7/+42
| | | | | | | | | | | | | | * Closed off a few ancient items and added recommendation to others to use the dev.gnupg.org site for real bugs/features updates. * See also this statement on the gnupg-devel list regarding this file: https://lists.gnupg.org/pipermail/gnupg-devel/2018-March/033499.html
* | 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.
* | doc: Added multiple TODOs for inclusion in the HOWTOBen McGinnes2018-03-081-1/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Some instructions to include are fairly obvious; as with encryption, decryption and signature verification. * Some are a little less obvious. * This includes the requests received to specifically include subkey management (adding and revoking subkeys on a primary key that's being retained. * Added the UID equivalents to the list, as well as key selection matters (and may or may not include something for handling group lines since that involves wrapping a CLI binary). * Key control documentation and examples requested by Mike Ingle of confidantmail.org.
* | 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.
* | TODO - HOWTOBen McGinnes2018-03-071-1/+2
| | | | | | | | | | * Added suv-entry for the new HOWTO being started and, since it has been started, checked it off.
* | TODOBen McGinnes2018-03-071-0/+6
| | | | | | | | * Slightly expanded the list.
* | copyright fixBen McGinnes2018-03-071-1/+5
| | | | | | | | | | | | | | * Made the copyright line a new top level org heading in order to prevent it getting folded into other tasks which will eventually get closed (so it doesn't go missing if those items are subsequently archived).
* | Nuxed doublesBen McGinnes2018-03-071-24/+22
| | | | | | | | | | * Just because there's a lot of documentation which needs to be added, doesn't mean it needs to be listed twice. Merged the two lists.
* | Removed doubleBen McGinnes2018-03-061-1/+0
| | | | | | | | * default.profraw didn't need to be listed twice.
* | IDENTIFYBen McGinnes2018-03-041-1/+1
|/ | | | * Fixed sp error in docstring.
* Missed a coupleBen McGinnes2018-03-031-2/+2
| | | | | | * WS indicated 2 custom-ids were missed, now they're set. Signed-off-by: Ben McGinnes <[email protected]>
* TODO DONEBen McGinnes2018-03-031-0/+12
| | | | | | * Marked off a TODO for this clean-up. Signed-off-by: Ben McGinnes <[email protected]>
* TODOben/docs/2018-02Ben McGinnes2018-03-031-1/+1
| | | | * WS removal
* TODO updatesBen McGinnes2018-03-031-72/+80
| | | | | | | | | * Updated TODO with tags to make everything appear properly when exported to HTML or PDF. * Added a couple more items, mainly to do with docs or future bindings. * Marked some, but not all as actual TODO items. * Some items should probably be removed, but haven't been yet. * Some have probably been completed already.
* New stuffBen McGinnes2018-02-271-0/+20
| | | | | | * Added the idea for alternative Emacs bindings (to extend the existing ones, not replace them outright). * Added a reference to the API Squared part of the project.
* TODO the TODOBen McGinnes2018-02-271-0/+11
| | | | | * Added an actual TODO to fix the TODOs. * Pretty sure I know who will be completing this one ... ;)
* TODO ... the TODOBen McGinnes2018-02-271-3/+316
| | | | | | | | | * If we're going to use Org, let's actually use Org. * Added the properties tags for each point. * Some of thems still need custom ID tags assigned properly. * Probably ought to make them actual TODOs at some point, but that can wait until they can be marked as DONE anyway. * Will add a TODO for some of this stuff ... oh, the irony.
* core: Support non-thread-safe getenv.NIIBE Yutaka2018-02-271-20/+36
| | | | | | | * src/get-env.c (_gpgme_getenv): Use gpgrt_lock_lock and gpgrt_lock_unlock to protect call of getnev. Signed-off-by: NIIBE Yutaka <[email protected]>
* WS removalBen McGinnes2018-02-261-1/+1
| | | | * Whitespace removal.
* Merge branch 'ben/python-docs-01'Ben McGinnes2018-02-266-119/+432
|\ | | | | | | | | | | * Documentation and the first brush strokes towards the future. Signed-off-by: Ben McGinnes <[email protected]>
| * LaTeX headersben/python-docs-01Ben McGinnes2018-02-262-0/+8
| | | | | | | | | | | | | | * Set LaTeX headers to enable ligatures and a 12pt font by default. * Paper size left for regional defaults. * Using XeLaTeX for easier font control. * Using default LaTeX font of Latin Main, but that's easy enough to change.
| * Renaming ad infinitum ...Ben McGinnes2018-02-191-0/+0
| | | | | | | | * Dropped the .txt from the end of the file ...
| * Text conversionBen McGinnes2018-02-191-0/+77
| | | | | | | | | | * Exported from Org Mode to UTF-8 text. * Removed my name from just under the title.
| * Title fixBen McGinnes2018-02-191-1/+1
| | | | | | | | * Fixed title.