- Joined
- Aug 17, 2018
Wayland doesn't handle keyboard input at all. So it doesn't do it better - it doesn't do anything at all.You do realize every X11 application can read keystrokes from every other X11 application? Even the first versions of Windows was more secure than that. It's not "strange" that ridiculously insecure apps need some rearchitecting, it's exactly what is needed.
Any compositor has to handle it themselves and is usually based on libinput. Which you can also use with Xorg.
Also, every system I've seen gives the desktop user read access to the raw input device nodes, so you can completely bypass X or Wayland to capture all input.
The article is also wrong, made by someone to push their Qube shit.
Xorg actually does have security features to restrict that - but no distro as far as I know activates it by default since capturing global keyboard inputs is actually a useful feature, how do you think global hotkeys work?
And SELinux sandbox does indeed work. It's right in the first comment but the author refuses to correct her post and cries about how it's not Qubes.
You can also do things like nested X servers to protect against this.
And no the first versions of Windows aren't more secure. Vista with UAC has a little bit of protection but it doesn't do anything to stop capturing from a window with the same privileges. It doesn't stop a keylogger from capturing your credit card number you enter in your browser.
Neither does OS X.