Skip to content

Conversation

@jp-bennett
Copy link
Collaborator

Very early preview of working XEdDSA packet signing.

@jp-bennett jp-bennett added enhancement New feature or request high-priority Issues that affect core functionality or are "show stoppers" bugfix Pull request that fixes bugs labels Aug 11, 2025
@lkosson
Copy link

lkosson commented Aug 12, 2025

With each subsequent NodeInfo update requiring a proper signature, wouldn't this feature require #5007 to be deployed as well? Without it, resetting a node to factory defaults and/or regenerating a key pair will not only prevent DMs as in abovementioned discussion, but also block changes to shortName / longName, forcing user to use old (semi-broken) identity.

@jp-bennett
Copy link
Collaborator Author

With each subsequent NodeInfo update requiring a proper signature, wouldn't this feature require #5007 to be deployed as well? Without it, resetting a node to factory defaults and/or regenerating a key pair will not only prevent DMs as in abovementioned discussion, but also block changes to shortName / longName, forcing user to use old (semi-broken) identity.

I think we have a good opportunity to do exactly this: Make the public Key the new primary identifier.

jp-bennett and others added 3 commits August 13, 2025 15:39
* Generate a new node identity on key generation

* Fixes

* Fixes

* Fixes

* Messed up

* Fixes

* Update src/modules/AdminModule.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/mesh/NodeDB.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Figured it out!

* Cleanup

* Update src/mesh/NodeDB.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/mesh/NodeDB.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/modules/AdminModule.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jp-bennett
Copy link
Collaborator Author

jp-bennett commented Aug 15, 2025

TODO: make sure the packetID is included in the signature, and verified on receive
or use the first half of the signature as the source of the currently randomized portion of the packetID?

@jp-bennett jp-bennett changed the base branch from master to develop August 21, 2025 13:53
@github-actions github-actions bot added the Stale Issues that will be closed if not triaged. label Oct 13, 2025
@github-actions github-actions bot closed this Oct 22, 2025
@thebentern thebentern reopened this Oct 22, 2025
@thebentern thebentern added triaged Reviewed by the team, has enough information and ready to work on now. and removed Stale Issues that will be closed if not triaged. labels Oct 22, 2025
@weebl2000
Copy link
Contributor

A total of 66 bytes per message seems like way too much imho.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Pull request that fixes bugs enhancement New feature or request high-priority Issues that affect core functionality or are "show stoppers" triaged Reviewed by the team, has enough information and ready to work on now.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants