python: default op_keylist_start parameters.
Closed, ResolvedPublic


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

  • lang/python/gpgme.i: Added gpgme_op_keylist_start with defaults
  • lang/python/tests/ 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 <>

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

neal set External Link to
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