Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with RADIUS authentication when secret key consists of space character #105

Open
asha-behera opened this issue Jan 2, 2025 · 1 comment

Comments

@asha-behera
Copy link

Hi,

Issue is seen AAA authentication with RADIUS authentication if the secret-key consists of special characters .

Below issues are seen while testing:

  1. RADIUS authentication with a secret-key consisting of space(" ") character is not supported
    There is no restriction from FreeRadius server side and works with all special characters with other NOS

root@sonic# config radius add a.b.c.d -k "secret key"

Is there a way to allow all special characters including above exceptions for RADIUS authentication? Is there any patch available for this issue ?
Any help in this regard is appreciated.

@alandekok
Copy link
Member

We're happy to accept a patch which fixes this. My $0.02 is to add string parsing, based on single quoted strings like 'foo bar'. It's likely not difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants