go-tdlib icon indicating copy to clipboard operation
go-tdlib copied to clipboard

SendAuthPassword causes "Receive invalid value of B(255)" error

Open x2bool opened this issue 6 years ago • 0 comments

TDlib logs this error when password is sent with "SendAuthPassword" method.

The lib seems to be expecting 256 bytes and receives 255: https://github.com/tdlib/td/blob/e37f7d1537c963a0d7a2220825373847b2bbaaad/td/telegram/PasswordManager.cpp#L91

Could it be that something is not encoded properly?

x2bool avatar Dec 03 '19 17:12 x2bool