-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screencopy security #5118
Comments
Duplicate of #2333 |
So, the idea is to run xdg-desktop-portal-wlr and grim from sway itself, via exec, right? |
xdg-desktop-portal-wlr is unrelated to our plans for security. |
I mean, it's also a user of screencopy protocol, and if the proposed security will be in place, xdg-desktop-portal-wlr will not be able to access screencopy manager, if I understand correctly - only if it will be run from sway's exec. |
It's not yet clear how security will be implemented. We'll see. |
Got it. Is there a way to completely disable screencopy/dma-buf, for now? |
I've been wondering about this. I think it would make sense to implement something like this in our config file. A rogue client that has write access to the config can do bad stuff anyway, like appending commands to |
@ddevault has NACKed a config file command to change this, he wants to wait for the broader Wayland security story to be fixed before. A build option could be added instead. |
To elaborate, I don't want to add new commands or config options or some similar such before we know how security as a whole is going to play out, because we'll have to support them forever and it's unlikely that we'd come up with a solution now that doesn't end up being inconsistent with our later work. Build option to disable screencopy et al would be a great interim fix, though. |
I've applied custom patch, for now:
And yeah, build option would much better, as it will be more future-proof |
Hello! I've realized that sway is breaking part of security model of Wayland, where other applications cannot see each other's windows. Sway is using screencopy manager from wlr, which allows any application, supporting screencopy protocol, to capture any part of the screen.
So, is it possible to allow user to restrict screencopy? Preferably with some dialog window, asking user's permission.
The text was updated successfully, but these errors were encountered: