Hello,
I am looking into the peer manager and the LESC module and have some question regarding what is possible to do with this.
- Is it possible to manage the private key to use for also other purposes on application level (e.g. signing)
- It looks like the key pair needs to be generated every time the device restarts. Is this always the intended use case, or would it be possible to use a static key?
- Is it possible to retrieve the public key of the connected peer. I can only see that OOB data can be retrieved (ble_gap_lesc_oob_data_t). Depending on who have connected, they might have different rights on application level depending on this.
- Further, is it possible to whitelist specific public keys that may authenticate with the device?
I am quite new to the peer manager and the LESC module. Am i getting this wrong, or is this key intended to be an ephemeral key only?