Commit 8d2cb78
committed
Add ChangePassword API method
Add support for changing the device password on an initialized BitBox02.
Changes:
- Add ChangePasswordRequest protobuf message to bitbox02_system.proto
- Add change_password field to Request oneof in hww.proto
- Implement ChangePassword() method in system.go
- Add firmware version check (requires v9.25.0+)
- Add status validation (device must be StatusInitialized)
- Add TestSimulatorChangePassword test coverage
- Regenerate protobuf Go files
The ChangePassword() method validates device state and firmware version
before initiating the password change workflow on the device.1 parent c2ba9af commit 8d2cb78
File tree
17 files changed
+173
-70
lines changed- api/firmware
- messages
17 files changed
+173
-70
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments