Peter_22@xxxxxx wrote: > ubuntu@ubuntu:~$ sudo read x ; echo -n ${x} | od -Ax -tx1 - > sudo: read: command not found > 000000 Reading a line from stdin does not need elevated powers. Drop the sudo. > Knoppix 5.01 Live DVD shows: > _Console_: > kbd_mode -> ASCII > read x ; echo -n ${x} | od -Ax -tx1 - > "mue" "euro" "ue" -> euro sign is displayed as "e" > 000000 b5 65 fc ISO8859-1 or ISO8859-15 encoding. Euro mutated to "e". > changing to UTF-8 > read x ; echo -n ${x} | od -Ax -tx1 - > "mue" "euro" "ue" -> none is displayed correctly > 000000 c2 b5 65 c3 bc UTF-8 (unicode) encoding. Euro mutated to "e". > _X-Window_: > kbd_mode -> Scanmode (RAW) > read x ; echo -n ${x} | od -Ax -tx1 - > "mue" "euro" "ue" -> all are displayed correctly > 000000 b5 a4 fc ISO8859-15 encoding. Correct euro hex code (a4). > Dumpkeys >/boot/usb/default.kmap and rootkey were made from Knoppix > X-Window terminal. Terminal displays all special characters. dumpkeys saves text console mappings. It should not matter whether you run it from console or X windows. > Encryption was done from Knoppix console. So you ended up using mutated "e" for euro symbol. > Is there more I can do? Yes. Avoid using euro symbol in passphrases. Summary: 1) Knoppix text console in ASCII mode mutates euro symbol to "e". 2) Knoppix text console in UTF-8 mode mutates euro symbol to "e". 3) Knoppix X windows uses true ISO8859-15 encoding for euro symbol. 4) SUSE text console in UTF-8 mode mutates euro symbol to unicode "¤". 5) SUSE X windows uses true UTF-8 unicode encoding for euro symbol. You should be able to decrypt your key file on any working setup that is using ISO8859-1 or ISO8859-15 encoding, but instead of typing euro symbols to your passphrase, you need to type e in place of euro. For SUSE text console, you should be able to decrypt your key file using these commands: kbd_mode -a loadkeys /boot/usb/default.kmap gpg --decrypt </boot/usb/rootkey.gpg Where /boot/usb/default.kmap is that strange keyboard layout from Knoppix. -- Jari Ruusu 1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9 DB 1D EB E3 24 0E A9 DD - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/