mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
Keep the existing bond until the new pairing is encrypted, and on encryption failure drop the link instead of clearing keys. Recovering from a peer that really deleted the bond is opt-in through BT_BLE_SMP_UNBOND_ON_KEY_MISSING. Closes BLERP (NDSS 2026) V5, and stops an unauthenticated Pairing Request from dropping the stored keys (V2 exploitation).