-
Notifications
You must be signed in to change notification settings - Fork 917
Exclude wolfssl certs_test.h from Espressif user_settings.h #9123
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
Conversation
IDE/Espressif/ESP-IDF/examples/template/components/wolfssl/include/user_settings.h
Show resolved
Hide resolved
dgarske
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix in wolfSSH
|
Hi @dgarske - I created wolfSSL/wolfssh#831 to rename the cert arrays in wolfSSH. For consistency and safety, I renamed them all with I also changed the I'd like to keep this PR without the cert include in the See updated 5.8.2~1 Managed Component. We may consider re-adding the include after the next release of wolfSSH, but there would always be a prior version problem. Edit: Critical reason to NOT include
|
IDE/Espressif/ESP-IDF/examples/wolfssl_benchmark/components/wolfssl/include/user_settings.h
Outdated
Show resolved
Hide resolved
52a37a4 to
19205ec
Compare
IDE/Espressif/ESP-IDF/examples/template/components/wolfssl/include/user_settings.h
Show resolved
Hide resolved
dgarske
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reconsider PR
19205ec to
c22354e
Compare
|
Upon reconsidering this PR, I've expanded the scope of "remove See the updated /* This example uses wolfssl test certificates */
#if 1
/* See wolfssl/certs_test.h */
#if defined(CONFIG_IDF_TARGET_ESP32C2) || \
defined(CONFIG_IDF_TARGET_ESP8684) || \
defined(CONFIG_IDF_TARGET_ESP8266)
/* Use smaller certs for low-memory devices */
#define USE_CERT_BUFFERS_1024
#else
#define USE_CERT_BUFFERS_2048
#endif
/* always include smallest testing 32 byte RSA/ECC keys */
#define USE_CERT_BUFFERS_256
#else
/* define your own certificate macros; see user_settings.h */
#endif |
|
Jenkins retest this please. For: AgentOfflineException: Unable to create live FilePath for wolf-linux-cloud-node-[n]; wolf-linux-cloud-node-[n] was marked offline: Connection was broken |
Description
Excludes examplec file
wolfssl/certs_test.hfrom being included in Espressifuser_settings.hfile, introduced in #8813 .See wolfSSL/wolfssh#826 (comment) .
The critical file needing the exclusion is the
templatereference example, used when publishing Managed Components. All examples updated here for consistency.Note that I plan to publish an updated Espressif Managed Component for wolfssl: version
5.8.2~1. The new version number will not comply with Semantic Versioning. (note that's a tilde between the 2 and 1, not a minus sign). See instead the Espressif Versioning Documentation. The tilde is used for a version revision.USE_CERT_BUFFERS_[n]macros from theuser_settinghs.hfiles. See the respective client and server example apps that define as needed.Fixes zd# n/a
Testing
How did you test?
Manually confirmed all examples still build properly.
Checklist