Add use_aead field to ChannelSettings for AES-CCM channel encryption#868
Open
matutetandil wants to merge 1 commit intomeshtastic:masterfrom
Open
Add use_aead field to ChannelSettings for AES-CCM channel encryption#868matutetandil wants to merge 1 commit intomeshtastic:masterfrom
matutetandil wants to merge 1 commit intomeshtastic:masterfrom
Conversation
Add bool use_aead = 8 to ChannelSettings message to support optional AES-CCM authenticated encryption on PSK channels. When enabled, messages include a 12-byte authentication tag that prevents forgery and bit-flipping attacks. Defaults to false (standard AES-CTR). Part of firmware#4030.
|
|
This was referenced Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bool use_aead = 8to theChannelSettingsmessage inchannel.prototrue, messages include a 12-byte auth tag preventing forgery and bit-flippingfalse(standard AES-CTR encryption, no behavior change)Context
This field is required by the firmware implementation of AEAD for PSK channels (firmware#4030). Design validated by @pqcfox (applied cryptographer).
Parameters: 12-byte auth tag, no CTR fallback on AEAD-enabled channels, experimental labeling.
The companion firmware PR will be submitted against
meshtastic/firmwareonce this protobuf change is available.Test plan
protocwithout errorsmodule_settings = 7)falsepreserves backward compatibility — existing nodes unaffected