diff --git a/pyproject.toml b/pyproject.toml index ed17238..b4611da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] license = "Apache-2.0" diff --git a/src/cryptojwt/jwk/__init__.py b/src/cryptojwt/jwk/__init__.py index ad25ba3..4294f50 100644 --- a/src/cryptojwt/jwk/__init__.py +++ b/src/cryptojwt/jwk/__init__.py @@ -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): """