aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gpgme.texi
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 /doc/gpgme.texi
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 'doc/gpgme.texi')
-rw-r--r--doc/gpgme.texi9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi
index c088cfed..78225d58 100644
--- a/doc/gpgme.texi
+++ b/doc/gpgme.texi
@@ -4044,11 +4044,10 @@ object (@code{gpgme_user_id_t}) is to be used. To select more than
one user ID put them all into one string separated by linefeeds
characters (@code{\n}) and set the flag @code{GPGME_KEYSIGN_LFSEP}.
-@var{expires} can be set to the number of seconds since Epoch of the
-desired expiration date in UTC for the new signature. The common case
-is to use 0 to not set an expiration date. However, if the
-configuration of the engine defines a default expiration for key
-signatures, that is still used unless the flag
+@var{expires} specifies the expiration time of the new signature in
+seconds. The common case is to use 0 to not set an expiration date.
+However, if the configuration of the engine defines a default
+expiration for key signatures, that is still used unless the flag
@code{GPGME_KEYSIGN_NOEXPIRE} is used. Note that this parameter takes
an unsigned long value and not a @code{time_t} to avoid problems on
systems which use a signed 32 bit @code{time_t}. Note further that