Bootsmith 1.0.1
Fixes the write path, found by exercising it against a real block device.
authopen -o flagsdoes not combine with-w: the number was parsed as a second filename and the open failed.- The
-wform, which copies stdin, kills the process withSIGPIPEif authopen exits early — a crash with no message in a GUI app. Bootsmith now receives the descriptor overSCM_RIGHTSand writes to it directly: no extra copy, no fatal signal, and one authorization covers both the write and the verification. - The raw node requires 512-byte alignment. An image whose size is not a multiple of 512 would fail on its final block; it is now zero-padded, and verification reads aligned and trims the excess before hashing.
Tested against a real device: an odd-sized image writes and verifies, and a corrupted sector is detected.
Install
brew install --cask mesquitadev/tap/bootsmith
xattr -dr com.apple.quarantine /Applications/Bootsmith.appGrant Full Disk Access to Bootsmith in System Settings › Privacy & Security — since macOS 13 removable volumes are protected and even root cannot open /dev/rdiskN without it.