I have the exact same problem, my Raspberry won't connect to any kind of secured wifi and keeps showing the "invalid-key" error even if the key is correct. I've been connecting to my phone's hotspot in unsecured mode so far (I live too far away from anyone for it to be dangerous). No settings on the router nor on the Raspberry/LibreElec were changed.
Any tips?
Thank you