[2.8] Refuse unsigned identity overwrites for known signers

Đang mở
#447 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend, security

Hướng nghiên cứu

The identity overwrite happens in packets/services/node_info.py, lines 21-29, where any NodeInfo updates the stored identity. Read the parent issue pskillen/meshflow-api#437 and the dependency #446 (SG-2) first, since this change relies on knowing which nodes are known signers. Done means unsigned NodeInfo is ignored for known signers, signed updates still apply, and tests cover both cases.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement meshtastic-2.8

Part of pskillen/meshflow-api#437 (Meshtastic 2.8.x support). Code: SG-3 · Priority: Nice · Size: S

Summary

packets/services/node_info.py:21-29 overwrites identity from any NodeInfo. For a node known to sign, ignore unsigned NodeInfo identity changes (mirrors the firmware's Balanced policy).

Acceptance criteria

  • Tests

Depends on: pskillen/meshflow-api#446 (SG-2)

Ngôn ngữ chính
Python
Star
1
Fork
0
Merge trung bình
23 giờ 9 phút
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pskillen/meshflow-api

Tất cả issue của pskillen/meshflow-api

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.