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.
This commit is contained in:
parent
ba3c9f2617
commit
325b0ca341
@ -27,7 +27,7 @@ core.check_version(None)
|
||||
expkey = core.Data()
|
||||
c = core.Context()
|
||||
c.set_armor(1)
|
||||
user = "joe@example.org"
|
||||
user = b"joe@example.org"
|
||||
|
||||
print(" - Export %s's public keys - " % user)
|
||||
c.op_export(user, 0, expkey)
|
||||
|
@ -36,7 +36,7 @@ Subkey-Length: 2048
|
||||
Name-Real: Joe Tester
|
||||
Name-Comment: with stupid passphrase
|
||||
Name-Email: joe@example.org
|
||||
Passphrase: Crypt0-R0cks
|
||||
Passphrase: Crypt0R0cks
|
||||
Expire-Date: 2020-12-31
|
||||
</GnupgKeyParms>
|
||||
"""
|
||||
|
@ -41,7 +41,7 @@ if not c.signers_enum(0):
|
||||
|
||||
# This is a map between signer e-mail and its password
|
||||
passlist = {
|
||||
"<joe@example.org>": "Crypt0-R0cks"
|
||||
"<joe@example.org>": "Crypt0R0cks"
|
||||
}
|
||||
|
||||
# callback will return password based on the e-mail listed in the hint.
|
||||
|
Loading…
Reference in New Issue
Block a user