Strange Encryption Request? - WeOnlyDo Discussion board

Strange Encryption Request? (General questions)

by AndyBrunnock, Tuesday, November 04, 2008, 15:57 (5862 days ago)

I have a customer who described their FTP encrypted connection as follows...

1. You transmit the username and password to us.
2. We verify the username and password.
3. We encrypt a random number with your public key and send it to you
4. You use your private key to decrypt the random number and send it back to us.
5. We verify the random number, then allow the connection.

Does FTPDlx.NET support this 'protocol'? If so, what combination of connection properties do I need to set?

Thanks,

Andy

Re: Strange Encryption Request?

by wodDamir, Tuesday, November 04, 2008, 16:05 (5862 days ago) @ AndyBrunnock

Andy,

What you're reffering to is SFTP protocol using Public/Privatekey Authentication. Am I correct?

If so, then you need to set Protocol property to SFTP, and Authentication property to PublicKey.

You will also need to load the PrivateKey into wodFtpDLX.Net's PrivateKey property. You will need to provide it in XML format which is native to .Net components. In order to convert it to XML, you can use our wodKeyManager (available here).

Please notice that what I'm talking about is SFTP protocol. There is also FTPS, but in that case Certificate authentication is used, not Public/PrivateKey.

If I misunderstood you, please correct me.

regards,
Damba

Re: Strange Encryption Request?

by AndyBrunnock, Tuesday, November 04, 2008, 16:13 (5862 days ago) @ wodDamir

Andy,

What you're reffering to is SFTP protocol using Public/Privatekey Authentication. Am I correct?

Thanks Damba. I'm not quite sure what I'm referring to; the random number thing threw me. I will ask them to test and try your solution.

Thanks for your help.

Andy