From 5726a0d84460a4b67a254c4dcfaa40bf9cc12e45 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Wed, 18 Feb 2026 10:16:45 +0100 Subject: Standardize config file section ordering, list operations in usage 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. --- tests/basic256sha256_anon/client.conf | 5 ++++- tests/basic256sha256_anon/server_lds.conf | 5 +++-- tests/basic256sha256_anon/server_register.conf | 6 +++--- tests/basic256sha256_anon/server_register_client.conf | 4 ++-- 4 files changed, 12 insertions(+), 8 deletions(-) (limited to 'tests/basic256sha256_anon') diff --git a/tests/basic256sha256_anon/client.conf b/tests/basic256sha256_anon/client.conf index 589a741..5517368 100644 --- a/tests/basic256sha256_anon/client.conf +++ b/tests/basic256sha256_anon/client.conf @@ -1,9 +1,12 @@ # Client — test: basic256sha256_anon applicationUri = urn:localhost:bobink:ClientFindServers + certificate = certs/ClientFindServers_cert.der privateKey = certs/ClientFindServers_key.der +trustStore = certs/trust/client + securityMode = SignAndEncrypt securityPolicy = Basic256Sha256 + authMode = anonymous -trustStore = certs/trust/client diff --git a/tests/basic256sha256_anon/server_lds.conf b/tests/basic256sha256_anon/server_lds.conf index 59e84ac..4560153 100644 --- a/tests/basic256sha256_anon/server_lds.conf +++ b/tests/basic256sha256_anon/server_lds.conf @@ -2,10 +2,11 @@ port = 14840 applicationUri = urn:localhost:bobink:ServerLDS + certificate = certs/ServerLDS_cert.der privateKey = certs/ServerLDS_key.der -cleanupTimeout = 60 +trustStore = certs/trust/server_lds authMode = anonymous -trustStore = certs/trust/server_lds +cleanupTimeout = 60 diff --git a/tests/basic256sha256_anon/server_register.conf b/tests/basic256sha256_anon/server_register.conf index b65f996..6a47796 100644 --- a/tests/basic256sha256_anon/server_register.conf +++ b/tests/basic256sha256_anon/server_register.conf @@ -2,11 +2,11 @@ port = 14841 applicationUri = urn:localhost:bobink:ServerRegister + certificate = certs/ServerRegister_cert.der privateKey = certs/ServerRegister_key.der - -registerInterval = 10 +trustStore = certs/trust/server_register authMode = anonymous -trustStore = certs/trust/server_register +registerInterval = 10 diff --git a/tests/basic256sha256_anon/server_register_client.conf b/tests/basic256sha256_anon/server_register_client.conf index e87a713..aa0339c 100644 --- a/tests/basic256sha256_anon/server_register_client.conf +++ b/tests/basic256sha256_anon/server_register_client.conf @@ -1,12 +1,12 @@ # ServerRegister client config — test: basic256sha256_anon applicationUri = urn:localhost:bobink:ServerRegister + certificate = certs/ServerRegisterClient_cert.der privateKey = certs/ServerRegisterClient_key.der +trustStore = certs/trust/server_register_client securityMode = SignAndEncrypt securityPolicy = Basic256Sha256 authMode = anonymous - -trustStore = certs/trust/server_register_client -- cgit v1.2.3