AT%KEYGEN Security

Hi, 

Using the nRF9151 flashed with ncs-serial-modem v1.0.0 we are using at%keygen to generate a CSR for MQTT. I want to know how the firmware generates the private keys and how they are stored in the hardware to make sure that our application is as secure as possible. E.g. is the KMU being used to store the keys or is it just in the secure-fw.

Thank you, 
Vineet 

Parents
  • Hi,

    When AT%KEYGEN is issued, the nRF9151 modem generates a private key entirely internally, stores it in the modem's own credential storage (NVM) under the specified sec_tag, and returns only the CSR, the private key never leaves the modem. It cannot be read back by the application and the modem uses it internally for TLS operations.

    The modem and application core operate as independent subsystems, so application-side access to modem credentials is not possible. Moreover its recommended to enable AP-Protect in production devices to prevent extraction of keys and sensitive data through debug interfaces.

    One point we are still confirming with our engineering team whether the modem uses the KMU internally for its credential storage. We will follow up on this.

    Best Regards,
    Syed Maysum

Reply
  • Hi,

    When AT%KEYGEN is issued, the nRF9151 modem generates a private key entirely internally, stores it in the modem's own credential storage (NVM) under the specified sec_tag, and returns only the CSR, the private key never leaves the modem. It cannot be read back by the application and the modem uses it internally for TLS operations.

    The modem and application core operate as independent subsystems, so application-side access to modem credentials is not possible. Moreover its recommended to enable AP-Protect in production devices to prevent extraction of keys and sensitive data through debug interfaces.

    One point we are still confirming with our engineering team whether the modem uses the KMU internally for its credential storage. We will follow up on this.

    Best Regards,
    Syed Maysum

Children
Related