Encrypted keys and passphrases working