aboutsummaryrefslogtreecommitdiffstats
path: root/lang (unfollow)
Commit message (Collapse)AuthorFilesLines
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).
2018-03-12doc: python bindings howtoBen McGinnes1-2/+3
* Fixed a spelling error in the key counting text.
2018-03-12doc: python bindings howtoBen McGinnes1-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).
2018-03-12doc: python bindings howtoBen McGinnes1-6/+7
* error corrections. * multiple typesetting fixes only required due to certain archaic eccentricities of LaTeX. * a couple of minor python PEP8 compliance corrections.
2018-03-12doc: python bindings howtoBen McGinnes1-1/+3
* Fixed an error in the encryption try/except statement.
2018-03-12doc: python bindings howtoBen McGinnes1-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.
2018-03-12doc: python bindings howtoBen McGinnes1-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.
2018-03-09doc: python bindings HOWTOBen McGinnes1-0/+33
* Added instructions and code to count the number of public and secret keys available since it was quick and easy.
2018-03-09doc: python TODO listBen McGinnes1-1/+1
* Slightly tweaked one heading to make it clear it wasn't a duplicate.
2018-03-09doc: python bindings howtoBen McGinnes1-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.
2018-03-09doc: python bindings TODO listBen McGinnes1-2/+5
* Updated to reflect the most recent work on the HOWTO for the Python bindings.
2018-03-09doc: python bindings howtoBen McGinnes1-18/+41
* Added example for verifying both detached and "in-line" signatures.
2018-03-08docs: python bindings howto update.Ben McGinnes1-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.
2018-03-08doc: python bindings howto updateBen McGinnes1-2/+36
* Added example of decryption. * included some quick notes for myself regarding aspects to explain when I flesh out the explanatory text.
2018-03-08doc: Basic operation of the python bindingsBen McGinnes1-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).
2018-03-08doc-howto: fundamental aspects of GPGME vs PythonBen McGinnes1-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.
2018-03-08doc: Added multiple TODOs for inclusion in the HOWTOBen McGinnes1-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.
2018-03-07GPL compatible license for documentationBen McGinnes1-3/+9
* Added the same, slightly modified GPL based license that is used in other parts of GnuPG.
2018-03-07HOWTO updateBen McGinnes1-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.
2018-03-07GPGME Python bindings HOWTOBen McGinnes1-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.
2018-03-07TODO - HOWTOBen McGinnes1-1/+2
* Added suv-entry for the new HOWTO being started and, since it has been started, checked it off.
2018-03-07TODOBen McGinnes1-0/+6
* Slightly expanded the list.
2018-02-26WS removalBen McGinnes1-1/+1
* Whitespace removal.
2018-02-26LaTeX headersben/python-docs-01Ben McGinnes2-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.
2018-02-19Renaming ad infinitum ...Ben McGinnes1-0/+0
* Dropped the .txt from the end of the file ...
2018-02-19Text conversionBen McGinnes1-0/+77
* Exported from Org Mode to UTF-8 text. * Removed my name from just under the title.
2018-02-19Title fixBen McGinnes1-1/+1
* Fixed title.
2018-02-19Conflict with Phabricator filesBen McGinnes1-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.
2018-02-19Schizophrenic file typesBen McGinnes1-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).
2018-02-16cpp: Add shorthand for key locateAndre Heinecke2-0/+35
* lang/cpp/src/key.cpp (Key::locate): New static helper. * lang/cpp/src/key.h: Update accordingly.
2018-02-16History pathBen McGinnes1-7/+10
* Fixed a typo in a filepath reference. * Moved conjecture regarding the first version of Python used to a footnote.
2018-02-15LaTeX marginsBen McGinnes2-0/+67
* Added LaTeX header for 1 inch margins in the quite likely event that all PDF output ultimately uses LaTeX.
2018-02-15TODO DocumentationBen McGinnes1-1/+2
* Checked off the decision to stick with Org Mode.
2018-02-15TODOBen McGinnes1-7/+34
* Beginning to turn the first part of this into something kind of like an actual TODO list as Org Mode uses it (maybe).
2018-02-15tests: Makefile portability.NIIBE Yutaka2-12/+8
* tests/gpg/Makefile.am: Don't use "export" directive. * tests/gpgsm/Makefile.am: Ditto. * lang/qt/tests/Makefile.am: Ditto. * lang/python/tests/Makefile.am: Ditto. -- GnuPG-bug-id: 3056 Signed-off-by: NIIBE Yutaka <[email protected]>
2018-02-15build: More Makefile fix.NIIBE Yutaka1-6/+5
* lang/python/tests/Makefile.am: Avoid target with '/'. Signed-off-by: NIIBE Yutaka <[email protected]>
2018-02-14Short HistoryBen McGinnes1-20/+96
* Fixed or updated the most fundamental errors. * Also included some details on which modules are available on PyPI, as well as what happened to the PyME commit log.
2018-02-14Subsectioned historyBen McGinnes1-0/+15
* Split the main parts down into subsections. * Still need to cull the incorrect stuff towards the end and add more recent changes.
2018-02-14HistoryBen McGinnes1-52/+68
* Reshaping the history file to fit Org Mode's structuring for docs. * Also said history needs to be a bit more clear (it was kind of unfinished).
2018-02-14TODOBen McGinnes1-20/+45
* Updated TODO. * The entirety of the old TODO has been replaced with either more relevant tasks or goals for the examples and a more measured approach to the docs and why, in this project, Org Mode trumps reST, even though it's Python through and through.
2018-02-14TODOBen McGinnes1-23/+0
* Removed reST version of file.
2018-02-14TODOBen McGinnes1-0/+22
* Converted document from reST to org-mode.
2018-02-14Short HistoryBen McGinnes1-57/+0
* Removed reST version.
2018-02-14Short HistoryBen McGinnes1-0/+56
* Converted document from reST to org-mode.