test(satellite): scaffold per-id secret topology entries

This commit is contained in:
Audric committed 2026-05-17 00:06:37 +02:00
1 parent 6a6cfadd95
commit eeeefd5ad5
2 files changed
+23

No files matched your search

+15
View File
@@ -66,6 +66,21 @@ SATELLITE = {
"listen_port": 5303,
}
# Extra satellite identities used by tests/test_satellite_secrets.py.
# - SAT_PINNED has its own SECRET_<id>=... entry in the parent's
# [SATELLITE] section.
# - SAT_UNPINNED has no per-id entry; it falls through to the default
# [SATELLITE].SECRET.
# - SAT_BAD_KEY_ID is the *id* used to verify that a malformed
# SECRET_<bad.id>=... key is ignored at startup; this satellite uses
# the default secret too.
SATELLITE_PINNED_ID = "SAT_PINNED"
SATELLITE_PINNED_SECRET = "secret_pinned"
SATELLITE_UNPINNED_ID = "SAT_UNPINNED"
SATELLITE_BAD_KEY_ID = "bad.id"
SATELLITE_BAD_KEY = f"SECRET_{SATELLITE_BAD_KEY_ID}"
SATELLITE_BAD_VALUE = "ignored_by_startup_validator"
# A real satellite-mode reflector — runs as a satellite of the primary
# reflector. Used to verify that satellite mode preserves features like
# MQTT publishing and the V2 client server.