feat: configure and request LocalStats with remote-admin PKI
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- react, typescript
- Domain
- full-stack
Research direction
Start by locating the Security configuration controls, remote refresh flows, SDK request APIs, and their existing tests; the issue does not name specific files or test paths. Review how device configuration persistence and packet requests currently work, then add coverage for the listed channel, PKI, local-path, authorization, and retry cases. Done means the requested behavior and evidence are provided, including packet/log capture, screenshots, browser, and build.
Written by the indexing model from the issue text.
Description
Context
protobufs#1023 adds device-owned request policies for LocalStats and requested DeviceMetrics. Firmware enforcement is firmware#11247.
Owner settings
- Add LocalStats Shared channel / Remote admins only to device Security configuration.
- Add a separate DeviceMetrics Shared channel / Remote admins only control, but enable its remote-admin choice only while Device telemetry broadcast is disabled. Explain why it is unavailable while broadcasting.
- Both controls write device configuration, not browser-local state, and verify persistence after reconnect. Do not show the remote-admin choice as effective until supported firmware reads it back.
Remote request flow
- Never add NodeInfo/capability advertising or background probe traffic for these policies.
- An attached client LocalStats refresh stays local and needs no transport choice.
- Every user-initiated remote LocalStats or DeviceMetrics refresh opens a web dialog: Shared channel or Remote admin (PKI). Explain that PKI only succeeds for configured remote admins.
- Add a purpose-built SDK request API. Shared channel uses the target channel; Remote admin uses
TELEMETRY_APP, target public key, and explicit PKI fields. Never reuse the legacy admin sender. Disable PKI when the target public key is unavailable. - Never auto-retry or fall back between methods. The selected request is the only radio transmission.
- Render
Routing_Error.NOT_AUTHORIZEDas an explicit result. A channel NAK can offer a user-initiated switch to PKI; a PKI NAK explains that this identity is not a configured remote admin. A timeout remains No response, not an authorization verdict.
Packet tests and evidence
Add SDK/UI tests for a non-zero target channel, PKI request fields, no legacy-admin fallback, attached/local path, NOT_AUTHORIZED request-ID correlation, and no automatic retry. Attach a real-device packet/log capture plus web screenshots for: owner LocalStats setting, owner DeviceMetrics setting with broadcast disabled, request-method dialog, selected Shared channel request, selected PKI request, LocalStats noise floor, authorized response, and NOT_AUTHORIZED state. Include browser and build.
- Dominant language
- TypeScript
- Stars
- 861
- Forks
- 316
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 18
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from meshtastic/web
-
i18n
Difficulty 1/5 Under an hour Newbie friendliness 82/100
meshtastic/web#1187 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
meshtastic/web#1532 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 52/100
meshtastic/web#1504 ·
Maintainers usually reply within 1 day
-
[Bug]: Serial connection to nRF52 device (T1000-E) never loads; port opened without DTR assertedOpen
Difficulty 3/5 Half a day Newbie friendliness 45/100
meshtastic/web#1499 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
meshtastic/web#1498 ·
Maintainers usually reply within 1 day
Similar issues
-
P3
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug L3 level 1 needs-review wocs
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
SatyamPandey-07/WorkSphere#10739 · 1 comment ·
Maintainers usually reply within 1 day
-
maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
assistant-ui/assistant-ui#10946 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
openclaw/openclaw#206303 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day