Skip to content

Fix login config parsing for concatenated hex literals - #14

Merged
xela92 merged 1 commit into
porech:mainfrom
xela92:fix/login-config-concatenated-hex
Nov 27, 2026
Merged

xela92 merged 1 commit into
porech:mainfrom
xela92:fix/login-config-concatenated-hex

Conversation

@xela92

@xela92 xela92 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

DWService’s login page now passes concatenated hexadecimal string literals to dwsInitDecodeHex(). The existing parser expects a single literal, causing authentication to fail with “login config blob not found on page”.

This change:

  • Supports single literals and concatenated literals, including whitespace and single/double quotes.
  • Joins the hexadecimal fragments before decoding.
  • Accepts only literal strings, without evaluating JavaScript.
  • Adds regression tests for supported formats and rejection of nonliteral expressions.

Validation

Auth, client and CLI tests pass. The patched client successfully retrieves the agent list against the live service on macOS arm64.

@xela92
xela92 merged commit 8b0b3f4 into porech:main Nov 27, 2026
1 check passed
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