CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2023/10/07 06:20:10
Modified files: sbin/bioctl : bioctl.c Log message: Retry on empty passphrase They must not be empty, or else creation/unlock fails (and boot loaders would not be able to abort and drop back to the boot> prompt). [-p passfile] handles this with "invalid passphrase length", so align the interactive prompt and retry there. -s remains a one-shot whilst getting a better error message. This is user friendlier and fixes the last installer "bug" on my list wrt. disk encryption where hitting Enter twice at the passphrase prompt would abort bioctl(8) and thus the installation. OK deraadt