-
Notifications
You must be signed in to change notification settings - Fork 96
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
SSL bug-fixing, implemented public-key certificate validation & EC Certificates for client-side #85
Conversation
… not sent if used along with setTrustAnchors]
-SSL Public Key certificate verification (setKnownKey method) -EC Client Certificates (setClientECCert method)
- Corrected the TwoWay ESP8266 example
Hi @adelin-mcbsoft ! First I should say this library is in perseverance-state as far as I'm concerned. Meaning, I do my best to help users and fix small bugs but try to avoid adding features (I don't really have the time for it these days. That being said, I really appreciate the donation and the effort you put into it. I want to merge this, can you please ensure few things:
After that, I'll happily merge. Gil. |
Hi @gilmaimon , Good to hear from you! Hope you are doing well! Also, regression tests were made both for ESP8266 and ESP32, both compile without any troubles. One thing to mention: For CA, ESP32 requires minimum 2048bit certificates, while ESP8266 is fine with 1024bit. Hope this is enough in order to have the PR merged and a new version released. Looking forward to hearing from you, Adelin ESP8266 Code used for testing:
Compilation Status:
ESP32 Code used for testing:
Compilation status:
|
Thanks @adelin-mcbsoft , Merged! |
Hi @gilmaimon ,
In this pull request I addressed issue #84 and also implemented server public-key certificate validation (using
setKnownKey
method) and EC certificate validation for client-side authentication usingsetClientECCert
method, all for ESP8266, inherited from the official BearSSL library.Also, I've corrected the SecuredTwoWay-Example for ESP8266 and updated
readme.md
accordingly .Let me know if you need any more info regarding this PR,
All the best,
Adelin
PS: A lot of white-space is shown in the diff, not sure why.