<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BobinkCOpcUa/tests/unsecure_anonymous, branch master</title>
<subtitle>OPC UA applications in C</subtitle>
<id>http://git.tvcloud.fr/cgit.cgi/BobinkCOpcUa/atom?h=master</id>
<link rel='self' href='http://git.tvcloud.fr/cgit.cgi/BobinkCOpcUa/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.tvcloud.fr/cgit.cgi/BobinkCOpcUa/'/>
<updated>2026-02-18T19:30:33Z</updated>
<entry>
<title>Extract createUnsecureClientConfig, fix None endpoint negotiation</title>
<updated>2026-02-18T19:30:33Z</updated>
<author>
<name>Thomas Vanbesien</name>
<email>tvanbesi@proton.me</email>
</author>
<published>2026-02-18T19:30:33Z</published>
<link rel='alternate' type='text/html' href='http://git.tvcloud.fr/cgit.cgi/BobinkCOpcUa/commit/?id=70381b3381d77845dbc04fd521b729b7098134a5'/>
<id>urn:sha1:70381b3381d77845dbc04fd521b729b7098134a5</id>
<content type='text'>
UA_ClientConfig_setDefault leaves securityMode at SignAndEncrypt,
so unsecure clients failed endpoint negotiation when the LDS only
offered None endpoints.  Extract the unsecure client setup into
createUnsecureClientConfig() which explicitly sets securityMode and
securityPolicyUri to None.

Also enable discovery-only None endpoint on ServerRegister so
unencrypted clients can discover it, and update the unsecure_anonymous
test configs to run fully without encryption.
</content>
</entry>
<entry>
<title>Add None endpoint so unsecure clients can discover secure servers</title>
<updated>2026-02-18T16:11:35Z</updated>
<author>
<name>Thomas Vanbesien</name>
<email>tvanbesi@proton.me</email>
</author>
<published>2026-02-18T15:56:44Z</published>
<link rel='alternate' type='text/html' href='http://git.tvcloud.fr/cgit.cgi/BobinkCOpcUa/commit/?id=80aa098905cd7925cf6b665bba9d69621c44cc04'/>
<id>urn:sha1:80aa098905cd7925cf6b665bba9d69621c44cc04</id>
<content type='text'>
UA_ServerConfig_addSecurityPolicyNone only adds the security policy,
not an endpoint entry.  Without a None endpoint in the GetEndpoints
response, the open62541 client's internal endpoint negotiation fails
with BadIdentityTokenRejected before the FindServers request is sent.
Adding the endpoint via UA_ServerConfig_addEndpoint makes the None
endpoint visible; securityPolicyNoneDiscoveryOnly still restricts it
to discovery services only.
</content>
</entry>
<entry>
<title>Make client/server encryption optional, rename tests to full names</title>
<updated>2026-02-18T14:39:29Z</updated>
<author>
<name>Thomas Vanbesien</name>
<email>tvanbesi@proton.me</email>
</author>
<published>2026-02-18T14:39:29Z</published>
<link rel='alternate' type='text/html' href='http://git.tvcloud.fr/cgit.cgi/BobinkCOpcUa/commit/?id=99b5b4416193fafaa815746ea756900d2ab26917'/>
<id>urn:sha1:99b5b4416193fafaa815746ea756900d2ab26917</id>
<content type='text'>
Make encryption optional for both ServerRegister's LDS client
connection and the server side of ServerLDS/ServerRegister: when
certificate, privateKey, and trustStore are omitted the programs
run with SecurityPolicy#None only.  Secure servers also add a
discovery-only None endpoint so unencrypted clients can still call
FindServers and GetEndpoints.

Consolidate tests from 5 policy-specific cases (nosec_anon,
none_user, basic256sha256_anon, aes256_anon, aes128_user) down to
3 that cover the important axes: unsecure_anonymous,
secure_anonymous, secure_user.  Rename directories to use full
names.  Auto-generate certificates and trust stores in run_test.sh.

Update readme and CLAUDE.md to reflect the current program
interface (unified Client binary, split ServerRegister configs)
and the new test names.
</content>
</entry>
</feed>
