gpgme.Context().export() does not allow arbitrary modes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyGPGME |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I need to export secret keys from my keyring.
GPGME provides the function `gpgme_op_export()` which allows the user to provide an export mode (see https:/
This is particularly useful to export secret keys (e.g. using mode `GPGME_
Currently, `pygpgme` does not expose this flag in the `Context.export()` function.
Snippet from `pygpgme` implementing the export function (from `src/pygpgme-
1202 Py_BEGIN_
1203 err = gpgme_op_
1204 Py_END_
Here we see that the mode flags is hardcoded to 0.
Changed in pygpgme: | |
milestone: | none → 0.4 |
Fixed in the 0.4 release:
https:/ /github. com/jhenstridge /pygpgme/ commit/ a1e129984112028 5717ec7eab664d4 e46d5f20ab