diff options
| author | Ben McGinnes <[email protected]> | 2015-05-16 16:35:24 +0000 | 
|---|---|---|
| committer | Ben McGinnes <[email protected]> | 2015-05-16 16:35:24 +0000 | 
| commit | 8345bf6f43c4f671124eaa1b713a7f5ac5780cbd (patch) | |
| tree | 7859f8344de280ed3d8a3260306314c2f1748735 | |
| parent | Updated string and key data (diff) | |
| download | gpgme-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-x | lang/py3-pyme/examples/delkey.py | 4 | ||||
| -rwxr-xr-x | lang/py3-pyme/examples/exportimport.py | 4 | ||||
| -rwxr-xr-x | lang/py3-pyme/examples/genkey.py | 2 | ||||
| -rwxr-xr-x | lang/py3-pyme/examples/signverify.py | 8 | 
4 files changed, 9 insertions, 9 deletions
| diff --git a/lang/py3-pyme/examples/delkey.py b/lang/py3-pyme/examples/delkey.py index e79e1208..8bdb85b0 100755 --- a/lang/py3-pyme/examples/delkey.py +++ b/lang/py3-pyme/examples/delkey.py @@ -17,7 +17,7 @@  #    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  # Sample of key deletion -# It deletes keys for [email protected] generated by genkey.pl script +# It deletes keys for [email protected] generated by genkey.pl script  from pyme import core @@ -29,6 +29,6 @@ core.check_version(None)  c = core.Context()  # 0 in keylist means to list not only public but secret keys as well. -for thekey in [x for x in c.op_keylist_all("[email protected]", 0)]: +for thekey in [x for x in c.op_keylist_all("[email protected]", 0)]:      # 1 in delete means to delete not only public but secret keys as well.      c.op_delete(thekey, 1) diff --git a/lang/py3-pyme/examples/exportimport.py b/lang/py3-pyme/examples/exportimport.py index 53904639..45f2f518 100755 --- a/lang/py3-pyme/examples/exportimport.py +++ b/lang/py3-pyme/examples/exportimport.py @@ -17,7 +17,7 @@  #    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  # Sample of export and import of keys -# 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 @@ -27,7 +27,7 @@ core.check_version(None)  expkey = core.Data()  c = core.Context()  c.set_armor(1) -user = "[email protected]" +user = "[email protected]"  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 6c4b2d8c..0b4feee3 100755 --- a/lang/py3-pyme/examples/genkey.py +++ b/lang/py3-pyme/examples/genkey.py @@ -35,7 +35,7 @@ Subkey-Type: RSA  Subkey-Length: 2048  Name-Real: Joe Tester  Name-Comment: with stupid passphrase -Name-Email: [email protected] +Name-Email: [email protected]  Passphrase: abcdabcdfs  Expire-Date: 2020-12-31  </GnupgKeyParms> 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() -user = "[email protected]" +user = "[email protected]"  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. | 
