GoogleCloudPlatform / iot-core-micropython

Apache License 2.0
52 stars 14 forks source link

AttributeError: 'module' object has no attribute 'PrivateKey' #12

Closed abdulrehman1937 closed 4 years ago

abdulrehman1937 commented 4 years ago

I am getting this error "AttributeError: 'module' object has no attribute 'PrivateKey'" on esp32 running micropython 1.12 (also tested on 1.11) StackTrace current time: (2020, 6, 6, 0, 42, 58, 5, 158) Creating JWT... <module 'third_party.rsa' from 'third_party/rsa/init.py'> Traceback (most recent call last): File "", line 95, in File "", line 59, in create_jwt AttributeError: 'module' object has no attribute 'PrivateKey'