def _parse_vals(key, val, prefix):
    ts = int(time.time())
    u_prefix, u_b64, u_sig = val.split('|')

    sig = _hmac_sha1(key, '%s|%s' % (u_prefix, u_b64))
    if _hmac_sha1(key, sig) != _hmac_sha1(key, u_sig):
        return None

    if u_prefix != prefix:
        return None

    user, ikey, exp = base64.b64decode(u_b64).split('|')

    if int(exp) >= ts:
        return None

    return user
dataset/ETHPy150Open GluuFederation/community-edition-setup/static/auth/lib/duo_web.py/_parse_vals/swapped operands of `>=`