mirror of
https://github.com/safing/portmaster.git
synced 2026-12-05 01:53:01 +00:00
57a90a5744
conf.EnablePublicHub(true) was called after module.Start(), so prep()
never registered the public hub config options. This caused TestIdentity
to fail with "config already initialized" and TestVerification/
TestKeyMaintenance to panic on nil function pointers.
Move EnablePublicHub(true) to the top of runTest, matching the pattern
used by all other SPN test packages (crew, docks, terminal), and remove
the now-redundant prepPublicHubConfig() call from TestIdentity.
Broken by 8f9dcd592 which added a strict guard to config.Register().