Bug 681290 - Can't decrypt filesystem using non-ascii letters
Summary: Can't decrypt filesystem using non-ascii letters
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: plymouth
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedBlocker https://fedoraproject...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-01 17:12 UTC by Kamil Páral
Modified: 2011-03-07 18:43 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-07 13:07:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kamil Páral 2011-03-01 17:12:53 UTC
Description of problem:
I have installed F15 Alpha RC2 using Czech language and Czech (QWERTZ) layout. I encrypted filesystem with passphrase "šampónek". Installation finished ok. After reboot, I'm asked for passphrase, but the input field freezes as soon as I hit letter š. I have tried several times. Ascii letters are entered ok, but as soon as I hit š letter, the whole input freezes and I have to reboot.

Version-Release number of selected component (if applicable):
plymouth-0.8.4-0.20110209.2.fc15.i686 (I guess, can't boot the system)

How reproducible:
always

Steps to Reproduce:
1. follow description

Comment 1 Ray Strode [halfline] 2011-03-01 17:45:59 UTC
if you boot with plymouth.debug on the kernel command line and remove rhgb from the kernel command line, does anything interesting get printed to the console when you hit š ?

Comment 2 Kamil Páral 2011-03-02 12:16:23 UTC
Nothing interesting gets printed out, it just freezes.

You should be able to easily reproduce it by booting with "KEYTABLE=cz-us-qwertz" option on kernel cmdline and then hitting "3" in the password field. Most of special czech characters (ěščřžýáíé) are located on US-layout keys 2..0 (I don't mean numpad).

Some other characters apart from 'š' do work (they print out a star), although a little weirdly - you have to press them twice. 'š' kills it.

Comment 3 Vitezslav Humpa 2011-03-02 16:19:09 UTC
I report the same issue when testing this on real HW[1] (previously this bug occurred on KVM machine). Used the same very same steps, layout and password "šampónek" as kparal before.

[1] http://www.smolts.org/client/show/pub_a64408ed-c828-4305-95f5-bfbae42dce11

Comment 4 Vitezslav Humpa 2011-03-02 17:06:17 UTC
Confirmed that the problem occurs with slovak(querty) layout as well, where the "š" character can by typed properly, however the "ó" character cannot be typed as that is typed by pressing the "´" key first and followed by "o" afterwards. However "´" key does register on its own, thus ending up with two separate characters.

I am not sure whether English layout isn't active instead, as that would explain this behavior well. KEYTABLE=sk-querty is passed to kernel on boot though.

Comment 5 Adam Williamson 2011-03-02 22:19:15 UTC
vita: is it just characters which have to be composed with dead keys that fail? or is it more complex than that?

Comment 6 Adam Williamson 2011-03-02 22:23:43 UTC
Discussed at the go/no-go meeting of 2011-03-02. Agreed this is not a blocker; the criteria do not cover keymap issues well, we will address that, but the group generally agreed the impact of this is too limited and the workarounds are sufficient. we will document this and the workarounds.

Comment 7 Vitezslav Humpa 2011-03-03 12:33:38 UTC
I agree that this is not an Alpha blocker. I don't think that too many use national characters in disk encryption password.

However there is also an issue also when people use non-alphanumeric ASCII characters ('#', '$', etc.) on non-english layouts, there was a problem with such a password reported by my cubicle neighbour. Also likely not an Alpha blocker, but I'll investigate this as this would likely be an unpleasant bug in later releases.

Comment 8 Harald Hoyer 2011-03-04 07:05:44 UTC
Does this update fix your issues?
https://admin.fedoraproject.org/updates/dracut-008-7.fc15

You have to issue:

# dracut -f 

after installation

Comment 9 Kamil Páral 2011-03-07 13:07:43 UTC
(In reply to comment #8)
> Does this update fix your issues?
> https://admin.fedoraproject.org/updates/dracut-008-7.fc15

It really does! The problem seems to be fixed completely - czech characters work in password, as single letters (š) or as dead keys combos (ó).

Vitezslav, if you can still reproduce this bug after the update, please reopen the bug. It works for me now.

Comment 10 James Laska 2011-03-07 18:38:58 UTC
Kparal and vhumpa, can you add bodhi karma to https://admin.fedoraproject.org/updates/dracut-008-7.fc15 ?

Comment 11 James Laska 2011-03-07 18:39:41 UTC
(In reply to comment #10)
> Kparal and vhumpa, can you add bodhi karma to
> https://admin.fedoraproject.org/updates/dracut-008-7.fc15 ?

Apologies, scratch that, the update is already in stable.


Note You need to log in before you can comment on or make changes to this bug.