aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/docs/GPGMEpythonHOWTOen.org (follow)
Commit message (Collapse)AuthorAgeFilesLines
* docs: renaming and draftsBen McGinnes2018-09-151-2086/+0
| | | | | | | | * lang/python/docs/gpgme-python-howto.org: Renamed file to better fit the rest of the project's docs. * Added a section on the very unofficial drafts I periodically post links to since they're often the easiest way to get a web version in front of someone in a hurry.
* docs: Python howto updateBen McGinnes2018-09-151-1/+7
| | | | | | | | * lang/python/docs/GPGMEpythonHOWTOen.org: Added corresponding GPGME version number to table at the start and cut the shortcut from the groups.py example. * doc/gpgme-python-howto.texi: New export of Texinfo file for docs build.
* Python bindings: docsBen McGinnes2018-09-151-16/+38
| | | | | | | * lang/python/docs/GPGMEpythonHOWTOen.org: Fixed a few errors in the newer sections. * Updated code in the examples using secret key exporting and group lines to reflect the Python 2.7 compatibility fixes added.
* docs: python bindingsBen McGinnes2018-08-311-2/+2
| | | | | | * minor typographic update. Signed-off-by: Ben McGinnes <[email protected]>
* docs: python bindings - protonmail examplesBen McGinnes2018-08-291-1/+13
| | | | | | | | * lang/python/docs/GPGMEpythonHOWTOen.org: Updated links to the ProtonMail keyserver import scripts and added a warning regarding being unable to update third party keys. * lang/python/examples/howto/pmkey-import-alt.py: added usage. * lang/python/examples/howto/pmkey-import.py: added usage.
* docs: python bindings HOWTOBen McGinnes2018-08-281-13/+24
| | | | | | * Finished CFFI vs SWIG bit in known issues. * tidied up some of the structure. * Fixed some minor errors and links.
* docs: python bindingsBen McGinnes2018-08-281-3/+22
| | | | * Added section on why no CFFI.
* docs: python howtoBen McGinnes2018-08-281-0/+94
| | | | * Added another key import example using ProtonMail's new keyserver.
* docs: python bindingsBen McGinnes2018-08-271-1/+157
| | | | * Added details on installation troubleshooting.
* docs: python bindings howtoBen McGinnes2018-07-221-170/+169
| | | | | | | | | | | | | | | | | | * Fixed and tested the changes necessary for org-mode to correctly parse pythonic (Python 3) indentation. * Updated the source blocks to recommended upper case for BEGIN_SRC and END_SRC. * Tested and confirmed XHTML output matches correct examples. * Tested against pseudo-control output via exporting from org-mode to org-mode and then exporting that to XHTML. Remaining differences appear to be discarding the custom tags used to provide X[HT]ML id elements to each section which does not appear to offer any benefit. * Exporting directly to XHTML or other HTML output should no longer cause problems, but if there are any then the first step should be exporting from org-to-org and then exporting that to XHTML. Tested-by: Ben McGinnes <[email protected]> Signed-off-by: Ben McGinnes <[email protected]>
* doc: python bindings howtoBen McGinnes2018-07-221-624/+623
| | | | | | * Another retrofitting of the HOWTO Python example code, this time following adjustments to python-mode configuration and having trawled through the org-mode mailing lists for clues.
* doc: python bindings howtoBen McGinnes2018-07-221-0/+1
| | | | * Added org-mode byline.
* docs: python bindings howtoBen McGinnes2018-07-091-1251/+1235
| | | | | | | | | | | * Complete typographic overhaul. * Removed all section level indentation since it does not affect output formatting, but might affect source code examples. * In text-mode stripped out all tabs which had crept in and replaced them with four spaces. * Updated all code examples (again) to conform with Python-mode. * Bumped version number in preparation for next release of GPG 2.2.9 and corresponding GPGME release.
* python bindings: python 3.7Ben McGinnes2018-06-291-2/+6
| | | | | | | | * Bindings confirmed to work with the newly released 3.7.0. * Updated M4 file to reflect this change and correct the Python binary search order (3.7 is not yet given priority, but will still be found first via the more generic python3 executable). * Updated setup.py.in, bindings documentation and README to reflect this.
* docs: python bindings howtoBen McGinnes2018-06-281-0/+358
| | | | | * Updated official doc (the org-mode file) with the instructions on importing and exporting both public and secret keys.
* docs: python bindings howtoBen McGinnes2018-06-021-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.
* docs: python bindings howtoBen McGinnes2018-05-241-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.
* doc: python bindings howtoBen McGinnes2018-05-241-3/+2
| | | | | | * Fixed org-mode python source indenting. ** Note: nested indented blocks do not indent correctly when exported to [X]HTML.
* docs and examples: python howtoBen McGinnes2018-05-231-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.
* Merge branch 'master' of ssh+git://playfair.gnupg.org/git/gpgmeBen McGinnes2018-03-291-52/+88
|\ | | | | | | | | * Also fixed a small grammatical error highlighted by a merge conflict (in the python bindings howto).
| * docs: python bindings howtoBen McGinnes2018-03-281-25/+53
| | | | | | | | * Added section on revoking UIDs.
| * doc: python bindings howtoBen McGinnes2018-03-281-1/+1
| | | | | | | | * Fixed a typo.
| * docs python bindings howtoBen McGinnes2018-03-281-16/+19
| | | | | | | | | | * PEP8 compliance: a collection of minor edits across multiple example code snippets.
| * doc: python bindings howtoBen McGinnes2018-03-271-6/+6
| | | | | | | | * Fixed some minor PEP8 compliance issues in the key creation examples.
| * doc: python bindings howtoBen McGinnes2018-03-251-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.
| * doc: python bindings howtoBen McGinnes2018-03-251-0/+4
| | | | | | | | | | * Added a reference to new script which will setup a temporary homedir for a user.
| * doc: python bindings howtoBen McGinnes2018-03-241-4/+4
| | | | | | | | | | * Fixed the plaintext, result and verify_result references in the decryption section.
* | doc: python bindings howtoBen McGinnes2018-03-231-1/+1
|/ | | | * Fixed a minor spelling error and a minor grammatical error.
* doc: python bindings howtoBen McGinnes2018-03-211-1/+1
| | | | * Fixed table.
* doc and examples: python bindings HOWTOBen McGinnes2018-03-211-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]>
* doc: python bindings howtoBen McGinnes2018-03-211-1/+1
| | | | * Fixed minor error in one of the verification examples.
* doc: python bindings howtoBen McGinnes2018-03-211-15/+12
| | | | * deconstructed and fixed all three signing methods.
* doc: python bindings howtoBen McGinnes2018-03-201-2/+2
| | | | * Fixed typos in examples.
* docs: python bindings examplesBen McGinnes2018-03-191-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.
* doc: python bindings howtoBen McGinnes2018-03-191-5/+5
| | | | | * Slight python-gnupg clarification. See also this thread: https://lists.gnupg.org/pipermail/gnupg-devel/2018-March/033528.html
* doc: python bindings howtoBen McGinnes2018-03-191-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.
* doc: python bindings howtoBen McGinnes2018-03-181-43/+59
| | | | * deconstructing multi-recipient encryption.
* doc: python bindings howtoBen McGinnes2018-03-181-101/+54
| | | | | * Replaced the single encryption methods with one main way (i.e. cut the low level stuff involving SEEK_SET instructions).
* doc: python bindings howtoBen McGinnes2018-03-181-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.
* doc: python bindings howtoBen McGinnes2018-03-181-20/+6
| | | | * Stripped decryption example to the bare bones as suggested by Justus.
* doc: python bindings howtoBen McGinnes2018-03-161-69/+54
| | | | | * Made the changes suggested by Jakub Wilk on gnupg-devel. * Still need to make the far more comprehensive changes suggested by Justus.
* doc: python bindings howtoBen McGinnes2018-03-151-0/+8
| | | | * Added clarification on why it's not on PyPI.
* doc: python bindings howtoBen McGinnes2018-03-151-1/+1
| | | | * fixed custom_id for decryption so the XHTML validates.
* doc: python bindings howtoBen McGinnes2018-03-151-49/+49
| | | | | * Promoted final encryption example so that it will appear as heading 6.1.3 when exported to HTML or PDF.
* doc: python bindings howtoBen McGinnes2018-03-151-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]>
* doc: python bindings howtoBen McGinnes2018-03-151-0/+32
| | | | * Added key signing.
* doc: python bindings howtoBen McGinnes2018-03-151-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.
* doc: python bindings howtoBen McGinnes2018-03-151-10/+10
| | | | * Spell checking and fixing the few errors.
* doc: python bindings howtoBen McGinnes2018-03-151-0/+72
| | | | * Added an encryption subkey to Danger Mouse's primary key.
* doc: python bindings howtoBen McGinnes2018-03-151-0/+93
| | | | * generated a new primary key for Danger Mouse in an alternative homedir.