Added possibility to use passphrase protected private keys