Page 1 of 1

mbedTLS setKnown public key

Posted: Sat Jan 28, 2023 7:58 am
by kokonuts
Hi

I am migrating code from esp8266 to esp32-c3. In the old code bearssl was used by providing a known trusted public key that is saved in flash memory at factory

// Assume a given public key, don't validate or use cert info at all
void setKnownKey(const PublicKey *pk)

Now in esp32-c3, there is no such API. or is there?