diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-18 00:02:37 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-02-18 00:02:37 +0100 |
| commit | d8a7d51ba3ecdd0592d4b562d74cc7b56c99ead9 (patch) | |
| tree | 79c59eb4c3ef1522ab05e9777e3e3cddaf933026 | |
| parent | 7648a256d97abda40edbdc0d7bf59edd0a09fb95 (diff) | |
| download | BobinkCOpcUa-d8a7d51ba3ecdd0592d4b562d74cc7b56c99ead9.tar.gz BobinkCOpcUa-d8a7d51ba3ecdd0592d4b562d74cc7b56c99ead9.zip | |
Remove none_anon test, make nosec_anon fully unsecured
none_anon was redundant — nosec_anon now covers the unsecured case
with both LDS and ServerRegister running without security config.
Update readme test table to reflect the change.
| -rw-r--r-- | readme.md | 4 | ||||
| -rw-r--r-- | tests/none_anon/client.conf | 9 | ||||
| -rw-r--r-- | tests/none_anon/server_lds.conf | 11 | ||||
| -rw-r--r-- | tests/none_anon/server_register.conf | 12 | ||||
| -rw-r--r-- | tests/none_anon/server_register_client.conf | 12 | ||||
| -rw-r--r-- | tests/nosec_anon/server_register.conf | 4 |
6 files changed, 2 insertions, 50 deletions
@@ -100,10 +100,10 @@ Integration tests exercise five combinations of security and authentication: | Test | Security | Auth | |------|----------|------| -| `nosec_anon` | LDS unsecured / None | anonymous | -| `none_anon` | None | anonymous | +| `nosec_anon` | LDS + ServerRegister unsecured / None | anonymous | | `none_user` | None | user/password | | `basic256sha256_anon` | SignAndEncrypt / Basic256Sha256 | anonymous | +| `aes256_anon` | SignAndEncrypt / Aes256_Sha256_RsaPss | anonymous | | `aes128_user` | SignAndEncrypt / Aes128_Sha256_RsaOaep | user/password | Run them: diff --git a/tests/none_anon/client.conf b/tests/none_anon/client.conf deleted file mode 100644 index d85ae2b..0000000 --- a/tests/none_anon/client.conf +++ /dev/null @@ -1,9 +0,0 @@ -# Client — test: none_anon - -applicationUri = urn:localhost:bobink:ClientFindServers -certificate = certs/ClientFindServers_cert.der -privateKey = certs/ClientFindServers_key.der -securityMode = None -securityPolicy = None -authMode = anonymous -trustStore = certs/trust/client diff --git a/tests/none_anon/server_lds.conf b/tests/none_anon/server_lds.conf deleted file mode 100644 index 7b15b20..0000000 --- a/tests/none_anon/server_lds.conf +++ /dev/null @@ -1,11 +0,0 @@ -# ServerLDS — test: none_anon - -port = 14840 -applicationUri = urn:localhost:bobink:ServerLDS -certificate = certs/ServerLDS_cert.der -privateKey = certs/ServerLDS_key.der -cleanupTimeout = 60 - -authMode = anonymous - -trustStore = certs/trust/server_lds diff --git a/tests/none_anon/server_register.conf b/tests/none_anon/server_register.conf deleted file mode 100644 index 148c816..0000000 --- a/tests/none_anon/server_register.conf +++ /dev/null @@ -1,12 +0,0 @@ -# ServerRegister server config — test: none_anon - -port = 14841 -applicationUri = urn:localhost:bobink:ServerRegister -certificate = certs/ServerRegister_cert.der -privateKey = certs/ServerRegister_key.der - -registerInterval = 10 - -authMode = anonymous - -trustStore = certs/trust/server_register diff --git a/tests/none_anon/server_register_client.conf b/tests/none_anon/server_register_client.conf deleted file mode 100644 index 9ab3367..0000000 --- a/tests/none_anon/server_register_client.conf +++ /dev/null @@ -1,12 +0,0 @@ -# ServerRegister client config — test: none_anon - -applicationUri = urn:localhost:bobink:ServerRegister -certificate = certs/ServerRegisterClient_cert.der -privateKey = certs/ServerRegisterClient_key.der - -securityMode = None -securityPolicy = None - -authMode = anonymous - -trustStore = certs/trust/server_register_client diff --git a/tests/nosec_anon/server_register.conf b/tests/nosec_anon/server_register.conf index 0e8ed59..15743f5 100644 --- a/tests/nosec_anon/server_register.conf +++ b/tests/nosec_anon/server_register.conf @@ -2,11 +2,7 @@ port = 14841 applicationUri = urn:localhost:bobink:ServerRegister -certificate = certs/ServerRegister_cert.der -privateKey = certs/ServerRegister_key.der registerInterval = 10 authMode = anonymous - -trustStore = certs/trust/server_register |
