Re: public key authentication using wodSFTP 2.2.2 - WeOnlyDo Discussion board

Re: public key authentication using wodSFTP 2.2.2 (General questions)

by Dennis Griesser, Monday, March 07, 2005, 19:38 (7200 days ago) @ wodSupport

Not sure why in ISSUE1 wodSFTP sends old password, it shouldn't.
I cannot double-check this until tuesday, but I will try it out
at that time.

Excellent! I look forward to your results!

what exactly do you put in PrivateKey property? Is it wodKeys
object, or something else?

I assign to the PrivateKey property a variable of type blob . In PowerBuilder, regular character strings are null-terminated (like in C), so they can not contain arbitrary binary data. The blob type is like a string, but can contain anything.

The raw binary key that I assign to the PrivateKey property was previously extracted from a wodKey object.

When I assign the binary key to PrivateKey, no exception is thrown. Then I can read back the PrivateKey property, and get the same data. So, I assume that the key is acceptable to wodSFTP.

It might be nice if wodSFTP had BubbleBabble and FingerPrint properties, just as wodKey does. This would allow me to confirm that the correct key is loaded.


Complete thread: