aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/gpg/constants/__init__.py
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-02-17 14:44:35 +0000
committerJustus Winter <[email protected]>2017-02-17 15:28:00 +0000
commit48634e651fcd02431c0518d42ada1f3b402feb2c (patch)
tree1bb947a1e09e96982f44d47d15dd3d6b5a825964 /lang/python/gpg/constants/__init__.py
parentpython: Fix teardown of ephemeral contexts. (diff)
downloadgpgme-48634e651fcd02431c0518d42ada1f3b402feb2c.tar.gz
gpgme-48634e651fcd02431c0518d42ada1f3b402feb2c.zip
python: Support quick key signing.
* NEWS: Update. * doc/gpgme.texi (gpgme_op_keysign): Fix the description of the 'expire' argument. * lang/python/gpg/constants/__init__.py: Import new file. * lang/python/gpg/constants/keysign.py: New file. * lang/python/gpg/core.py (Context.key_sign): New function. * lang/python/tests/Makefile.am (py_tests): Add new test. * lang/python/tests/t-quick-key-signing.py: New test. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/gpg/constants/__init__.py')
-rw-r--r--lang/python/gpg/constants/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python/gpg/constants/__init__.py b/lang/python/gpg/constants/__init__.py
index 2bf180e5..79d1fbc1 100644
--- a/lang/python/gpg/constants/__init__.py
+++ b/lang/python/gpg/constants/__init__.py
@@ -26,14 +26,14 @@ del util
# For convenience, we import the modules here.
from . import data, keylist, sig # The subdirs.
-from . import create, event, md, pk, protocol, sigsum, status, validity
+from . import create, event, keysign, md, pk, protocol, sigsum, status, validity
# A complication arises because 'import' is a reserved keyword.
# Import it as 'Import' instead.
globals()['Import'] = getattr(__import__('', globals(), locals(),
[str('import')], 1), "import")
-__all__ = ['data', 'event', 'import', 'keylist', 'md', 'pk',
+__all__ = ['data', 'event', 'import', 'keysign', 'keylist', 'md', 'pk',
'protocol', 'sig', 'sigsum', 'status', 'validity', 'create']
# GPGME 1.7 replaced gpgme_op_edit with gpgme_op_interact. We