aboutsummaryrefslogtreecommitdiffstats
path: root/lang/py3-pyme/examples/signverify.py
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2015-05-16 16:35:24 +0000
committerBen McGinnes <[email protected]>2015-05-16 16:35:24 +0000
commit8345bf6f43c4f671124eaa1b713a7f5ac5780cbd (patch)
tree7859f8344de280ed3d8a3260306314c2f1748735 /lang/py3-pyme/examples/signverify.py
parentUpdated string and key data (diff)
downloadgpgme-8345bf6f43c4f671124eaa1b713a7f5ac5780cbd.tar.gz
gpgme-8345bf6f43c4f671124eaa1b713a7f5ac5780cbd.zip
example email
* changed [email protected] to [email protected] as it is only a matter of time before ICANN actually creates bar as a gTLD, if they haven't already.
Diffstat (limited to '')
-rwxr-xr-xlang/py3-pyme/examples/signverify.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/py3-pyme/examples/signverify.py b/lang/py3-pyme/examples/signverify.py
index 20c9181b..0a1660ec 100755
--- a/lang/py3-pyme/examples/signverify.py
+++ b/lang/py3-pyme/examples/signverify.py
@@ -17,7 +17,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Sample of unattended signing/verifying of a message.
-# It uses keys for [email protected] generated by genkey.pl script
+# It uses keys for [email protected] generated by genkey.pl script
import sys
from pyme import core, callbacks
@@ -28,10 +28,10 @@ core.check_version(None)
plain = core.Data("Test message")
sig = core.Data()
c = core.Context()
c.signers_clear()
-# Add [email protected]'s keys in the list of signers
+# Add [email protected]'s keys in the list of signers
for sigkey in c.op_keylist_all(user, 1):
if sigkey.can_sign:
c.signers_add(sigkey)
@@ -41,7 +41,7 @@ if not c.signers_enum(0):
# This is a map between signer e-mail and its password
passlist = {
- "<[email protected]>": "abcdabcdfs"
+ "<[email protected]>": "abcdabcdfs"
}
# callback will return password based on the e-mail listed in the hint.