Backport feature to show hidden passwords

Bug #1960306 reported by Łukasz Zemczak
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Invalid
Medium
Łukasz Zemczak
Focal
Fix Released
Medium
Łukasz Zemczak

Bug Description

[Impact]

Currently, while the root cause of the notorious bug LP: #1875062 is still not entirely known, certain affected users can type in an unexpected password during installation with no means to check what was actually typed in. As a semi-workaround, in jammy we have added a 'feature' to be able to temporarily show the typed in passwords for both the GTK and KDE frontends. This way users can at least double-check if the password they typed in is what was expected.

I think it's important to get this semi-workaround for 20.04.4, even though it's more of a feature than a bugfix. This way at least users have *some* means of protecting themselves. Even without this, this is a feature that is worth having.

Note to SRU members: this is essentially an UI-changing request, so it might require an ACK from the documentation teams (might need updating some installer screenshots?). So I'd understand if there is a pushback on this. However, I still think this is a feature really nice to have for .4

[Test Case]

Repeat for both Ubuntu and Kubuntu desktop:
* Download latest -proposed daily image
* Proceed with installation normally
* In partition layout, select LVM with encryption, make sure it's possible to unhide and hide the encryption password
* Further down the road, on the user configuration screen, make sure it's possible to unhide and hide the user password

[Regression Potential]

No core logic is touched, so most probable regressions are around the UI aspect of the installer. It's possible that due to an error the GTK or KDE UIs for password input will be corrupted, or logic with button press somehow messed up.

It's good to double check if password verification still works as before the change - though please note that I saw that the KDE frontend seems to be missing some icons for 'correct/incorrect password' in the LVM encrypted partition password selection even before the change.

Related branches

Changed in ubiquity (Ubuntu Focal):
status: New → In Progress
importance: Undecided → Medium
Changed in ubiquity (Ubuntu):
status: In Progress → Invalid
Changed in ubiquity (Ubuntu Focal):
assignee: nobody → Łukasz Zemczak (sil2100)
milestone: none → ubuntu-20.04.4
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Łukasz, or anyone else affected,

Accepted ubiquity into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubiquity/20.04.15.19 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ubiquity (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Tested ubiquity 20.04.15.19 using latest daily builds of Ubuntu and Kubuntu (20220211 used). Confirmed by looking at the livefs manifests that the new ubiquity version has been used for building those images. For each of the images, I ran a kvm installation, enabled LVM+encryption, confirmed that the show/hide UI was working, continued to user setup and confirmed the show/hide UI working there as well. I didn't see anything corrupted besides that.

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for ubiquity has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 20.04.15.19

---------------
ubiquity (20.04.15.19) focal; urgency=medium

  * Backport the ability to unhide passwords that are being typed-in during
    various stages of the installation (LP: #1960306).
  * Automatic update of included source packages: partman-auto
    134ubuntu13.1 (LP: #1959971).

 -- Łukasz 'sil2100' Zemczak <email address hidden> Tue, 08 Feb 2022 11:51:13 +0100

Changed in ubiquity (Ubuntu Focal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.