Skip to content

Bootsmith 1.0.1

Choose a tag to compare

@mesquitadev mesquitadev released this 06 Sep 19:58
· 1 commit to main since this release

Fixes the write path, found by exercising it against a real block device.

  • authopen -o flags does not combine with -w: the number was parsed as a second filename and the open failed.
  • The -w form, which copies stdin, kills the process with SIGPIPE if authopen exits early — a crash with no message in a GUI app. Bootsmith now receives the descriptor over SCM_RIGHTS and 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.app

Grant 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.