Updated string and key data
* Text changed to byte literals. * Changed key type to RSA/RSA. * Changed expiry to the future (2020).
This commit is contained in:
parent
90079786c5
commit
4fc1239815
@ -28,16 +28,16 @@ c.set_progress_cb(callbacks.progress_stdout, None)
|
|||||||
|
|
||||||
# This example from the GPGME manual
|
# This example from the GPGME manual
|
||||||
|
|
||||||
parms = """<GnupgKeyParms format="internal">
|
parms = b"""<GnupgKeyParms format="internal">
|
||||||
Key-Type: DSA
|
Key-Type: RSA
|
||||||
Key-Length: 1024
|
Key-Length: 2048
|
||||||
Subkey-Type: ELG-E
|
Subkey-Type: RSA
|
||||||
Subkey-Length: 1024
|
Subkey-Length: 2048
|
||||||
Name-Real: Joe Tester
|
Name-Real: Joe Tester
|
||||||
Name-Comment: with stupid passphrase
|
Name-Comment: with stupid passphrase
|
||||||
Name-Email: joe@foo.bar
|
Name-Email: joe@foo.bar
|
||||||
Passphrase: abcdabcdfs
|
Passphrase: abcdabcdfs
|
||||||
Expire-Date: 2010-08-15
|
Expire-Date: 2020-12-31
|
||||||
</GnupgKeyParms>
|
</GnupgKeyParms>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user