Skip to content

Commit 2566286

Browse files
committed
add cert and warning
1 parent 223d419 commit 2566286

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

examples/adafruitio_secure_esp8266/adafruitio_secure_esp8266.ino

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ WiFiClientSecure client;
4444
Adafruit_MQTT_Client mqtt(&client, AIO_SERVER, AIO_SERVERPORT, AIO_USERNAME, AIO_KEY);
4545

4646
// io.adafruit.com SHA1 fingerprint
47-
static const char *fingerprint PROGMEM = "59 3C 48 0A B1 8B 39 4E 0D 58 50 47 9A 13 55 60 CC A0 1D AF";
47+
/* WARNING - This value was last updated on 08/15/22 and may not be up-to-date!
48+
* If security is a concern for your project, we strongly recommend users impacted by this moving
49+
* to ESP32 which has certificate verification by storing root certs and having a
50+
* chain-of-trust rather than doing individual certificate fingerprints.
51+
*/
52+
static const char *fingerprint PROGMEM = "18 C0 C2 3D BE DD 81 37 73 40 E7 E4 36 61 CB 0A DF 96 AD 25";
4853

4954
/****************************** Feeds ***************************************/
5055

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Adafruit MQTT Library
2-
version=2.4.2
2+
version=2.4.3
33
author=Adafruit
44
maintainer=Adafruit <info@adafruit.com>
55
sentence=MQTT library that supports the FONA, ESP8266, ESP32, Yun, and generic Arduino Client hardware.

0 commit comments

Comments
 (0)