You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a #[patina_test] function in patina-dxe-core-qemu that asserts the product invariant: drive erase must not corrupt the boot partition once it's locked.
Read the BP via the NVMe Pass-Thru BPRSEL/BPMBL path; hash the contents → H_pre.
Call patina_boot::partition::lock_partition_write on the BP device path.
Add a
#[patina_test]function inpatina-dxe-core-qemuthat asserts the product invariant: drive erase must not corrupt the boot partition once it's locked.H_pre.patina_boot::partition::lock_partition_writeon the BP device path.H_post.H_pre == H_post.Validates the SRE-product invariant: an end user wiping their drive must still be recoverable through the locked SRE recovery image.
The test is intentionally end-to-end. Bugs it catches that the unit test misses:
Depends on: BPWPS rejection unit test (sibling issue) + #57 implementation + a real BP device-path resolver.