The changes described here are listed in chapters 3.5.2 and 4.5.2 of the erratum document.
The chapter is changed in-line. Both the previous version and new version of the chapter sections are listed here for clarity.
The following text was included in the previous version:
To protect a device's private key, a device should implement a method to prevent an attacker from retrieving useful information about the device's private key using invalid public keys. For this purpose, a device can use one of the following methods:
- Change its private key after three failed attempts from any BD_ADDR and after 10 successful pairings from any BD_ADDR; or after a combination of these such that 3 successful pairings count as one failed pairing; or
- Verify that the received public keys from any BD_ADDR are on the correct curve; or
- Implement elliptic curve point addition and doubling using formulas that are valid only on the correct curve.
The following text is included in the new version:
To protect a device's private key, a device should implement a method to prevent an attacker from retrieving useful information about the device's private key. For this purpose, a device should change its private key after every pairing (successful or failed). Otherwise, it should change its private key at least after any of the following:
- Three failed attempts from any BD_ADDR
- Ten successful pairings from any BD_ADDR
- Any combination of these such that three successful pairings count as one failed pairing
The public key validation was previously optional; this is now mandatory. This is why “can”, and the point of optionally verifying the received public key in the previous version of the specification, has been removed.
The standard also states that it is recommended to change the private key after successful/failed pairing procedures at a certain frequency. All examples in nRF5 SDK v15.0.0 showing LE Secure Connection pairing through the ble_lesc module will only generate the private/public keypair once during bootup.