[wizard] 4-digit passcode code gets set incorrectly as "passphrase" on first run when flashing with --password

Bug #1389771 reported by Timo Jyrinki
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

After setting the 4-digit passcode on the first run, the user encounters she needs to type the passcode with the normal qwerty keyboard instead every time when unlocking the phone, instead of the easy passcode entering.

Reproduced once again after flashing my mako with --bootstrap from mako rtm 120 (=krillin rtm 143).

Workaround: go to Lock security settings, change to 4-digit passcode manually.

description: updated
Revision history for this message
Michael Terry (mterry) wrote :

I haven't been able to reproduce, either with manually re-enabling the wizard (and making sure to empty my password with "sudo passwd -d phablet" before rebooting) or by flashing with --bootstrap. With image krillin/rtm 143.

How reliable is this bug for you?

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

This happens to me every time on mako, but maybe it's something that comes from the flash parameters:

ubuntu-device-flash --channel=ubuntu-touch/ubuntu-rtm/14.09-proposed --developer-mode --password=0000 --bootstrap

That could be the most likely explanation? I only use the --password because at one time ogra told people to use that. Maybe it sets the passphrase and the wizard simply doesn't change it?

Feel free to set this to Incomplete or whatever. I don't care if it only happens to me / developer mode users, I just wanted to be sure it doesn't happen on default configuration.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Confirming that bootstrap flashing without "--developer-mode --password=0000" does not have this issue. Feel free to mark this as Invalid, unless you want to fix the "CI mode" use case.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

To be exact, when flashing with --developer-mode --password=0000, there is no selection given about which kind of security is used, but it does ask for the 4 digit code (twice). Ie it skips the screen one would select passphrase or passcode.

Changed in ubuntu-system-settings (Ubuntu):
status: New → Confirmed
affects: ubuntu-system-settings (Ubuntu) → unity8 (Ubuntu)
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Nowadays the wizard lets you select the 4-digit pin code and set it, but it's actually still the passphrase set during flashing. For ease of use purposes, I now everytime go to system settings to really switch from 0000 passphrase to 0000 4-digit passcode manually.

Revision history for this message
Michael Terry (mterry) wrote :

Timo, looks like I never actually explained what's going on behind the scenes in this bug. There are two things going on in your workflow:

1) ubuntu-device-flash treats the --password argument as a passphrase always. Ideally it would inspect and see if it looks like a PIN, then set it as such.

2) The wizard can't override an existing password for the user. Ideally if a password was already set, those pages would be skipped or grayed out or something.

So that's two poor usability issues combining to be confusing when flashing with --password. But it's not a bug normal users see, just developers. I'd argue both could/should be fixed. But they just haven't been a priority.

summary: [wizard] 4-digit passcode code gets set incorrectly as "passphrase" on
- first run
+ first run when flashing with --password
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Yep, certainly not a priority, just nice to have.

Changed in unity8 (Ubuntu):
importance: Undecided → Wishlist
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.