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

💥 zb: Drop support for DBUS_COOKIE_SHA1 auth mechanism #1039

Merged
merged 4 commits into from
Oct 4, 2024

Conversation

zeenix
Copy link
Contributor

@zeenix zeenix commented Oct 3, 2024

  • It drags the sha1 crate as a dependency, which can be problematic for some users.
  • It makes the handshake more complex, not allowing to pipeline all the commands.
  • It's not widely used. If EXTERNAL is not an option, you might as well just use ANONYMOUS.

Fixes #543, #727.

* It drags the `sha1` crate as a dependency, which can be [problematic for some users].
* It makes the handshake more complex, not allowing to pipeline all the commands.
* It's not widely used. If `EXTERNAL` is not an option, you might as well just use `ANONYMOUS`.

Fixes dbus2#727.

[problematic for some users]: dbus2#543
This was only needed for `DBUS_COOKIE_SHA1` auth mechansim, which was
just dropped so we can happily drop this.

Fixes dbus2#543.
Since we just dropped the support for it.
zeenix added a commit to zeenix/busd that referenced this pull request Oct 3, 2024
This is in preparation for zbus dropping it in 5.0:

dbus2/zbus#1039

Besides, I added this support mainly for hopes of possibly using it for
a remote transport. However, due to lack of time and funding, I decided
to drop those plans from the roadmap.
@zeenix zeenix merged commit b8da34d into dbus2:main Oct 4, 2024
7 checks passed
@zeenix zeenix deleted the drop-cookies branch October 4, 2024 11:29
@hkr1990
Copy link

hkr1990 commented Oct 8, 2024

@zeenix When is the next release which has SHA1 dependency removed?

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.

Make SHA1 crate dependency feature gated
2 participants