From a54421dd976fd8081e96c11c2621076876c9986b Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Tue, 17 Feb 2026 11:07:37 +0100 Subject: Replace CLI arguments with config-file parser and add integration tests Introduce a reusable key=value config parser (config.h/c) and convert all three programs to read their settings from config files instead of positional command-line arguments. Add example config files in config/ and 6 CTest integration tests covering None/Basic256Sha256/Aes128 with anonymous and user authentication. Remove the now-obsolete launch.sh. --- tests/aes128_user/client_find_servers.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/aes128_user/client_find_servers.conf (limited to 'tests/aes128_user/client_find_servers.conf') diff --git a/tests/aes128_user/client_find_servers.conf b/tests/aes128_user/client_find_servers.conf new file mode 100644 index 0000000..58d7bd1 --- /dev/null +++ b/tests/aes128_user/client_find_servers.conf @@ -0,0 +1,16 @@ +# ClientFindServers — test: aes128_user + +discoveryEndpoint = opc.tcp://localhost:14840 +applicationUri = urn:bobink.ClientFindServers +certificate = certs/ClientFindServers_cert.der +privateKey = certs/ClientFindServers_key.der + +securityMode = SignAndEncrypt +securityPolicy = Aes128_Sha256_RsaOaep + +authMode = user +username = user +password = password + +trustList = certs/ServerLDS_cert.der +trustList = certs/ServerRegister_cert.der -- cgit v1.2.3