Added optional passphrase key decryption