btimby / py-radius

RADIUS authentication module
Other
62 stars 38 forks source link

Invalid radius attribute: 80 #16

Open danielhallinan88 opened 6 years ago

danielhallinan88 commented 6 years ago

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)

EmilienR commented 2 months ago

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 !