Repository navigation
[test] add additional SD tbor command fuzz targets - #783
David Zimmermann (zimmy87) wants to merge 9 commits into
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The remote-restore fuzzer incorrectly accepts driver failures as expected mutation rejections.
1 open finding
What changed in this PR
Adds fuzz coverage for security-domain TBOR sealing-key generation and backup restoration flows.
Changes:
- Adds three stateful SD command fuzz targets.
- Exercises valid requests and mutations across sessions, policies, evidence, and backups.
- Registers the new fuzz binaries.
| File | Description |
|---|---|
fuzz/Cargo.toml |
Registers three fuzz targets. |
fuzz/fuzz_targets/common.rs |
Formatting-only policy construction change. |
fuzz_tbor_sd_sealing_key_gen.rs |
Fuzzes sealing-key generation. |
fuzz_tbor_sd_restore_remote_backup.rs |
Fuzzes remote backup restoration. |
fuzz_tbor_sd_restore_peer_backup.rs |
Fuzzes peer backup restoration. |
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The remote-backup fuzz target contains an extra closing brace that prevents compilation.
0 open findings
1 resolved since last review
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The remote-backup fuzz target has an extra closing brace that prevents compilation.
0 open findings
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
…e/azihsm-sdk into user/v-davidz/add_tbor_sd_2
There was a problem hiding this comment.
🟢 Approval recommended
The new targets consistently model command prerequisites, expected failures, and cleanup without identified correctness issues.
0 open findings
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>


No description provided.