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

Uplink DMs not to us if MQTT encryption enabled #5025

Merged
merged 4 commits into from
Oct 10, 2024

Conversation

GUVWAF
Copy link
Member

@GUVWAF GUVWAF commented Oct 10, 2024

We'll mark the encrypted version of the packet as PKI encrypted when we could not decode it, it's a DM not to us and the hash matches. Then, we don't drop the packet immediately when mp_decoded is not actually decoded, but only when encryption_enabled is not true. Also we should check whether either the encrypted or decrypted version is marked as PKI encrypted to upload it to the PKI topic.

Copy link
Contributor

@ianmcorvidae ianmcorvidae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two thoughts that are potentially just nitpicking, but I think this looks good regardless.

src/mqtt/MQTT.cpp Outdated Show resolved Hide resolved
src/mqtt/MQTT.cpp Show resolved Hide resolved
@thebentern thebentern merged commit d55c08d into meshtastic:master Oct 10, 2024
45 checks passed
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.

3 participants