Skip to content

Commit

Permalink
Merge pull request #8 from mathcoll/v2.0.10
Browse files Browse the repository at this point in the history
update certificate
  • Loading branch information
mathcoll authored Jul 13, 2024
2 parents f763b58 + 41011f6 commit 98437f3
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 34 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "t6iot",
"keywords": "iot, things, api, rest, object, connect",
"description": "Library to connect t6 iot platform https://api.internetcollaboratif.info",
"version": "2.0.9",
"version": "2.0.10",
"frameworks": "arduino",
"examples": "examples/t6iot2/*.ino",
"platforms": "*",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=t6iot
version=2.0.9
version=2.0.10
author=Mathieu Lory <mathieu@internetcollaboratif.info>
maintainer=Mathieu Lory <mathieu@internetcollaboratif.info>
sentence=Library to connect Arduino Sensors to t6iot framework SaaS or On-Premise.
Expand Down
55 changes: 23 additions & 32 deletions src/t6iot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,41 +9,32 @@
// nmap --script ssl-cert.nse -p 443 api.internetcollaboratif.info | grep SHA-1
// openssl s_client -connect api.internetcollaboratif.info:443 -prexit -showcerts -state -status -tlsextdebug -verify 10

String VERSION = "2.0.9";
String VERSION = "2.0.10";

const char *fingerprint = "01fa 0bef 233c 30d7 9c2a 983d ce17 e9a9 178b 3546";
const char *fingerprint = "3855 b1d0 24c4 92a5 d987 3af8 b826 0962 fc19 d6fd";
const char* root_ca PROGMEM = R"EOF(
-----BEGIN CERTIFICATE-----
MIIFkjCCBHqgAwIBAgIQFB5OkcXOmecOj90NOVDnfzANBgkqhkiG9w0BAQsFADBG
MQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExM
QzETMBEGA1UEAxMKR1RTIENBIDFQNTAeFw0yNDA1MDExNTQ1MTBaFw0yNDA3MzAx
N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