Open JuniorEC opened 3 years ago
Hi
Have you found the solution for your problem yet?
I'm trying to use this library just like you on an Arduino mega 2560 but I'm using WifiESP with a ESP8266 shield. I'm able to make a wifi connection but I'm having problems with generating the JWT token. I've been debugging for a while now and it seems that the JWT generation isn't working because of the public key is loaded in static BearSSL::X509List certList;
which you removed aswell from the code. This might be the (one of the) explaination(s) for your error.
It might be that this library would be able to generate ES256 jwt tokens on AVR architecture with some minor changes. Anyone who can help with this?
It might be that this library would be able to generate ES256 jwt tokens on AVR architecture with some minor changes. Anyone who can help with this?
I'm able to give some limited support but am not actively developing the library. If you need code review and change verification, happy to review and test PRs.
I've made some small changes to make the library run on arduino uno and mega. But when generating the JWT token it gets stuck in an endless loop on AVR architecture. The problem is in ecc_win_mul
in ecc.cpp when generating the public key.
I'm trying to use the library with TinyGsm and I'm taking this strange error when I compile
Board: Arduino Mega 2560
Code:
Log