No description
Find a file
Me No Dev 7a7bd37e51
feat: Add the ability to get the peer certificate of an SSL connection
Summary

New feature: Add the ability to get the peer certificate of an SSL connectio. This is useful for IoT when the root/cert trust chain has a shorter lifecylce than the device itself. Includes example code.

It adds two methods to the WiFiClientSecure client:

bool getFingerprintSHA256( uint8_t fingerprint_remote_sha256[32]) -- return true and the fingerprint (i.e. the SHA256 of the raw x509 as a DER - identical to what you see in for example your webbrowser). Or false on error.
const mbedtls_x509_crt* getPeerCertificate(); -- return the actual X509 struct or NULL on error.
Impact

No impact; backwards compatible (only adds to the API)
2021-10-11 13:04:13 +03:00
.github Add dummy test for self hosted GitHub runners (#5521) 2021-09-15 15:02:04 +03:00
cores/esp32 IDF master 3e370c4296 2021-10-01 17:52:29 +03:00
docs Remove git submodule update (#5696) 2021-10-01 18:11:59 +03:00
libraries feat: Add the ability to get the peer certificate of an SSL connection 2021-10-11 13:04:13 +03:00
package Remove mkfatfs tool from package json 2021-07-18 22:48:03 +03:00
tools IDF master 3e370c4296 2021-10-01 17:52:29 +03:00
variants update adafruit boards for 2.0 (#5718) 2021-10-01 16:14:50 +03:00
.gitignore Docs: Initial documentation structure using Sphinx (#5355) 2021-07-19 13:37:26 +03:00
.gitmodules v2.0.0 Add support for ESP32S2 and update ESP-IDF to 4.4 (#4996) 2021-04-05 14:23:58 +03:00
.travis.yml Use Github Actions for release (#3309) 2019-10-01 10:44:04 +03:00
boards.txt update adafruit boards for 2.0 (#5718) 2021-10-01 16:14:50 +03:00
CMakeLists.txt IDF master 3e370c4296 2021-10-01 17:52:29 +03:00
component.mk Fix compilation errors when used as IDF component 2019-01-26 21:37:03 +01:00
CONTRIBUTING.rst Add files via upload - CONTRIBUTING.rst (#5138) 2021-05-18 13:54:25 +03:00
Kconfig.projbuild v2.0.0 Add support for ESP32S2 and update ESP-IDF to 4.4 (#4996) 2021-04-05 14:23:58 +03:00
LICENSE.md Add LGPL 2.1 License 2019-04-16 03:08:50 +02:00
Makefile.projbuild Remove duplicate ota_data flashing under IDF 2018-08-16 13:34:47 +02:00
package.json IDF master d93887f9f (#5336) 2021-07-17 01:57:49 +03:00
platform.txt IDF master 3e370c4296 2021-10-01 17:52:29 +03:00
programmers.txt initial import 2016-10-06 07:09:44 -06:00
README.md Update README.MD - "Type: For reference" labels link (#5619) 2021-09-21 11:36:36 +03:00

Arduino core for the ESP32

Build Status Documentation Status

Need help or have a question? Join the chat at https://gitter.im/espressif/arduino-esp32

Contents

ESP32-S2 and ESP32-C3 Support

If you want to test ESP32-S2 and/or ESP32-C3 through the board manager, please use the development release link:

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json

Now you can install the latest 2.0.0 version from the boards manager.

Development Status

Latest Stable Release Release Version Release Date Downloads

Latest Development Release Release Version Release Date Downloads

Documentation

You can use Arduino-ESP32 Online Documentation to get all information about this project.

Decoding exceptions

You can use EspExceptionDecoder to get meaningful call trace.

Issue/Bug report template

Before reporting an issue, make sure you've searched for similar one that was already created. Also make sure to go through all the issues labelled as Type: For reference.

Finally, if you are sure no one else had the issue, follow the issue template while reporting any issue.

Contributing

We welcome contributions to the Arduino ESP32 project!

See contributing in the documentation for more information on how to contribute to the project.