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

[Feature Request]: Crypto/Channel drop when new device connected #3235

Closed
BlackAvenger001 opened this issue Feb 16, 2024 · 3 comments
Closed
Labels
enhancement New feature or request low-priority Possibly something we'll consider in the future but doesn't serve the core use-cases or problematic requires-protos A change in device that requires changes to protobufs

Comments

@BlackAvenger001
Copy link

Platform

NRF52, ESP32

Description

I'm requesting a tamper safety that drops Keys/Channels/or even does a full device wipe.

Something like a switch in the settings that when set to 'ON' would make it so when a new/different device connects via Bluetooth or serial it just dumps Crypto or even channels all together. You could set that switch to 'OFF' via your main phone/device if you wanted to connect it to something else to do some more tweaking, but this would protect Channels and Keys from being compromised if a device is lost or stolen.

The setting could potentially have options of whether to wipe the entire device or just the channels/keys.

@BlackAvenger001 BlackAvenger001 added the enhancement New feature or request label Feb 16, 2024
@thebentern thebentern added the requires-protos A change in device that requires changes to protobufs label Feb 17, 2024
@thebentern
Copy link
Contributor

There is no way of identifying the serial host. This would have to be limited to bluetooth and possibly tcp based phone API connections

@thebentern thebentern added the low-priority Possibly something we'll consider in the future but doesn't serve the core use-cases or problematic label Feb 17, 2024
@BlackAvenger001
Copy link
Author

BlackAvenger001 commented Feb 17, 2024

If there is no way of identifying serial host then the 'ON' switch in settings could initiate the drop/wipe when any device connected via serial. This would still allow your trusted person to carry the device (and use via BT pairing) but if it was lost or stolen then it would reset the next time someone else connected to it.

@garthvh
Copy link
Member

garthvh commented Feb 17, 2024

There is already a protobuf for this, you can build whatever you want https://github.com/meshtastic/protobufs/blob/5f28be497a5518334c86378335e8ffcd177ed661/meshtastic/admin.proto#L318

@garthvh garthvh closed this as not planned Won't fix, can't repro, duplicate, stale Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low-priority Possibly something we'll consider in the future but doesn't serve the core use-cases or problematic requires-protos A change in device that requires changes to protobufs
Projects
None yet
Development

No branches or pull requests

3 participants