Skip to content

feat: add root password reset recovery firmware - #38

Merged
massif-01 merged 1 commit into
password-reset-firmwarefrom
root-password-reset-firmware
Jun 11, 2026
Merged

feat: add root password reset recovery firmware#38
massif-01 merged 1 commit into
password-reset-firmwarefrom
root-password-reset-firmware

Conversation

@massif-01

Copy link
Copy Markdown
Member

Summary

  • Add an app-only root password reset firmware mode.
  • Reset only NVS key ts_auth/cred_root to the default root password rm01.
  • Keep admin password, network settings, certs, SSH keys, and other NVS data untouched.
  • Add a shared auth credential layout component with static ABI checks.
  • Add tools/build_root_reset.sh and documentation for OTA/manual serial recovery.

Important Scope

This PR targets password-reset-firmware intentionally. It must not be merged to main until the recovery workflow is explicitly accepted.

Verification

  • git diff --check
  • ROOT_PASSWORD_RESET_VERSION=9.9.9 ./tools/build_root_reset.sh
  • ./tools/build.sh --fresh
  • Verified root reset build links only main/root_password_reset_main.c and ts_auth_layout among TianShanOS components.

Release Asset Prepared

  • build-root-reset/TianShanOS-RootReset-v9.9.9.bin
  • Project version: 9.9.9-root-reset.135335.43be1c
  • SHA256: e868636208a9605bc595bc1c4c397535985031a43026d4c128b9a4412d302039

@massif-01
massif-01 merged commit 4d478af into password-reset-firmware Jun 11, 2026
massif-01 added a commit that referenced this pull request Jun 15, 2026
* feat: add root password reset recovery firmware

* feat: add root password reset recovery firmware (#38) (#39)

* Restore admin in root reset firmware
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.

1 participant