Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password inputs don't respect the loaded keymap when using diacritics (using pt-latin1, supect others will have the same fate) #3160

Open
BrunoMSantos opened this issue Feb 5, 2025 · 1 comment

Comments

@BrunoMSantos
Copy link

Which ISO version are you using?

2025/02/01

The installation log

I ended up not using archinstall in the end for other reasons and I didn't manage to unencrypt the SSD afterwards nor did I remember to check the log before unmounting / rebooting / reinstalling.

describe the problem

Description of the issue

Trying the guided install for the 1st time, and loadkeys pt-latin1 before starting, I noticed that SSD and account passwords with diacritic characters would not register correctly. I noticed it only when trying to boot the system afterwards and finding I couldn't.

By characters with diacritics, I mean those one can input directly in one/two strokes with certain layouts: ç, á, ã, â, ä and the like.

At the 2nd attempt (imagining I had mistyped and not being able to guess exactly how the password had been clobbered) I could actually see 2 '**' when inputting a 'single' character with a diacritic, which does look suspicious. Maybe a unicode canonization issue, converting between different byte representations? Didn't look at the code.

Using passwords without diacritics worked fine while still respecting the keyboard layout otherwise.

Beware I was battling some sporadic crashes that I haven't had the time to investigate and had to restart the process several times for each successful attempt. I'll try to update and create issues for the crashes, but realistically, I'll only look at this again in a couple of months or so.

@svartkanin
Copy link
Collaborator

Looks like a duplicate of #3155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants