From 4696f9da3761adc2cd7d9fa1b3d86c3eaea96c03 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 14 Mar 2014 14:26:18 +0100 Subject: [PATCH] utils: hex-encoded time must be uppercased --- authentic2_idp_ltpa/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentic2_idp_ltpa/utils.py b/authentic2_idp_ltpa/utils.py index 3396d74..2ca64c6 100644 --- a/authentic2_idp_ltpa/utils.py +++ b/authentic2_idp_ltpa/utils.py @@ -5,7 +5,7 @@ import base64 def to_hex(l): h = hex(long(l))[2:-1] h = '0' * (8 - len(h)) + h - return h + return h.upper() def decode_secret(secret): if secret.startswith('b64:'):