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

🛂 Drop auth-mechanism CLI arg #144

Merged
merged 1 commit into from
Oct 4, 2024
Merged

🛂 Drop auth-mechanism CLI arg #144

merged 1 commit into from
Oct 4, 2024

Conversation

zeenix
Copy link
Collaborator

@zeenix zeenix commented Oct 4, 2024

It's now automatically chosen for you, based on the socket type in use. For UNIX sockets and for TCP on Windows, we use EXTERNAL. For TCP sockets on non-Windows, we use ANONYMOUS (i-e no authentication at all).

On Unix machines, people should use the UNIX socket anyway and if EXTERNAL is possible, it's best to stick to it. dbus-broker also doesn't support anonymous authentication and since they only support Unix sockets for transport, it means they don't support anonymous authentication at all.

It's now automatically chosen for you, based on the socket type in use.
For UNIX sockets and for TCP on Windows, we use `EXTERNAL`. For TCP
sockets on non-Windows, we use `ANONYMOUS` (i-e no authentication at all).

On Unix machines, people should use the UNIX socket anyway and if
EXTERNAL is possible, it's best to stick to it. `dbus-broker` also
doesn't support anonymous authentication and since they only support
Unix sockets for transport, it means they don't support anonymous
authentication at all.
@zeenix zeenix merged commit 84d062d into dbus2:main Oct 4, 2024
8 checks passed
@zeenix zeenix deleted the auto-auth branch October 4, 2024 11:37
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.

1 participant