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

problem with the private key #22

Open
toutou8148 opened this issue Dec 25, 2020 · 2 comments
Open

problem with the private key #22

toutou8148 opened this issue Dec 25, 2020 · 2 comments

Comments

@toutou8148
Copy link

the value of the private key changes after forcing it to uint8_t.
In the provided example, the private key is declared as follow:
const char PRIVATE_KEY[] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 };
in my case, I set it as follow:
const char PRIVATE_KEY[] = "0x.........";

In the provided example, the private key is forced to (uint8_t*). After forcing the private key, the value of the private key will be changed.

@itsHaseebSaeed
Copy link

Hi, there I'm having some issues running this library on my ESP32. Does it work on your esp32? If yes then I need your help. Please contact me using this email: [email protected]. It would be huge favour

@toutou8148
Copy link
Author

Yes, It works. The library contains some error. You should make some changes to make it work. Regarding the private key, you must set it in the following format:
const char PRIVATE_KEY[] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 };

Please send me the error you get when setting the private key in that format and I will try to help you solving the problem.

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