Skip to content

DBUS_COOKIE_SHA1 auth does not work at all #124

@bspot

Description

@bspot

DBUS_COOKIE_SHA1 authentication will always fail, because the reply message to the server challenge is missing a space ( ) between the client challenge and the response in

const reply = hexlify(clientChallenge + response);

Relevant part of the spec: https://dbus.freedesktop.org/doc/dbus-specification.html#text:It%20concatenates%20the%20client's%20challenge%20string,%20a%20space%20character,%20and%20the%20SHA-1%20hex%20diges:~:text=It%20concatenates%20the%20client%27s%20challenge%20string%2C%20a%20space%20character%2C%20and%20the%20SHA%2D1%20hex%20digest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions