Phase 3 PR 70 -- Apply SecurityPolicy + expand to standard OPC UA policies #69
Reference in New Issue
Block a user
Delete Branch "phase-3-pr70-opcua-client-security-policy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
SecurityPolicywas previously a string that got ignored — the driver only passeduseSecurity=boolto endpoint selection, so an operator asking forBasic256Sha256on a server that also advertisedBasic128Rsa15could silently end up on the weaker cipher.OpcUaSecurityPolicyenum:None,Basic128Rsa15(deprecated),Basic256(deprecated),Basic256Sha256(recommended baseline),Aes128_Sha256_RsaOaep,Aes256_Sha256_RsaPss.MapSecurityPolicy→ SDKSecurityPolicies.*URIs.SelectMatchingEndpointAsyncreplacesCoreClientUtils.SelectEndpointAsync: opens aDiscoveryClient, enumerates endpoints, filters by policy AND mode client-side. Fail-loud on no match — throws with the full list of what the server advertised.Validation
dotnet build: 0 errorsTest plan
SecurityPolicies.*constants