Skip to content

Commit 266e550

Browse files
committed
do not b64e twice
1 parent 5ac7ef5 commit 266e550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cryptojwt/tools/keygen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def main():
7171

7272
jwk_dict = jwk.serialize(private=True)
7373
print(json.dumps(jwk_dict, sort_keys=True, indent=4))
74-
print("SHA-256: " + b64e(jwk.thumbprint('SHA-256')).decode(), file=sys.stderr)
74+
print("SHA-256: " + jwk.thumbprint('SHA-256').decode(), file=sys.stderr)
7575

7676

7777
if __name__ == "__main__":

0 commit comments

Comments
 (0)