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

Missing instruction about settting up for "EE" (faketls+padding) mode #11

Open
msva opened this issue Aug 21, 2024 · 2 comments
Open

Missing instruction about settting up for "EE" (faketls+padding) mode #11

msva opened this issue Aug 21, 2024 · 2 comments

Comments

@msva
Copy link

msva commented Aug 21, 2024

Hi there!
It seems there is no instruction about how to settt up this proxy to (properly) work in "EE" mode (fake-tls + padding (as in "DD" mode)).

tdlib (and so is Telegram X), and official desktop telegram client (tdesktop) have a checks, that for EE mode key should have a length of 20 or more bytes (excluding EE prefix, or >=21 including it).

And MTProxy forces to set a key (for -S) of 32 digits (16 bytes), which is only acceptable for "DD" prefix.

But, on the other hand, code looks like it do support "EE" mode 🤷‍♂️

So, it is hard to understand, how to set this up to work with FakeTLS+padding ("EE") mode...

// by the way, official Android client kinda "works" with changing DD to EE in the secret, but I had a discussion with @john-preston (author of Telegram Desktop), and he investigated this a bit, and he found that it (android client) just disables even padding (nott even enables faketls) in that case (EE + short 16 bit key).
Same for iOS client and Telegram For Mac.
And Telegram X (semi-official android client based on tdlib) doesn't support "ee" with short keys either (as tdesktop).

@preston
Copy link

preston commented Aug 21, 2024

FYI you have the wrong "Preston" :)

@msva
Copy link
Author

msva commented Aug 21, 2024

FYI you have the wrong "Preston" :)

Yeah, thanks, fixed (he is @preston on tg, and here he is @john-preston) 😁

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

No branches or pull requests

2 participants