Files
meshcore-analyzer/cmd
you 2f09c8fd64 fix: hardcode default Public channel key in ingestor
The MeshCore default Public channel uses well-known PSK
8b3387e9c5cdea6ac9e5edbaa115cd72 — it is part of the firmware spec,
not a community-named channel. Don't rely on the rainbow JSON to
ship it; bake it into a builtinChannelKeys() floor that loads
before the rainbow file. Rainbow / hashChannels / explicit config
can still override it (priority order preserved).

This means fresh deploys decrypt default Public traffic out of the
box even if channel-rainbow.json is missing or stale.

Tests:
- TestLoadChannelKeysBuiltinPublic: confirms Public is present with
  no rainbow / config.
- TestLoadChannelKeysBuiltinOverridable: confirms explicit config
  still wins.
2026-04-23 03:38:42 +00:00
..