Added catch on error decrypting private key.