-
Notifications
You must be signed in to change notification settings - Fork 31
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
I need advice on C# port #55
Comments
If the http requests match my guess is it's due to tls settings, like what's mentioned in #48 (comment). There's no known fix. |
I can't even compare Python and C# because I get How can I get Python version working? Downgrade some module? Use Linux instead of Windows? Use another PC? And even if I don't get the Python version working - what would help me fix the C# version? Install an Android emulator and HTTP toolkit like here: https://httptoolkit.com/blog/inspect-any-android-apps-http/ ? any other idea? It took me 2 weeks to port https://github.com/kiwiz/gkeepapi to https://github.com/Jinjinov/GKeepApi.Net so I really want to port https://github.com/simon-weber/gpsoauth to https://github.com/Jinjinov/GPSOAuth.Net to make it all work. |
The default ciphers issue is fixed in master; see #52 and #51. If you want to work on the badauth error there's more details in #48 (comment). |
I tried all C# ports, all of them are from 2015, 2016 or 2017:
https://www.nuget.org/packages/GPSOAuthSharp
https://github.com/vemacs/GPSOAuthSharp
https://www.nuget.org/packages/GPSOAuthSharp.NetStandard1
https://github.com/AeonLucid/GPSOAuthSharp.NetStandard1
https://www.nuget.org/packages/GPSOAuthSharp.Portable
https://github.com/Nimgoble/GPSOAuthSharp
https://www.nuget.org/packages/GPSOAuthSharp.NetCore
https://github.com/Davidblkx/GPSOAuthSharp.NetCore
https://www.nuget.org/packages/GPSOAuthSharpNetCore
https://github.com/cormaltes/GPSOAuthSharp
All of them return:
{"Error": "BadAuthentication"}
I am writing my own C# port:
https://github.com/Jinjinov/GPSOAuth.Net
I started from https://github.com/vemacs/GPSOAuthSharp and I applied all the changes you made since then, but I still get
{"Error": "BadAuthentication"}
Any advice on how I should solve this?
Should I install Python and compare the REST packages?
EDIT: after installing Python I get:
module 'urllib3.util.ssl_' has no attribute 'DEFAULT_CIPHERS'
The text was updated successfully, but these errors were encountered: