hexdigest lower()

This commit is contained in:
Jakub Warmuz 2015-11-08 06:29:48 +00:00
parent 8208470395
commit 37574e60e1
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA

View file

@ -345,7 +345,7 @@ class TLSSNI01Response(KeyAuthorizationChallengeResponse):
def z(self):
"""``z`` value used for verification."""
return hashlib.sha256(
self.key_authorization.encode("utf-8")).hexdigest().encode()
self.key_authorization.encode("utf-8")).hexdigest().lower().encode()
@property
def z_domain(self):