os-issue-tracker icon indicating copy to clipboard operation
os-issue-tracker copied to clipboard

Pin scrambling not enabled on profile swap

Open bootlesshacker opened this issue 2 years ago • 2 comments

When ending session on a profile without pin scrambling and attempting to login to primary profile again which has pin scrambling, pin scrambling does not seem to be enabled until after first unlock. Only observed since upgrading to 13 but not sure if issue on 12.

bootlesshacker avatar Aug 25 '22 21:08 bootlesshacker

TP1A.220624.021.2022082400

bootlesshacker avatar Aug 25 '22 21:08 bootlesshacker

Yes, it was an issue on 12. Happened to me frequently. Sometimes it also happens in reverse: the profile without pin scrambling gets it. Sometimes the buttons collapse vertically (i.e. vertical spacing between them gets reduced to none), but in Android 13 instead of that, the buttons become pill-shaped. It's weird.

andre4ik3 avatar Sep 03 '22 21:09 andre4ik3

Noticed same issue months ago. Has now become an issue since beginning to use PIN scrambling more aggressively across user profiles. Upon user profile switch, PIN scrambling not enabled on lockscreen despite being enabled in user profile settings. Seems to occur only when switching away from a user profile without PIN scrambling enabled.

inferenceus avatar Feb 26 '23 15:02 inferenceus

~~Hasn't had this issue once since upgrading to P7. Could be a P6 bug?~~

Edit: I meant PIN button size changing and glitching out. I now have PIN scramble on all profiles so this issue doesn't affect me anymore. I apologize for the confusion.

andre4ik3 avatar Mar 01 '23 20:03 andre4ik3

There's no evidence this is a device-specific issue. It's consistently reproducible on emulator. The problem is the way PIN scrambling was originally implemented.

girlbossceo avatar Mar 01 '23 20:03 girlbossceo

This occurred for me on both Pixel 4a (5G) and currently Pixel 6. Not device-specific.

inferenceus avatar Mar 01 '23 23:03 inferenceus

Could this have the same root cause as #1420 ("Double-line clock setting does not persist across profile change")? Maybe it's not a bug in the PIN scrambling feature, but rather Android isn't properly refreshing all lock screen components after a profile switch.

rustybird avatar Mar 03 '23 14:03 rustybird

Fixed in latest GrapheneOS release and now extends PIN scrambling to SIM PUK/PIN.

girlbossceo avatar Mar 14 '23 11:03 girlbossceo