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.
hi philipp,
same concern that syed raise could you please help with this.
I am having the same issue - despite saying this is "solved" the most recent version of the forge component doesn't allow me to pass both a passphrase and a key
Hi @Philipp,
I have a similar requirement I need to connect to an SFTP server using both a key and a passphrase. Can you please help me with this.
Regards,