[git] GPGME - branch, ben/howto-update-02, updated. gpgme-1.10.0-168-ga2eedef
by Ben McGinnes
cvs at cvs.gnupg.org
Tue Mar 27 03:43:47 CEST 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".
The branch, ben/howto-update-02 has been updated
via a2eedef630891397f8eccb5bb426a0728588bf41 (commit)
from f9159b1d75d3209b1c22bbb0ed4472800b60a522 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a2eedef630891397f8eccb5bb426a0728588bf41
Author: Ben McGinnes <ben at adversary.org>
Date: Tue Mar 27 12:42:06 2018 +1100
doc: python bindings howto
* Fixed some minor PEP8 compliance issues in the key creation examples.
diff --git a/lang/python/docs/GPGMEpythonHOWTOen.org b/lang/python/docs/GPGMEpythonHOWTOen.org
index 77ddba2..5e1e0ab 100644
--- a/lang/python/docs/GPGMEpythonHOWTOen.org
+++ b/lang/python/docs/GPGMEpythonHOWTOen.org
@@ -1079,8 +1079,8 @@
c.home_dir = "~/.gnupg-dm"
userid = "Danger Mouse <dm at secret.example.net>"
- dmkey = c.create_key(userid, algorithm = "rsa3072", expires_in = 31536000,
- sign = True, certify = True)
+ dmkey = c.create_key(userid, algorithm="rsa3072", expires_in=31536000,
+ sign=True, certify=True)
#+end_src
One thing to note here is the use of setting the =c.home_dir=
@@ -1173,8 +1173,8 @@
c.home_dir = "~/.gnupg-dm"
key = c.get_key(dmkey.fpr, secret = True)
- dmsub = c.create_subkey(key, algorithm = "rsa3072", expires_in = 15768000,
- encrypt = True)
+ dmsub = c.create_subkey(key, algorithm="rsa3072", expires_in=15768000,
+ encrypt=True)
#+end_src
As with the primary key, the results here can be checked with:
@@ -1278,8 +1278,8 @@
uid = "Danger Mouse <dm at secret.example.net>"
dmfpr = "177B7C25DB99745EE2EE13ED026D2F19E99E63AA"
- key = c.get_key(dmfpr, secret = True)
- c.key_sign(key, uids = uid, expires_in = 2764800)
+ key = c.get_key(dmfpr, secret=True)
+ c.key_sign(key, uids=uid, expires_in=2764800)
#+end_src
-----------------------------------------------------------------------
Summary of changes:
lang/python/docs/GPGMEpythonHOWTOen.org | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
hooks/post-receive
--
GnuPG Made Easy
http://git.gnupg.org
More information about the Gnupg-commits
mailing list