For users of NetworkManager:
nmcli device wifi show-password nmcli device wifi show-passwordThis is now my favourite way to grab the WiFi password.
Why has it never occurred to me that I might be able to use a QR code? I always do `sudo cat /etc/NetworkManager/system-connections/TheSSID.nmconnection | grep psk`, type in my root password and then re-type the passphrase manually on my phone. The amount of time this is going to save me…