Public-key cryptographic functions

,

According to @james on Discord, OS/SDK 2.7 will include network functionality for HTTP and TCP.

Do Playdate devices include a crypto chip?

If so, for purposes of authentication and security when interacting with online services it would be great if the SDK provided functions for retrieving a public key and signing data with a private key.

The secp256r1 elliptic curve seems to be widely adopted for this type of thing. Other applications may have different requirements.

The SDK could mitigate concerns around tracking users by generating a unique key pair for each device serial number and bundle ID combination.

I think the cryptographic stuff is all done behind the scenes in the ESP32 firmware (not the main MCU, which is the STM32), but the Playdate should support SSL for its networking functionality through that.