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

construct_signature returns different values on Windows and Linux #49

Open
nicolaslazo opened this issue Jan 14, 2023 · 2 comments
Open

Comments

@nicolaslazo
Copy link

gpsoauth.perform_master_login always returns BadAuthentication on Linux (Python 3.10.6) but is able to log in properly on Windows (Python 3.10.9) using the package version currently hosted on main. This is because the auth request payload contains a different EncryptedPasswd even if I put in the exact same credentials

@simon-weber
Copy link
Owner

simon-weber commented Jan 17, 2023

If you have a chance can you double check that each platform returns the same ciphertext each time? It'd be surprising to me if there wasn't some kind of salt or nonce involved in one of the steps; it might be expected to get a different result each time.

@simon-weber
Copy link
Owner

I guess I'll reuse this issue to track #48 (comment), where stripping the ciphertext fixed things on linux.

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