Skip to content

Commit

Permalink
scripts/generate-key: Convert to Python3 syntax.
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
  • Loading branch information
sunweaver committed Jun 1, 2021
1 parent f45a55c commit c13ecc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog.d/349.bugfix
@@ -0,0 +1 @@
scripts/generate-key: Convert to Python3 syntax.
6 changes: 3 additions & 3 deletions scripts/generate-key
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

# Run example
# ./scripts/generate-key
Expand All @@ -16,6 +16,6 @@ sk_str = "%s %s %s" % (
signing_key.version,
signedjson.key.encode_signing_key_base64(signing_key)
)
print "signing key: %s " % sk_str
print ("signing key: %s " % sk_str)
pk_str = signedjson.key.encode_verify_key_base64(signing_key.verify_key)
print "verify key: %s" % pk_str
print ("verify key: %s" % pk_str)

0 comments on commit c13ecc4

Please sign in to comment.