[2.8] Store packet signature state (tri-state) per observation

Open
#446 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
32/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend, database

Research direction

The work adds a nullable tri-state xeddsa_signed on PacketObservation, a signature_present field on MtRawPacket, and meshtastic_known_signer and meshtastic_v28_identity on ObservedNode, so start from those three models and their migrations. Read the existing packet field docs in PACKET_FIELDS.md, which must also be updated. Done means null, false and true are each covered by tests and the docs describe what unsigned means, but this depends on pskillen/meshflow-bot#146 and pskillen/meshflow-api#463 landing first.

Written by the indexing model from the issue text.

Description

enhancement meshtastic-2.8

Part of pskillen/meshflow-api#437 (Meshtastic 2.8.x support). Code: SG-2 · Priority: Should · Size: M

Summary

  • PacketObservation.xeddsa_signed: nullable — null = unknown (2.7 feeder or old bot), false, true.
  • MtRawPacket.signature_present.
  • ObservedNode.meshtastic_known_signer, meshtastic_v28_identity.

2.8.2's default Compatible policy doesn't sign, so "unsigned" is normal and must never be alarming.

Acceptance criteria

  • Tri-state tests
  • Docs in PACKET_FIELDS.md

Depends on: pskillen/meshflow-bot#146 (SG-1), pskillen/meshflow-api#463 (FX-1)

Dominant language
Python
Stars
1
Forks
0
Avg merge
1d 20h
Merged PRs (30d)
5

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • Has a 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 pskillen/meshflow-api

All issues in pskillen/meshflow-api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.