Closed brentru closed 5 years ago
ESP8266 BSP 2.5.1's WiFiClientSecure switched to BearSSL as the default (https://github.com/esp8266/Arduino/blob/2.5.1/libraries/ESP8266WiFi/src/WiFiClientSecure.h#L27) and is now compatible with this library again.
WiFiClientSecure
BearSSL
Adafruit IO MQTT (Insecure) runs OK with BSP2.5.1, but the secure client breaks and will not connect to Adafruit IO.
Scope of changes:
verifyFingerprint()
adafruitio_secure_esp8266.ino
client.setFingerprint()
Successfully tested on a Feather Huzzah ESP8266 w/BSP2.5.1
ESP8266 BSP 2.5.1's
WiFiClientSecure
switched toBearSSL
as the default (https://github.com/esp8266/Arduino/blob/2.5.1/libraries/ESP8266WiFi/src/WiFiClientSecure.h#L27) and is now compatible with this library again.Adafruit IO MQTT (Insecure) runs OK with BSP2.5.1, but the secure client breaks and will not connect to Adafruit IO.
Scope of changes:
verifyFingerprint()
function fromadafruitio_secure_esp8266.ino
client.setFingerprint()
function to the setup, used by BearSSL's validation.adafruitio_secure_esp8266.ino
Successfully tested on a Feather Huzzah ESP8266 w/BSP2.5.1