fix loading of passphrase protected keys