witnessmenow / spotify-api-arduino

Arduino library for integrating with the Spotify Web-API (Does not play music)
MIT License
180 stars 33 forks source link

Convert ESP8266 examples to LittleFS and BearSSL Certstore #5

Closed joecotton closed 2 years ago

joecotton commented 4 years ago

In order to allow ESP8266 HTTPS client to connect to any server and still be secure, the BearSSL HTTPS client allows a certificate store to have all the root certificates necessary to validate any site. The certificates are pulled from a mozilla code repo and compressed into an archive format by an included python script. The archive is uploaded to the LittleFS file system. This requires the installation of the ESP8266LittleFS plugin (for the IDE).

The example getRefreshToken was converted to this feature even though it isn't used. Feel free to omit that commit.

witnessmenow commented 2 years ago

Thanks Joe but the examples are just to provide some basic code for using the library, and I think this makes them more complicated for end users, so I think this switch is out of scope