aboutsummaryrefslogtreecommitdiffstats
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 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: 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.
* | | core: Do not clobber R_KEY in gpgme_get_key on error.Werner Koch2018-03-201-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/keylist.c (gpgme_get_key): Assign a value to the return parameter only on success. -- This problem could be triggered by an ambiguous key. The problem is that the key returned in that case is for one not expected and worse it has not been ref-ed. Signed-off-by: Werner Koch <[email protected]>
* | | core: Fix ABI regression in recent commit.Werner Koch2018-03-202-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/gpgme.h.in (_gpgme_op_import_result): Move new field 'skipped_v3_keys' to the end. -- The ABI break has not made it into a release. Also document the new field. Fixes-commit: a630a1e3e74c926163864b013cb164b4cd1866fc Signed-off-by: Werner Koch <[email protected]>
* | | cpp: Expose skipped_v3_keysAndre Heinecke2018-03-153-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | * lang/cpp/src/importresult.cpp, lang/cpp/src/importresult.h (ImportResult::numV3KeysSkipped): New. -- GnuPG-Bug-Id: T3776
* | | core: Parse skipped_v3_keysAndre Heinecke2018-03-155-7/+19
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | * src/gpgme.h.in (gpgme_import_result_t): Extend with skipped_v3_keys. * src/import.c (gpgme_op_import_result): Extend debug with new field. (parse_import_res): Parse skipped_v3_keys. * tests/gpg/t-support.h, tests/run-support.h (print_import_result): Print skipped_v3_keys. -- This makes it possible to handle this in a GUI in a future version. GnuPG-Bug-Id: T3776
* | 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
* 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.
| * Conflict with Phabricator filesBen McGinnes2018-02-191-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The developers of Phabricator, the web front-end on dev.gnupg.org have not implemented renderers for Markdown, Org-Mode or any other common markdown like language. * They also refuse to do so. * Instead they re-invented the wheel and implemented their own version of Markdown-like thing which is incompatible with everything else. It is called Remarkup. * The developers of Phabricator and Remarkup have refused to provide conversion tools to move files to/from any format to/from Remarkup. * They expect everyone to learn their new favourite pet project. * Remarkup may or may not display Org Mode files, but if so then it is likely to only want to do so as plain text. * There is an unaffiliated and unofficial project to convert Github Markdown to Remarkup via Pandoc. This might be adapted for our use, but requires testing. * Until then exporting from Org Mode to UTF-8 text is likely the least worst plan. * Which means renaming this file to README.org first.
| * Schizophrenic file typesBen McGinnes2018-02-191-2/+2
| | | | | | | | | | | | * Removed Markdown style heading underlining. * Removed in-line file type declaration (which is not correctly parsed by the web interface on dev.gnupg.org).
| * History pathBen McGinnes2018-02-161-7/+10
| | | | | | | | | | | | * Fixed a typo in a filepath reference. * Moved conjecture regarding the first version of Python used to a footnote.