Closed pquerner closed 6 years ago
Its a limitation in the length of the length of the encrypted string versus your original string (read: your email + pad + password). It might be fixable in encrypted_login = cipher.encrypt((email + u'\x00' + password).encode('utf-8'))
by adding more pad bytes u'\x00'
, but I'm not entirely sure. I have seen @simon-weber stop by occasionally before to answer questions related to his stuff. I'll dig into it and see if I can figure it out.
Basically the encrypted key needs to be a certain amount bigger than the plain-text per the code at line 141 in PKCS1_OAEP.py
. I know this isn't super helpful, but its a start.
Ah, yeah, this is a bug/limitation in gpsoauth: https://github.com/simon-weber/gpsoauth/issues/17.
Going to close this in favor of the gpsoauth issue. Thanks for the report!
My current google password is 80 characters. (Dont ask why). I got the error
Which I though was because of special characters in my password (like
'
or;
). I changed it to a password without special characters, but I still get the error message from above.Is there any limitation that you know of and is it possible to remove this limitation perhaps? Google allows you to use such long passwords and therefore a client shouldnt deny access.