Sources
- Unlock encrypted drives with a keyfile before asking for the password
- Unlock encrypted drives with a keyfile before asking for the password (#20457)
- review-comment by
omarchybot
- Replace Python udiskie with lightweight UDisks2 automounter
- Replace Python udiskie with lightweight UDisks2 automounter (#20412)
Earlier on 2026-11-27, dhh opened and merged omacom/omarchy#20412, committed as omacom/omarchy@fd25d608b94a. It replaces the Python udiskie daemon started at login with a small UDisks2 automounter built on gdbus monitor. The pull request reports memory use falling from about 23 MiB to about 1.8 MiB. Locked LUKS partitions are passed to the existing omarchy-drive-unlock password prompt.
That left a gap: anyone who had udiskie unlock a drive with a keyfile would now have to type the passphrase on every plug-in. omarchybot proposed omacom/omarchy#20457 to fix it, and
dhh merged it the same day as omacom/omarchy@b01e8b116044. omarchy-drive-unlock now first looks for a keyfile named after the drive's LUKS UUID under the Omarchy config directory. If there is none, or the drive refuses it, the password card appears as before. The UUID must be plain hex before it becomes part of a path, so a crafted drive header cannot point the unlock at another file.
A migration links existing udiskie keyfile rules into the new location. In omacom/omarchy#20457:discussion_r4722243204, omarchybot described a review-driven fix: the migration now works out udiskie's keyfile, ignore and automount settings per drive. Drives udiskie was told to ignore or not to automount are not linked, and neither are drives a broader rule might cover. Those are named in the update output so users can link them by hand.
