-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Use of sodium.h under new 3.0 #9732
Comments
That would require custom libs to be built with sodium in them. @lucasssvaz can help with instructions on how to do that easily |
You can either use Arduino as a component or Rebuild the libs with the necessary configs. |
closing as answered, if needed you can reopen the ticket. |
To make sure I fully understand, if I create my own version of the library (with lib sodium) does this result in a custom Board Manager. In other words, if anyone wants to use the library within the Arduino IDE, do they use the Board Manager functionality and point to where I'm hosting the custom library? Also, any reason you did not include sodium in 3.0? Are there alternatives to the crypto commands that are built into a different library that is included in 3.0? |
We do not have a measure of how much given IDF component is used in Arduino. Sodium was part of IDF prior to v5, so it came for free. If we get enough requests, we can consider adding it to the default libs.
You would need to create and host your own board manager json, with the libs you built yourself |
@me-no-dev if no other crypto commands library built in v3 sodium is great library to get on v3 |
Board
ALL
Device Description
N/A
Hardware Configuration
N/A
Version
v3.0.0
IDE Name
Arduino IDE
Operating System
MAC OS 14
Flash frequency
N/A
PSRAM enabled
no
Upload speed
N/A
Description
I understand that Espressif has moved libsodium to an optional component when transitioning from IDF 4 to IDF 5. Since Arduino-ESP32 version 3 uses IDF5, the sodium library is no longer available and
#include <sodium.h>
fails when added to an Arduino sketch. Is there a recommended method of incorporating sodium into an Arduino sketch when using the new Arduino-ESP32 version 3? The Espressif web site only includes information for doing so when using the IDF directly.Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: