connector: hex-decode mtproxy secret #1
Reference in New Issue
Block a user
Delete Branch "mtproxy-hex-secret"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
dcs.MTProxy expects raw secret bytes. Carrying them verbatim through a
YAML string field is impossible: real secrets contain bytes >= 0x80
(faketls starts with 0xee, secured with 0xdd) which cannot survive a
unicode string round-trip, so the value reached the bridge corrupted or
empty (gotd then logged "invalid secret").
Accept the standard hex form printed by mtg/MTProxy tooling
(e.g. "ee" + 16-byte secret + cloak domain hex) and decode it before
handing the bytes to gotd.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.