Network manager does not use previously typed passwords after upgrade

I just upgraded my system (and also removed ./cache to save some space and put the hard drive in a different computer), but now Network Manager asks me to type the password of wifi while it was previously stored. I tried to check, and the list of network is still present in /etc/NetworkManager/system-connections and if I take the uuid of the network in this list, I can find an entry in KWallet with this uuid and this password:

so the passwords are still around, just NW seems to ignore them for a reason I can’t understand. Any idea what I’m missing?