[Pkg-gnupg-commit] [gpgme] 08/412: More byte changes and passphrase changes
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Sep 22 21:26:03 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit 325b0ca341ae3ac8c3232f557ea2c381b4843969
Author: Ben McGinnes <ben at adversary.org>
Date: Sun May 17 04:22:53 2015 +1000
More byte changes and passphrase changes
* exportimport works, but will still segfault for an as yet unknown
reason.
* genkey produces a traceback error, but does create the key as
intended.
* matched passphrase in signverify.
---
lang/py3-pyme/examples/exportimport.py | 2 +-
lang/py3-pyme/examples/genkey.py | 2 +-
lang/py3-pyme/examples/signverify.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lang/py3-pyme/examples/exportimport.py b/lang/py3-pyme/examples/exportimport.py
index 45f2f51..54204fb 100755
--- a/lang/py3-pyme/examples/exportimport.py
+++ b/lang/py3-pyme/examples/exportimport.py
@@ -27,7 +27,7 @@ core.check_version(None)
expkey = core.Data()
c = core.Context()
c.set_armor(1)
-user = "joe at example.org"
+user = b"joe at example.org"
print(" - Export %s's public keys - " % user)
c.op_export(user, 0, expkey)
diff --git a/lang/py3-pyme/examples/genkey.py b/lang/py3-pyme/examples/genkey.py
index f2998cc..14497eb 100755
--- a/lang/py3-pyme/examples/genkey.py
+++ b/lang/py3-pyme/examples/genkey.py
@@ -36,7 +36,7 @@ Subkey-Length: 2048
Name-Real: Joe Tester
Name-Comment: with stupid passphrase
Name-Email: joe at example.org
-Passphrase: Crypt0-R0cks
+Passphrase: Crypt0R0cks
Expire-Date: 2020-12-31
</GnupgKeyParms>
"""
diff --git a/lang/py3-pyme/examples/signverify.py b/lang/py3-pyme/examples/signverify.py
index 6c68838..e2f8035 100755
--- a/lang/py3-pyme/examples/signverify.py
+++ b/lang/py3-pyme/examples/signverify.py
@@ -41,7 +41,7 @@ if not c.signers_enum(0):
# This is a map between signer e-mail and its password
passlist = {
- "<joe at example.org>": "Crypt0-R0cks"
+ "<joe at example.org>": "Crypt0R0cks"
}
# callback will return password based on the e-mail listed in the hint.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list