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/aes128_user/client.conf | 5 ++++- tests/aes128_user/server_lds.conf | 5 +++-- tests/aes128_user/server_register.conf | 6 +++--- tests/aes128_user/server_register_client.conf | 4 ++-- 4 files changed, 12 insertions(+), 8 deletions(-) (limited to 'tests/aes128_user') diff --git a/tests/aes128_user/client.conf b/tests/aes128_user/client.conf index 98dd4c4..614baff 100644 --- a/tests/aes128_user/client.conf +++ b/tests/aes128_user/client.conf @@ -1,11 +1,14 @@ # Client — test: aes128_user applicationUri = urn:localhost:bobink:ClientFindServers + certificate = certs/ClientFindServers_cert.der privateKey = certs/ClientFindServers_key.der +trustStore = certs/trust/client + securityMode = SignAndEncrypt securityPolicy = Aes128_Sha256_RsaOaep + authMode = user username = user password = password -trustStore = certs/trust/client diff --git a/tests/aes128_user/server_lds.conf b/tests/aes128_user/server_lds.conf index 2cc4b2e..86bf196 100644 --- a/tests/aes128_user/server_lds.conf +++ b/tests/aes128_user/server_lds.conf @@ -2,12 +2,13 @@ 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 = user username = user password = password -trustStore = certs/trust/server_lds +cleanupTimeout = 60 diff --git a/tests/aes128_user/server_register.conf b/tests/aes128_user/server_register.conf index 077afc2..3c4c88a 100644 --- a/tests/aes128_user/server_register.conf +++ b/tests/aes128_user/server_register.conf @@ -2,13 +2,13 @@ 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 = user username = user password = password -trustStore = certs/trust/server_register +registerInterval = 10 diff --git a/tests/aes128_user/server_register_client.conf b/tests/aes128_user/server_register_client.conf index 252bbd6..3e976be 100644 --- a/tests/aes128_user/server_register_client.conf +++ b/tests/aes128_user/server_register_client.conf @@ -1,8 +1,10 @@ # ServerRegister client config — test: aes128_user applicationUri = urn:localhost:bobink:ServerRegister + certificate = certs/ServerRegisterClient_cert.der privateKey = certs/ServerRegisterClient_key.der +trustStore = certs/trust/server_register_client securityMode = SignAndEncrypt securityPolicy = Aes128_Sha256_RsaOaep @@ -10,5 +12,3 @@ securityPolicy = Aes128_Sha256_RsaOaep authMode = user username = user password = password - -trustStore = certs/trust/server_register_client -- cgit v1.2.3