Download raw body.
[patch] Autoinstall with disk encryption
Stuart Henderson <stu@spacehopper.org> wrote: > On 2024/02/08 11:07, Klemens Nanni wrote: > > + [pP]*) > > + while :; do > > + ask_password 'Passphrase for the root disk?' > > + [[ -n "$_password" ]] && break > > + echo 'The passphrase must be set.' > > + done > > + PASSFILE=/tmp/i/passfile > > + (umask 077 && print -r -- "$_password" >$PASSFILE) > > This is fairly distasteful, OpenBSD usually goes out of its way to > even wipe sensitive things like this even from memory in a single > process after use. Does this matter? It is /tmp on the bsd.rd
[patch] Autoinstall with disk encryption