aboutsummaryrefslogtreecommitdiffstats
path: root/tests/nosec_anon/client.conf
Commit message (Collapse)AuthorAgeFilesLines
* Make client/server encryption optional, rename tests to full namesThomas Vanbesien42 hours1-12/+0
| | | | | | | | | | | | | | | | | | | 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.
* Rename ClientFindServers certificate identity to ClientThomas Vanbesien47 hours1-3/+3
| | | | | | The unified client program is no longer just for FindServers. Regenerated the certificate as "Client" and updated all configs, trust store symlinks, readme, and script comments.
* Standardize config file section ordering, list operations in usageThomas Vanbesien48 hours1-1/+4
| | | | | | | Group config keys into sections separated by blank lines: identity, encryption (certificate/privateKey/trustStore), security mode, auth. Program-specific keys (cleanupTimeout, registerInterval) go last. Show available operations in Client usage message.
* Make LDS security config optional, add nosec_anon testThomas Vanbesien2 days1-0/+9
ServerLDS and ServerRegister can now run without encryption when certificate, privateKey, and trustStore are all omitted from the server config file. When any of the three is present, all three are still required. The unsecured server uses UA_ServerConfig_setMinimal with SecurityPolicy#None only. Add nosec_anon integration test covering the LDS unsecured path. Update readme: use symlinks instead of copies for trust stores, note that ServerLDS and ServerRegister support running without certs.