mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-04 07:50:56 +08:00
The target of SETUP_SIGNING was ignored, so a key meant for another
system or component, e.g. a companion computer, was applied to PX4 and
all its links instead.
SETUP_SIGNING is now only applied when it is broadcast or addressed to
us. Otherwise it is dropped, as it must never be forwarded, and a
warning tells the user that it didn't reach its target.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Julian Oes <julian@oes.ch>
(cherry picked from commit 83a405d10e)
Conflict in forward_message(): release/1.18 has no SETUP_SIGNING drop there because it lacks the forwarding refactor; added the drop ahead of the instance-count check.
Co-authored-by: Julian Oes <julian@oes.ch>