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

Interpret Null UserIdentityToken as Anonymous during ActivateSession #1173

Conversation

almetge
Copy link

@almetge almetge commented Jan 11, 2023

OPC-UA specification Part 4, 5.6.3 specifies that a Null or empty user token shall always be interpreted as anonymous. Add a test for this case and a fix to properly handle it.

I have a client that uses a Null token when connecting that is refused by the server. I don't know if the empty case would be different.

I'm not sure if the fix should remain in internal_session.py or move somewhere in the parser or accepted tokens, feel free to point me toward a more suitable place if needed.

OPC-UA specification Part 4, 5.6.3 specifies that a Null or empty user
token shall always be interpreted as anonymous. Add a test for this case
and a fix to properly handle it.
@oroulet
Copy link
Member

oroulet commented Jan 11, 2023

could not find a better place.

@oroulet oroulet merged commit 2c78916 into FreeOpcUa:master Jan 11, 2023
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

Successfully merging this pull request may close these issues.

2 participants