-
Notifications
You must be signed in to change notification settings - Fork 21
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
Whitelist properties and peer calls #60
base: main
Are you sure you want to change the base?
Conversation
This seems fine in general but maybe explicitly list all the methods/props/signals that should become available in case dbus later gets some feature that we really shouldn't expose to sandboxes. |
How should |
This is a misleading commit message: what it immediately made me think was "what? we shouldn't allow getting the properties of arbitrary peers, they might be secret!" What I think you mean is more like: "Allow Properties, Peer and Introspection calls to the message bus itself" and that's a more reasonable thing to allow. But, as @swick suggested, it's entirely possible that the message bus could gain properties that we will sometimes want to hide from bus clients (for example, imagine if the list of all owned names was a property), so I think this needs to be more nuanced than "allow everything". Allowing Allowing Allowing I am uneasy about allowing Perhaps it would be better for xdg-dbus-proxy to special-case Properties and rewrite the reply:
I don't think we should allow other properties or |
Sorry, no, that's not a use-case. What's an example (or examples) of a real application needing to get this information about the message bus? I think this is an example of something that I often find myself saying: instead of jumping directly to proposing a solution in a PR and never actually stating the problem, it's often better to start with a solution-neutral problem statement reported as an issue, so that potential solutions can be assessed against whether they solve it (without causing other bad effects). |
It is expected that this is available