How to decrypt the wallet? does it need to be done in the console?
I think it has to be open longer than a single tx to do the staking process, so yes, go to the console and type
walletpassphrase yourEncryptionPassword timeInSeconds
e.g.
walletpassphrase topSecretPassword12345 3600
to have it open for an hour.