Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[tool.poetry]
name = "cryptojwt"
version = "1.9.4"
version = "1.9.5"
description = "Python implementation of JWT, JWE, JWS and JWK"
authors = ["Roland Hedberg <[email protected]>"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/cryptojwt/jwk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def add_kid(self):
Construct a Key ID using the thumbprint method and add it to
the key attributes.
"""
self.kid = b64e(self.thumbprint("SHA-256")).decode("utf8")
self.kid = self.thumbprint("SHA-256").decode("utf8")

def appropriate_for(self, usage, **kwargs):
"""
Expand Down