fix/ephemeral-tempKey #19

Merged
faicel merged 9 commits from fix/ephemeral-tempKey into dev 2026-08-29 09:50:51 +00:00
Owner
No description provided.
- Introduced `CommandEndState::Awake` to keep the device awake for dependent commands.
- Updated several functions to accept an `end_state` parameter, allowing for more flexible command execution.
- Modified documentation to clarify the behavior of commands when the device remains awake.
- Adjusted tests to reflect changes in command expectations and device state management.
### Fixed — ephemeral TempKey ECDH after Idle

- `ephemeral_ecdh_tempkey()` now issues an explicit **Wake** after GenKey leaves the device **Idle** and before the dependent TempKey ECDH command. An idle ATECC ignores I²C command tokens until Wake; skipping Wake could leave the ECDH step unrunnable while TempKey was still valid.
- TempKey remains preserved across the Idle → Wake transition; Sleep cleanup on all exit paths is unchanged.
- README TempKey/ECDH lifecycle docs and `ephemeral_ecdh_tempkey` mock expectations updated to reflect `GenKey → Idle → Wake → ECDH → Sleep`.
update check-on-feature-branch.yml
Some checks failed
Run checks on feature branches / rust-crate-checks (push) Failing after 24s
Run checks on feature branches / checks (push) Failing after 0s
b572b4e9de
fix Clippy dead-code
All checks were successful
Run checks on feature branches / rust-crate-checks (push) Successful in 23s
Run checks on feature branches / checks (push) Successful in 0s
5d7af22634
fix
All checks were successful
Run checks on feature branches / rust-crate-checks (push) Successful in 22s
Run checks on feature branches / checks (push) Successful in 0s
6618a8f6cc
enable enable_deny
All checks were successful
Run checks on feature branches / rust-crate-checks (push) Successful in 24s
Run checks on feature branches / checks (push) Successful in 0s
b0562fc984
fix change log
All checks were successful
Validate branch flow / validate-flow (pull_request_target) Successful in 2s
Validate branch flow / validate (pull_request_target) Successful in 0s
Run checks on feature branches / rust-crate-checks (push) Successful in 22s
Run checks on feature branches / checks (push) Successful in 0s
4705fff7e6
Merge branch 'dev' into fix/ephemeral-tempKey
All checks were successful
Run checks on feature branches / rust-crate-checks (push) Successful in 22s
Run checks on feature branches / checks (push) Successful in 0s
Validate branch flow / validate-flow (pull_request_target) Successful in 2s
Validate branch flow / validate (pull_request_target) Successful in 0s
434772c6b0
faicel deleted branch fix/ephemeral-tempKey 2026-08-29 09:50:51 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
homeiot/atecc608x!19
No description provided.