News for hackers. Stuff that matters.
Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by sp332 on Tuesday March 03, 2020 @12:28PM (#22476609)
The screen-grabbing app would have to interface with the compositor instead of the display server. For example, krfb is adding Wayland screen sharing support with KDE.
Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by jandrese on Tuesday March 03, 2020 @03:09PM (#22478286)
Is this better from a security standpoint? Does the compositor verify clients in a more secure fashion? Presumably screenshotting is still a thing on Wayland so this has to be a solved problem.
Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by kelnos on Wednesday March 04, 2020 @02:23AM (#22481830)
The idea is that the compositor can then pop up a dialog saying "App X wants to record your screen. Allow?"
Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by sp332 on Wednesday March 04, 2020 @09:49PM (#22490494)
It could also limit recording to certain windows, or heck even redraw the whole screen any way it wants, like pretending sensitive windows aren't there.
Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by Bnshsysjab on Tuesday March 03, 2020 @04:45PM (#22479013)
The point is apps can’t grab other apps input/output. If you run the app in an otherwise secure manner (eg execute in a perfect security chroot/container).

A malicious application on your host can still do anything at the executing privilege level (read .ssh, inject malware into .bashrc) but can’t sniff your gksudo password

Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by michaelmrose on Tuesday March 03, 2020 @09:42PM (#22480770)
Why would you assume it's a solved problem? Basically every compositor has to implement this feature.
Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by Bnshsysjab on Tuesday March 03, 2020 @04:41PM (#22478983)
Does this lead to a more fragmented application space? If each compostor required its own screen grabbing tool, and each DE has its own compostor?
Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by PlutoIsAPlanet on Tuesday March 03, 2020 @05:10PM (#22479204)
Whilst backend implementations are going to be different per-compositor, they're exposed as freedesktop apis so tools shouldn't need to be adjusted for each one.
Re:Firefox 75 on Wayland now to have full WebGL, working VA-... by Bnshsysjab on Thursday March 05, 2020 @04:36PM (#22498611)
I respect what your saying, but I’ve seen that model tried and failed multiple times