[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SuSE 10.2 and LOADNATIONALKEYB=1
> Did you encrypt your key file in X windows or text console? As is shown
> above, X and text console output different hex codes for euro symbol when
> keyboard is in UTF-8 mode. If you encrypted your key file in UTF-8 X
> windows
> and attempted to decrypt it in UTF-8 encrypted-root-initrd boot text
> console, then it is guaranteed to fail.
Knoppix 5.01 Live DVD shows:
_Console_:
kbd_mode -> ASCII
read x ; echo -n ${x} | od -Ax -tx1 -
123
000000 31 32 33
000003
read x ; echo -n ${x} | od -Ax -tx1 -
abc
000000 61 62 63
000003
read x ; echo -n ${x} | od -Ax -tx1 -
"mue" "euro" "ue" -> euro sign is displayed as "e"
000000 b5 65 fc
000003
changing to UTF-8 with kbd_mode -u provides the same results, only special characters differ:
read x ; echo -n ${x} | od -Ax -tx1 -
"mue" "euro" "ue" -> none is displayed correctly
000000 c2 b5 65 c3 bc
000005
_X-Window_:
kbd_mode -> Scanmode (RAW)
read x ; echo -n ${x} | od -Ax -tx1 - yields the same as for the console, only special chars differ.
read x ; echo -n ${x} | od -Ax -tx1 -
"mue" "euro" "ue" -> all are displayed correctly
000000 b5 a4 fc
000003
Dumpkeys >/boot/usb/default.kmap and rootkey were made from Knoppix X-Window terminal. Terminal displays all special characters. Encryption was done from Knoppix console.
Is there more I can do?
Regard,
Peter
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/