Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if packet is decrypted when converting to JSON #2857

Merged
merged 3 commits into from
Oct 3, 2023

Conversation

GUVWAF
Copy link
Member

@GUVWAF GUVWAF commented Oct 2, 2023

A device could crash when JSON and encryption are enabled for MQTT, because it was using the portnum (which is part of the decrypted payload) before checking the tag.
Removed unnecessary checks for the tag afterwards.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 2, 2023

🤖 Pull request artifacts

file commit
pr2857-firmware-2.2.10.8d33e68.zip 8d33e68

thebentern added a commit to meshtastic/artifacts that referenced this pull request Oct 2, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Oct 3, 2023
@thebentern thebentern merged commit 37c3d15 into meshtastic:master Oct 3, 2023
@GUVWAF GUVWAF deleted the JSONportnum branch February 18, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants