Enhancement requested: add --pki argument
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 855
- Forks
- 355
- Merge medio
- 3 d 3 h
- PR fusionados (30 d)
- 12
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de meshtastic/python
-
BLE: node unreachable on Linux after pairing — bluez auto-reconnect holds the single connectionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
meshtastic/python#972 ·
Los mantenedores suelen responder en 1 día
-
Bug: Can't run on TermuxPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
meshtastic/python#969 ·
Los mantenedores suelen responder en 1 día
-
good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
meshtastic/python#506 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
meshtastic/python#985 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Undocumented `--set` choicesPosiblemente ocupada @Cryptoteep la tomó hace 54 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
meshtastic/python#978 · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de meshtastic/python
Issues similares
-
[Bug]: test_remote_realpath_uses_argument_vector fails on Windows with Python 3.13+ (ntpath.isabs)Posiblemente ocupada @gouyu-hou la tomó hoy. Abiertotriage/confirmed
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
agentscope-ai/agentscope#4397 ·
Los mantenedores suelen responder en 2 días
-
area/profiles area/sessions comp/desktop desktop/chat desktop/sessions P2 type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
NousResearch/hermes-agent#161712 ·
Los mantenedores suelen responder en 1 día
-
[New Check]: postgresql_flexible_server_public_network_access_disabledPosiblemente ocupada @pouria-l la tomó hoy. Abiertofeature-request status/needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
prowler-cloud/prowler#13615 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
SACGF/variantgrid#2941 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
linkedin/Liger-Kernel#1730 ·
Los mantenedores suelen responder en 3 días