Enhancement requested: add --pki argument
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Start with the command-line handling of --sendtext and --dest and the send path that looks up the destination's public key in the node database; the payload names no specific files. The request is for an optional base64 public-key argument (--pki or --dpk) that overrides or fills in a missing key. The name and the security implications are unsettled and nobody has commented, so confirm the design with maintainers before writing code.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I believe that when one launches meshtastic --sendtext "message" --dest [UID], the device looks at its nodelist, finds the public key of the destination node and uses it to construct the packet.
If the recipient node is not in the sending device's nodelist, the following error is generated: "PKI_SEND_FAIL_PUBLIC_KEY" The only way to get this far is that a command argument --dest included an integer or hexadecimal UID value. The user constructing the message then, ostensibly, knows the recipient's UID. He or she should also know the recipient's public key.
When would this condition occur? Never with the Android or web application, because the recipient node must be in the sender's nodelist in order to launch a message dialog box. It can only occur wihen a CLI user constructs his or her own message to a node not in the nodelist. This might happen when the when the sending device has recently been flashed, its nodedb has been reset, or the node removed.
If the recipient node is not regularly broadcasting its existence, there is no way the sender's nodelist will update with the recipient's public key. In an emergency, the sender would have to wait, on average, half of the time in position.broadcast_secs (default is 15 minutes), or could wait forever.
My request is to add --pki base64:[DESTINATION_PUBLIC_KEY] to use when the sender's nodelist is incomplete. The command line DESTINATION_PUBLIC_KEY would take the place of any key or blank found in the nodelist.
This option is no more likely to be added to the bag of stupid user tricks than any other message to an invalid UID. In the case that a message or admin command is sent to a valid UID but with an invalid PKI, there is already a response: ADMIN_PUBLIC_KEY_UNAUTHORIZED.
As to the name of the argument, --pki seems as good as any to me, but --dpk for Destination Public Key is okay, or whatever the developer likes best.
- Ngôn ngữ chính
- Python
- Star
- 855
- Fork
- 355
- Merge trung bình
- 3 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của meshtastic/python
-
BLE: node unreachable on Linux after pairing — bluez auto-reconnect holds the single connectionĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
meshtastic/python#972 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug: Can't run on TermuxCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
meshtastic/python#969 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
meshtastic/python#506 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
meshtastic/python#985 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Undocumented `--set` choicesCó thể đã có người làm @Cryptoteep đã nhận 54 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
meshtastic/python#978 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của meshtastic/python
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pimutils/vdirsyncer#1242 ·
-
backlog
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
sagemathinc/sagebrush#2768 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
vllm-project/vllm-ascend#23791 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
QuantConnect/lean-cli#792 ·
Maintainer thường phản hồi trong vòng 1 ngày