I have erased my macbook HD from the recovery mode (cloverleaf + R at startup) then I have reinstalled mojave from there. I left the mac for the night. Next morning, it was waiting on the country selection, then arrived to the wifi select.
I use a magic keyboard that used to be paired with that mac and it was usable right away.
How is possible the magic keyboard was still paired ? Wouldn't an disk erase and reinstall remove it ?
I am looking to find where and how this pairing is maintained (and possibly review the list of information that has not been removed).