firmware icon indicating copy to clipboard operation
firmware copied to clipboard

[Bug]: Heltec v4 not accepting admin key

Open ping-localhost opened this issue 1 week ago • 2 comments

Category

Other

Hardware

Heltec v4 (was not an option in the list)

Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?

  • [ ] Meshtastic UI aka MUI colorTFT
  • [ ] InkHUD ePaper
  • [ ] OLED slide UI on any display

Firmware Version

v2.7.16.a597230, flashed with a full erase.

Description

I am having issues writing an admin key to my Heltec V4. According to the CLI it is written, but it isn't actually stored.

➜  pipx run meshtastic --set security.admin_key "base64:MYPUBLICKEY" --host 192.168.200.4
Connected to radio
Adding 'base64:MYPUBLICKEY' to the admin_key list
Writing modified preferences to device
Writing security configuration to device

➜  pipx run meshtastic --host 192.168.200.4 --get security.admin_key
Connected to radio
security.admin_key: ['base64:']
Completed getting preferences

Worked fine for my other node though (a Heltec V3) and I can manage it, so I know it's not my public key/the command itself:

➜  pipx run meshtastic --host 192.168.200.3 --get security.admin_key
Connected to radio
security.admin_key: ['base64:MYPUBLICKEY']
Completed getting preferences

ping-localhost avatar Dec 09 '25 11:12 ping-localhost

I flashed the nightly firmware build and tried again, but that had the same result. Tried via USB serial as well, but no luck.

ping-localhost avatar Dec 09 '25 21:12 ping-localhost

After a reboot it seems that the USB serial variant did work, so just the HTTP variant didn't work. Very odd.

ping-localhost avatar Dec 09 '25 22:12 ping-localhost