Skip to content
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

Better default dbus policy #249

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

alexlarsson
Copy link
Contributor

The existing policy allowed anyone to send messages to hirte, which isn't ideal. It also isn't a huge issue as the default policy disallows sending any method calls even if you are allowed to send messages in general.

However, it seems better to disallow messages in general, and just open up a few specific methods. This change allows the basic introspection but nothing more.

This is a bit more limited than what the systemd configuration uses, as that allows anyone to use a lot of read-only APIs. However, readonly access to hirte would be give read access to other machines too, so it makes sense to be more limited.

The existing policy allowed anyone to send messages to hirte, which
isn't ideal. It also isn't a huge issue as the default policy
disallows sending any method calls even if you are allowed to send
messages in general.

However, it seems better to disallow messages in general, and just open
up a few specific methods. This change allows the basic introspection
but nothing more.

This is a bit more limited than what the systemd configuration uses, as that
allows anyone to use a lot of read-only APIs. However, readonly access to
hirte would be give read access to other machines too, so it makes sense to
be more limited.

Signed-off-by: Alexander Larsson <alexl@redhat.com>
@alexlarsson alexlarsson merged commit 70d5c98 into eclipse-bluechi:main Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants