Re: Public Key Authentication with C++ Builder 6 - WeOnlyDo Discussion board

Re: Public Key Authentication with C++ Builder 6 (General questions)

by David Lucas, Friday, July 22, 2005, 11:13 (6856 days ago) @ wodSupport

I think in newest wodKeys you can specify full ASCII key to Load method. So, you should get key contents (----- BEGIN PRIVATE KEY....) into a string variable, and pass it to Load method. That should work, I think.

Has that version been released? Because we have what I believe is the latest version of the dll (1.1.2.9) and the source code version of wodSSH. From the source code, it looks like its just attempting to open the file with the specified filename, and bombing out with an error if the fopen fails. Looks like it then calls a function in an SSL library (if the fopen was successful) which expects a file pointer.

So maybe there's no alternative to temporarily storing the key in a file after retrieving it from the database, loading that temporary file then deleting it afterwards.


David Lucas
Data Track Technology


Complete thread: