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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Mon Feb 27 05:02:57 PST 2023


Issue #3028 has been updated by liweitianux.

Status changed from In Progress to Resolved
% Done changed from 0 to 100

Fixed in master and 6.4 branches.

Thanks tuxillo for the initial patch.

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

* Author: liweitianux
* Status: Resolved
* 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