-
Notifications
You must be signed in to change notification settings - Fork 63
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
Google Play APK download panics #11
Comments
I just experimented a bit and it seems to be related to the combined length of the username and password. If the combined character length of the username and password exceeds |
Interesting, thank you for the report. I'll look into this / issue a fix next week. |
The underlying error is encountered when calling https://docs.rs/openssl/0.10.36/openssl/rsa/struct.Rsa.html#method.public_encrypt
I guess we have to figure out how Google encrypts the login, and what padding to use when a large username/password combo is encountered. |
This happens in the Python https://github.com/NoMore201/googleplay-api/ (which I've modeled the Rust google play API dependency on) as well. Filed bug here: NoMore201/googleplay-api#151 |
With 5a360ed, the panic should no longer happen and a useful error message will display to the user. This doesn't solve the underlying issue, though I'm not yet sure how. I'd need to see documentation on how Google expects longer credentials to be encrypted. Feel free to open another issue if you wish, though I can't do much about it. |
Description
I've been trying to download an APK from the Google Play Store using apkeep but sadly encountered an error.
I used the following command:
Note: The username and password are altered, but contain the same type of characters as the username and password I use for the account in question, since after looking at the error it seems like the password encryption function fails with my username or password, so I figured providing credentials with the same character set could help with debugging the issue.
Anyway, running the command results in the following error:
With Rust Backtrace:
System Specifications
OS:
Ubuntu 20.04
Virtualization:
KVM/QEMU
CPU:
AMD EPYC-Rome (8) @ 3.593GHz
CPU Architecture:
x86_64
The text was updated successfully, but these errors were encountered: