[2.8.0] Configure packet authenticity policy

Open
#340 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@RCGV1 is already working on this.

Since Jul 10, 2026.

  • #341 by @RCGV1 — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c

Research direction

Start with the native Security settings selector and its binding to Config.SecurityConfig.packet_signature_policy; read the linked design issues and the open pull request first. Done means enum read/write, Balanced defaults and safe unsupported-firmware handling, preserved shield/lock semantics, focused tests, and validation at both listed resolutions.

Written by the indexing model from the issue text.

Description

enhancement

Problem

The MUI runtime needs to read and write the configurable XEdDSA broadcast policy specified in meshtastic/design#121, using source assets from the paired standalone-ui issue.

Solution

Add a native Security settings selector bound to Config.SecurityConfig.packet_signature_policy:

  • Compatible — accept unsigned.
  • Balanced — prefer signed (recommended/default).
  • Strict — require signed.

Strict must communicate that older/ham/no-key nodes and oversized unsigned broadcasts may disappear. PKI-encrypted direct messages remain unaffected.

Acceptance criteria

  • Read/write the firmware enum without a second runtime-local policy.
  • Default/zero renders as Balanced and unsupported firmware degrades safely.
  • Keep the existing shield=authentic and lock=private semantics from design#113.
  • Add focused tests for enum mapping, selection/save, and Strict confirmation where practical.
  • Validate focus/navigation, truncation, localization, and selected/unselected states at 240×320 and 320×240.
  • Link the standalone-ui source issue and keep the PR draft until tested on target MUI hardware.
Dominant language
C
Stars
499
Forks
125
Avg merge
1d 5h
Merged PRs (30d)
38

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from meshtastic/device-ui

All issues in meshtastic/device-ui

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.