[DragonFlyBSD - Bug #3028] (In Progress) installer: confusion of set/get disk encryption passphrase dialogs

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Fri Jun 3 17:13:07 PDT 2022


Issue #3028 has been updated by tuxillo.

File fn_get_passphrase.patch added
Status changed from New to In Progress
Assignee set to tuxillo

Maybe something like this would work? (Untested!!)

----------------------------------------
Bug #3028: installer: confusion of set/get disk encryption passphrase dialogs
http://bugs.dragonflybsd.org/issues/3028#change-14337

* Author: liweitianux
* Status: In Progress
* Priority: Normal
* Assignee: tuxillo
* Category: Other
* Target version: 6.4
* Start date: 2017-04-14
----------------------------------------
Currently, the *installer* uses the *same* dialog to "set" and "get" the passphrase for disk encryption, which causes some confusion, as well as a bit inconvenience.

The followings are the 2 cases to come across the confusing "get" passphrase dialog:

1. installation finished, begins to configure the system, which will ask the disk encryption passphrase;
2. boot into the LiveCD, and use it to "Configure an installed System" (see attached screenshots).

The corresponding code is at "usr.sbin/installer/dfuibe_installer/fn_configure.c" with the function "fn_get_passphrase()".  It may be better to create separate functions for the "set" and "get" passphrase dialogs, respectively.


Cheers,
Aly


---Files--------------------------------
dfly_4.8_encryption_passphrase.png (18.4 KB)
fn_get_passphrase.patch (5.56 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list