Re: installer: proper disk crypto passphrase prompt loop

2023-08-15 Thread Andrew Hewus Fresh
On Tue, Aug 15, 2023 at 09:08:44AM +, Klemens Nanni wrote: > On Wed, Aug 02, 2023 at 11:51:09AM +, Klemens Nanni wrote: > > An alternative approach could be a new bioctl(8)) flag > > -K Keep prompting until new and re-typed passphrases match. > > to repeat the prompt (during inter

Re: installer: proper disk crypto passphrase prompt loop

2023-08-15 Thread Klemens Nanni
On Wed, Aug 02, 2023 at 11:51:09AM +, Klemens Nanni wrote: > An alternative approach could be a new bioctl(8)) flag > -K Keep prompting until new and re-typed passphrases match. > to repeat the prompt (during interactive creation only) until match or ^C: > > # ./obj/bioctl -K -

Re: installer: proper disk crypto passphrase prompt loop

2023-08-10 Thread Klemens Nanni
On Wed, Aug 02, 2023 at 11:38:57AM +, Klemens Nanni wrote: > This needs "bioctl: do not confirm new passphrases on stdin" on tech@. > > Current code tries thrice to get matching passphrases before aborting; > simple enough to get the feature going, but also due to code limitations. > > One po

Re: installer: proper disk crypto passphrase prompt loop

2023-08-02 Thread Klemens Nanni
On Wed, Aug 02, 2023 at 02:38:57PM +0300, Klemens Nanni wrote: > This needs "bioctl: do not confirm new passphrases on stdin" on tech@. > > Current code tries thrice to get matching passphrases before aborting; > simple enough to get the feature going, but also due to code limitations. > > One po

installer: proper disk crypto passphrase prompt loop

2023-08-02 Thread Klemens Nanni
This needs "bioctl: do not confirm new passphrases on stdin" on tech@. Current code tries thrice to get matching passphrases before aborting; simple enough to get the feature going, but also due to code limitations. One possible fix is to let the installer (not bioctl) prompt the passphrase like