btimby/py-radius

Invalid radius attribute: 80

Opened this issue · 1 comments

Hi,

When I run the code below for a Radius client in my environment I get a ValueError of "Invalid radius attribute: 80", which I believe is for "Message-Authenticator". Setting "attributes=None" returns the same error. I don't have access to the Radius server in my environment so is there any workaround for this?

try:
radius.authenticate(secret, username, password, host=ip, port=1812)
except ValueError as e:
print(e)

Hi,

This problem has been fixed in master branch (see pull request #10)

You can "update" the package with :

pip3 install -U --force git+https://github.com/btimby/py-radius

@btimby can you please provide an up-to-date version on pypi ?

Thanks !