This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Peer manager and LESC possibilities

Hello,

I am looking into the peer manager and the LESC module and have some question regarding what is possible to do with this.

  1. Is it possible to manage the private key to use for also other purposes on application level (e.g. signing)
    1. 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?
  2. 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.
    1. 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?

Parents Reply Children
No Data
Related