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

Stick with EndpointDescription if SecPol is null for the UserToken #1324

Merged
merged 2 commits into from
Mar 23, 2021

Conversation

ToSa27
Copy link
Contributor

@ToSa27 ToSa27 commented Mar 15, 2021

this is meant to fix issue #1323
It will avoid checking the certificates for encryption if the EndpointDescription SecurityPolicy is None and the UserIdentity SecurityPolicy is not set at all in line with the OPC UA spec 7.36.2.1.

From the specification (release 1.04):
If this SecurityPolicy is omitted then the Client uses the SecurityPolicy in the EndpointDescription. If the matching SecurityPolicy is set to None then no encryption or signature is required.

@CLAassistant
Copy link

CLAassistant commented Mar 15, 2021

CLA assistant check
All committers have signed the CLA.

@AlinMoldovean AlinMoldovean linked an issue Mar 18, 2021 that may be closed by this pull request
@AlinMoldovean AlinMoldovean merged commit 4014aa6 into OPCFoundation:master Mar 23, 2021
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.

Empty UserToken SecurityPolicy not handled properly
4 participants