python: default op_keylist_start parameters.
Closed, ResolvedPublic

Description

I've created this issue to track this patch, since it hasn't been accepted or
rejected.

  • lang/python/gpgme.i: Added gpgme_op_keylist_start with defaults
  • lang/python/tests/t-keylist.py: Added tests for default parameters

To increase the ease of use, op_keylist_start
parameters default to sensible values.
The empty string matches all keys.
We assume that the user wants to retrieve public keys most of the time,
so we default to public keys rather than secret keys.

Signed-off-by: Tobias Mueller <muelli@cryptobitch.de>

lang/python/gpgme.i | 9 +++++++++
lang/python/tests/t-keylist.py | 12 ++++++++++++
2 files changed, 21 insertions(+)

neal set External Link to https://lists.gnupg.org/pipermail/gnupg-devel/2016-December/032272.html.
neal added subscribers: justus, neal.
justus claimed this task.Jan 17 2017, 12:37 PM
justus closed this task as Resolved.Jan 25 2017, 6:52 PM