diff --git a/py/yubikey.py b/py/yubikey.py index 35e67492..8e12813d 100644 --- a/py/yubikey.py +++ b/py/yubikey.py @@ -190,6 +190,7 @@ class Controller(object): return self._parse_b32_key(val) def _parse_b32_key(self, key): + key = key.upper() key += '=' * (-len(key) % 8) # Support unpadded return b32decode(key)