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): """