On Fri, Jan 24, 2020 at 11:42 AM Pascal <[email protected]> wrote:

> could cryptsetup be "insensitive" to the configured keyboard layout and
> adopt/toggle the US/ASCII layout ?
> as the physical keys on the keyboard do not move ;-), the end user would
> enter the password he wants and cryptsetup would only receive ASCII
> characters...
>

The CLI tool cannot do that, as it only receives text and not actual
keypresses.

So while this would be possible in the initramfs unlocker (just delay
loadkeys until after unlocking), it wouldn't be possible when creating
volumes or changing passphrases via Xterm or SSH.

X11 programs *might* be able to do that, but I have a feeling it'd be a bit
kludgy and unreliable... And either way, it would mean a passphrase entered
via X11 couldn't be used via CLI and vice versa.

-- 
Mantas Mikulėnas
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to