aboutsummaryrefslogtreecommitdiffstats
path: root/lang (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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.
| * | 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.
* / cpp: Expose skipped_v3_keysAndre Heinecke2018-03-152-0/+6
|/ | | | | | | | * lang/cpp/src/importresult.cpp, lang/cpp/src/importresult.h (ImportResult::numV3KeysSkipped): New. -- GnuPG-Bug-Id: T3776
* 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.
| * Merge branch 'master' of /Users/ben/dev/hgit/mine/gnupg/gpgme/master into ↵Ben McGinnes2018-02-152-18/+13
| |\ | | | | | | | | | ben/python-docs-01
| * | LaTeX marginsBen McGinnes2018-02-152-0/+67
| | | | | | | | | | | | | | | * Added LaTeX header for 1 inch margins in the quite likely event that all PDF output ultimately uses LaTeX.
| * | TODO DocumentationBen McGinnes2018-02-151-1/+2
| | | | | | | | | | | | * Checked off the decision to stick with Org Mode.
| * | TODOBen McGinnes2018-02-151-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).
| * | Short HistoryBen McGinnes2018-02-141-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.
| * | Subsectioned historyBen McGinnes2018-02-141-0/+15
| | | | | | | | | | | | | | | | | | * Split the main parts down into subsections. * Still need to cull the incorrect stuff towards the end and add more recent changes.
| * | HistoryBen McGinnes2018-02-141-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).
| * | TODOBen McGinnes2018-02-141-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.
| * | TODOBen McGinnes2018-02-141-23/+0
| | | | | | | | | | | | * Removed reST version of file.
| * | TODOBen McGinnes2018-02-141-0/+22
| | | | | | | | | | | | * Converted document from reST to org-mode.
| * | Short HistoryBen McGinnes2018-02-141-57/+0
| | | | | | | | | | | | * Removed reST version.
| * | Short HistoryBen McGinnes2018-02-141-0/+56
| | | | | | | | | | | | * Converted document from reST to org-mode.
* | | cpp: Add shorthand for key locateAndre Heinecke2018-02-162-0/+35
| |/ |/| | | | | | | * lang/cpp/src/key.cpp (Key::locate): New static helper. * lang/cpp/src/key.h: Update accordingly.
* | tests: Makefile portability.NIIBE Yutaka2018-02-152-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]>
* | build: More Makefile fix.NIIBE Yutaka2018-02-151-6/+5
|/ | | | | | * lang/python/tests/Makefile.am: Avoid target with '/'. Signed-off-by: NIIBE Yutaka <[email protected]>
* cpp: Add SpawnShowWindow flagAndre Heinecke2018-02-091-1/+2
| | | | * lang/cpp/src/context.h (SpawnShowWindow): New.
* cpp: Add conveniance Data::toStringAndre Heinecke2018-02-092-0/+17
| | | | | | | * lang/cpp/src/data.h, lang/cpp/src/data.cpp: Add Data::toString. -- I'm lazy and like to waste memory.
* qt: Don't use QDateTime::toSecsSinceEpochAndre Heinecke2017-12-111-2/+2
| | | | | | | | * lang/qt/src/qgpgmequickjob.cpp (addSubkeyWorker) (createWorker): Use toMSecsSinceEpoch instead toSecsSinceEpoch. -- toSecsSinceEpoch was only introduced in Qt 5.8.
* Spelling fixes for comments and docAndre Heinecke2017-12-084-5/+5
| | | | | | | -- Patch provided by ka7 in dev.gnupg.org Differential D423
* cpp: Fix handling of lsig promotionAndre Heinecke2017-12-071-0/+4
| | | | | | | | | | | | * src/gpgsignkeyeditinteractor.cpp (SignKeyState): Add second CONFIRM state. (makeTable): Properly handle local_promote_okay. (action): Handle CONFIRM2. -- This fixes changing a local signature to a "public" signature. GnuPG-Bug-Id: T1649
* python: Default whence argument for Data() to SEEK_SET.Tobias Mueller2017-12-042-0/+11
| | | | | | | | | | | | | | * lang/python/gpgme.i: copied signature from gpgme.h and defaulted the value to SEEK_SET. * lang/python/tests/t-data.py: Added a test for no second argument -- Having to import the os package when wanting to read a Data object is a slight annoyance. With SWIG, we can define default parameters. This change defaults the whence argument to SEEK_SET which is how StringIO and BytesIO behave. Signed-off-by: Tobias Mueller <[email protected]>
* qt: Add job for quick commandsAndre Heinecke2017-12-017-2/+315
| | | | | | | | | | | | | | | * lang/qt/src/qgpgmequickjob.cpp, lang/qt/src/qgpgmequickjob.h, lang/qt/src/quickjob.h: New. * lang/qt/src/Makefile.am, lang/qt/src/protocol.h, lang/qt/src/protocol_p.h, lang/qt/src/job.cpp: Update accordingly. -- Keeping it in line with the Job for everything pattern. Although it's reduced to one job for four commands as the commands all behave the same.
* cpp: Wrap create_key and create_subkeyAndre Heinecke2017-12-012-0/+76
| | | | | | | * lang/cpp/src/context.cpp, lang/cpp/src/context.h (Context::startCreateKey) (Context::createKey, Context::createSubkey) (Context::startCreateSubkey): New.
* tests: Make portability fix.NIIBE Yutaka2017-11-211-4/+4
| | | | | | | | | | | | | | * lang/python/tests/Makefile.am: Distinguish target and path. * tests/gpg/Makefile.am: Ditto. * tests/gpgsm/Makefile.am: Ditto. -- GNU Make is powerful enough to match path to target (and vice versa), but BSD make is not. GnuPG-bug-id: 3056 Signed-off-by: NIIBE Yutaka <[email protected]>
* qt: Fix IODeviceDataProvider with ProcessAndre Heinecke2017-11-141-1/+5
| | | | | | | | | * lang/qt/src/dataprovider.cpp (blocking_read): Keep reading if process is not atEnd. -- This fixes a regression in Kleopatra that uses this dataprovider to chain the gpgtar process to the encryption / signing.
* qt: Add test for version infoAndre Heinecke2017-09-041-0/+13
| | | | | | | * lang/qt/tests/t-various.cpp (TestVarious::testVersion): New. -- If it's not tested it does not work ;-)