github doug445/AsahiLocker v2.2.0
AsahiLocker 2.2.0

one hour ago

AsahiLocker 2.2.0: the strongest default, in one command

Maximum strength by default

New volumes now get argon2id at 4 GiB x 10 iterations unless you choose otherwise. 4 GiB is the most memory cryptsetup lets a keyslot cost, so every guess at your passphrase has to fill 4 GiB, ten passes over. A 24 GB GPU holds about six guesses at once, and each one is 5x the work of a stock luksFormat on the same Mac. You pay it once per boot (about 9.5 s on an M2 Max); an attacker pays it for every guess. moderate and fast are still one choice away.

Encrypt in one command

sudo ./AsahiLocker/bin/luks-deploy.sh --list
sudo ./AsahiLocker/bin/luks-deploy.sh /dev/nvme0n1p6 --defaults
  • --list shows every Asahi install on the Mac and its state: not encrypted, encrypted, encryption interrupted, or the system you are running.
  • Naming the root partition takes its /boot and EFI from that install's own /etc/fstab, matched by UUID. That's proof rather than a guess from partition order, and it means no partition menus.
  • --defaults (-y) takes the recommended answer to every question that has one: run the btrfs check, use the aggressive KDF, enrol a recovery key. What protects you stays: you type ENCRYPT, confirm Caps Lock is off, and choose the passphrase.

luks-mount.sh: maintenance for your other installs

sudo ./AsahiLocker/bin/luks-mount.sh list
sudo ./AsahiLocker/bin/luks-mount.sh chroot /dev/nvme0n1p6

mount unlocks an install if it's encrypted and mounts its root, /home, /boot and EFI, the last two taken from its own fstab. chroot opens a shell inside it, then unmounts everything and locks it again when you leave. umount and status round it out. It refuses the partitions of the running system. It's also in the RAM rescue, as luks-mount.

Also

  • Recovery key: the question now defaults to yes unless the header already has a second keyslot. Before, a configuration-only run after an interrupted encryption defaulted to no, which could leave a volume with no recovery key.
  • KDF timings re-measured on an M2 Max (cryptsetup 2.8.8, median of five, KDF alone): paranoid 8.60 s, aggressive 7.26 s, moderate 3.21 s, fast 2.04 s. Boot runs about 1.3x that. The docs now show both, and the profile-prompt screenshot shows the new default.
  • README now opens with the security, followed by a shorter Quick start.

Tested end to end in a KVM guest running the official Fedora Asahi Remix 45 image: the full --defaults run passed the 12-point gate and booted encrypted, and luks-mount worked on both a plain and an encrypted install. All CI test suites pass.

Don't miss a new AsahiLocker release

NewReleases is sending notifications on new releases.