Skip to content

allow set prv.key via LoRa for easier repeater id collision fixup#1054

Closed
recrof wants to merge 1 commit intomeshcore-dev:devfrom
recrof:set_prv_key_remote
Closed

allow set prv.key via LoRa for easier repeater id collision fixup#1054
recrof wants to merge 1 commit intomeshcore-dev:devfrom
recrof:set_prv_key_remote

Conversation

@recrof
Copy link
Copy Markdown
Member

@recrof recrof commented Nov 3, 2025

Remote-setting private key is crucial when operator needs to change public key of the node because of ID collision.
In case of repeater breach: setting different private key by the attacker has low gain - owner will be notified that the public key was changed as soon as repeater adverts again.

@ripplebiz
Copy link
Copy Markdown
Member

I just realised that changing the private key (ie. self_id) invalidates the ACL. For performance reasons, I decided to persist the shared_secret for each entry in the ACL.
The MyMesh::saveIdentity() method should call a (not yet written) acl.erase() method, to blow away the file.

@recrof
Copy link
Copy Markdown
Member Author

recrof commented Nov 6, 2025

@ripplebiz does that mean you'll first implement the required changes before this PR can be merged?

@recrof recrof changed the title allow set prv.key via LoRa for easier collision fixup allow set prv.key via LoRa for easier repeater id collision fixup Nov 11, 2025
@liamcottle
Copy link
Copy Markdown
Member

set prv.key is now supported via LoRa as of #1457

@liamcottle liamcottle closed this Jan 27, 2026
@recrof recrof deleted the set_prv_key_remote branch February 6, 2026 13:47
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