Sendtext: Documentation not obvious that Direct Mesage is unencrypted
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 55/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- api, documentation
Direzione di ricerca
Start with the sendText and sendData methods in meshtastic/mesh_interface.py, the lines the issue links to, and read how each one sets encryption and when publicKey is used. Done when their docstrings say that sendText sends direct messages unencrypted and that sendData with pkiEncrypted=True does not need publicKey. The issue also floats a new SendDMEncrypted API, which is a design question, so leave that out of a first pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello!
This is coming from: https://gitlab.com/kop316/gtk-meshtastic-client/-/issues/25
It was not obvious that sendtext() is unencrypted for Direct Messaging, even for devices with updated firmware:
https://github.com/meshtastic/python/blob/master/meshtastic/mesh_interface.py#L406
I only found this out when I looked at sendData():
https://github.com/meshtastic/python/blob/master/meshtastic/mesh_interface.py#L495
I think it would be good to make this a bit more obvious in the code, and maybe to have an API like SendDMEncrypted()
It would also be nice have documentation on sendData() to say that the publicKey is not required when setting pkiEncrypted is True, as that took a bit of guess and check to confirm this was the case.
Thank you!
- Lingua principale
- Python
- Stelle
- 855
- Fork
- 355
- Merge medio
- 3g 3h
- PR unite (30g)
- 12
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di meshtastic/python
-
BLE: node unreachable on Linux after pairing — bluez auto-reconnect holds the single connectionAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
meshtastic/python#972 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug: Can't run on TermuxForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
meshtastic/python#969 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
meshtastic/python#506 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
meshtastic/python#985 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Undocumented `--set` choicesForse già presa @Cryptoteep l’ha presa 54 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
meshtastic/python#978 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di meshtastic/python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pimutils/vdirsyncer#1242 ·
-
backlog
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
sagemathinc/sagebrush#2768 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
vllm-project/vllm-ascend#23791 ·
I maintainer di solito rispondono entro 1 giorno
-
priority:P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
QuantConnect/lean-cli#792 ·
I maintainer di solito rispondono entro 1 giorno