Hi All,
I have to connect to a SFTP using a PEM file as well as a password for the file. Is this support anyhow? I didn't see an option to do so. I'm getting the following error: "Private key is encrypted but passphrase is empty."
Thanks and regards,
Philipp
Hi Philip,
Apologies for the delay. I've just uploaded a new version of the SFTP component to the Forge with the added Passphrase parameter.
I don't have any SFTP sites that I can actually use to test this with, so if you could give it a try and let me know, that would be great.
Thanks,
David
Hi Philipp,
The PrivateKey Actions take a privatekey in binary form but don't currently accept an associated passphrase.
I'll take a look at what's required to get this working.
Hi David,
Thanks, that would be awesome.. It was interesting that the error note already considers the required passphrase.
Best regards,
Hey Philipp,
Yep, it looks like the passphrase is a parameter when creating the PrivateKey object, hence it being explicitly named in the exception. Hopefully it's not a big deal to do - it doesn't appear so at first glance.
I hope things are going well..
Just want to follow up on our previous messages - have you been able to have a look into the topic?
Thanks again David! Works now very well with Key File and Passphrase.. 😃
Best, Philipp
Can you please help how did you achieve to put Passphrase, there is no parameter available.
Please help.