Load private key from SD card does not survive reboot. #306

Open
opened 2026-10-27 15:48:44 +01:00 by adam · 2 comments
Owner

Describe the bug

After "Silent change of identity/ key. (#304)", I restored private key from file on SD card.

After restoration, my public key was again the original one.

Then I rebooted.
After reboot, I had the new, silently changed, public key again -- load private key from SD card did not survive reboot.

Setting Mgmt -> Global -> Primary Disk is set to SD Card.

I would need a hotfix for this since I need my old ID back.

Which device are you using

LilyGO T-Deck Plus

Which Firmware are you using

v0.9.12.3

**Describe the bug** After "*[Silent change of identity/ key. (#304)](https://github.com/dabeani/meshcoreterm/issues/304)*", I restored private key from file on SD card. After restoration, my public key was again the original one. Then I rebooted. After reboot, I had the new, silently changed, public key again -- load private key from SD card did not survive reboot. Setting `Mgmt` -> `Global` -> `Primary Disk` is set to `SD Card`. <del>I would need a hotfix for this since I need my old ID back.</del> **Which device are you using** LilyGO T-Deck Plus **Which Firmware are you using** v0.9.12.3 <!-- github-sync-id:4581269847 -->
Author
Owner

And lost all channels (but not contacts, this time). :-(.

Broken.

And lost all channels (but not contacts, this time). :-(. Broken. <!-- github-comment-id:4614450777 -->
Author
Owner

And tried to reproduce channel loss in order to be able to write a more clear bug report, now the imported key was saved (whereas in the initial tries two times imported key did not survive reboot), and channels were not lost.

Maybe what I experienced in #286 can be related here? And #267, partially?

Broken in irreproducability as well.

Currently resigning, switching the device off and putting it in the shelf for some time. Will come back later after having recovered from acute disappointment :-|.

Addendum: Now back to work. (Did a full on-device storage wipe, re-install of M5Launcher, re-install of MC Term, in between.)

And tried to reproduce channel loss in order to be able to write a more clear bug report, now the imported key was saved (whereas in the initial tries two times imported key did not survive reboot), and channels were not lost. Maybe what I experienced in #286 can be related here? And #267, partially? Broken in irreproducability as well. Currently resigning, switching the device off and putting it in the shelf for some time. Will come back later after having recovered from acute disappointment :-|. *Addendum:* Now back to work. (Did a full on-device storage wipe, re-install of M5Launcher, re-install of MC Term, in between.) <!-- github-comment-id:4614479661 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/meshcore#306