Python-Jose with Google App Engine

208 Views Asked by At

I am trying to get python-jose to work with Google App Engine.

As soon as I add from jose import jwt I get an error ImportError: No module named Crypto.Random.OSRNG.winrandom

In the README.rst it says:

This is a JOSE implementation that is fully compatible with Google App Engine which requires the use of the PyCrypto library.

I am guessing dev_appserver.py has blocked the file lib/Crypto/Random/OSRNG/winrandom.pyd as its not pure Python.

GAE Python runtime environment must be pure Python

Is there something I'm not understanding?

0

There are 0 best solutions below