Files
PX4-Autopilot/src
Jacob DahlandJulian Oes 367cc93f36 fix(mavlink): only apply SETUP_SIGNING addressed to us (#29536)
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>
2026-10-31 10:26:35 -06:00
..