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

Verify the DHCHAP and PSK values in the gateway #1004

Closed
gbregman opened this issue Dec 26, 2024 · 0 comments · Fixed by #1013
Closed

Verify the DHCHAP and PSK values in the gateway #1004

gbregman opened this issue Dec 26, 2024 · 0 comments · Fixed by #1013
Assignees

Comments

@gbregman
Copy link
Contributor

When we use DHCHAP or PSK keys, we pass the values to the SPDK which verifies the content and fail the operation in case the key is invalid. The problem is we don't get a clear error code. SPDK just flag all error with the same generic code. In order to give a more readable error to the user we should add key verification code to the gateway. This will allow us to tell the user the exact problem. As the key spec is fixed and can't be changed we can duplicate the validation logic of SPDK in the gateway.

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

Successfully merging a pull request may close this issue.

1 participant