add support for privateKey of passphrase