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

Login issue with Skoda CityGo #31

Closed
andig opened this issue Aug 28, 2021 · 4 comments
Closed

Login issue with Skoda CityGo #31

andig opened this issue Aug 28, 2021 · 4 comments

Comments

@andig
Copy link

andig commented Aug 28, 2021

This is what the debug log shows for current master:

DEBUG:skodaconnect.connection:Failed to verify connect token, error: module 'jwt.algorithms' has no attribute 'RSAAlgorithm'
DEBUG:skodaconnect.connection:The Connect services token is invalid
ERROR:skodaconnect.connection:Failed to fetch VW-Group API tokens, Invalid connect token
@Farfar
Copy link
Collaborator

Farfar commented Aug 28, 2021

Looks like you have the wrong version of pyjwt. Make sure you are using pyjwt==1.7.1 as stated in requirements.

@andig
Copy link
Author

andig commented Aug 30, 2021

Same thing after doing:

❯ pip3 install pyjwt==1.7.1
Collecting pyjwt==1.7.1
  Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Installing collected packages: pyjwt
  Attempting uninstall: pyjwt
    Found existing installation: PyJWT 2.1.0
    Uninstalling PyJWT-2.1.0:
      Successfully uninstalled PyJWT-2.1.0
Successfully installed pyjwt-1.7.1
WARNING: You are using pip version 21.1.3; however, version 21.2.4 is available.
You should consider upgrading via the '/opt/homebrew/opt/python@3.9/bin/python3.9 -m pip install --upgrade pip' command.

@Farfar
Copy link
Collaborator

Farfar commented Aug 30, 2021

You might need to install the cryptography module as well. I will add it as a dependency

@andig
Copy link
Author

andig commented Aug 31, 2021

Check. pywt[crypto] does the trick.

@andig andig closed this as completed Aug 31, 2021
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