From ee935a9fc75d38d5b94b701a5818060af63c1824 Mon Sep 17 00:00:00 2001 From: TeTeHacko Date: Fri, 13 Nov 2026 14:35:04 +0100 Subject: [PATCH] OTA packages from CI: tth-fw-release builds full + delta packages, fleet key Co-Authored-By: Claude Opus 5.5 --- platformio.ini | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/platformio.ini b/platformio.ini index e4248679..faba2bbf 100644 --- a/platformio.ini +++ b/platformio.ini @@ -25,6 +25,15 @@ extra_configs = ble_pin = 123456 admin_pw = password +; Admin-pushed OTA (src/helpers/FwUpdate, docs/ota-admin.md): the PUBLIC key +; every OTA package signature is checked against, raw Ed25519 hex. Default: the +; fleet signing key meshcore-fw@tth -- the one tth-fw-release already signs the +; mast releases with (FW_SIGNING_KEY), so CI-built packages are accepted and +; nothing else is. Bench builds signed with ~/.config/meshcore-ota/test.key +; override it in platformio.local.ini: [ota] pubkey = . +[ota] +pubkey = 038903068ffe275d855971d3b65495a136f98825d32193a6268711eef87fff90 + ; CUSTOM (TeTeHacko): channels the ChannelFilter deny list applies to ; (examples/simple_repeater/ChannelFilter.h). These keys are PUBLIC by ; construction, not secrets: hashtag channels derive key = SHA256(name)[:16] @@ -130,10 +139,7 @@ build_flags = ${arduino_base.build_flags} -D NRF52_PLATFORM -D LFS_NO_ASSERT=1 -D EXTRAFS=1 -; Admin-pushed OTA (src/helpers/FwUpdate, docs/ota-admin.md): PUBLIC key the -; package signature is checked against. Bench key for now -; (tools/ota_pack.py keygen, private half in ~/.config/meshcore-ota/test.key). - -D FW_OTA_PUBKEY='"4c6086ca832ede490967b76323e0762c5394f128884af2103f5bedd8c46540ce"' + -D FW_OTA_PUBKEY='"${ota.pubkey}"' -D USE_CC310_HW_CRYPTO=1 lib_deps = ${arduino_base.lib_deps}