Yes, right they are path to the files where our public/private keys are being 
stored. But I think i generate key-pair using Security.framework, 
SecKeyGeneratePair(). But i don't think this function returns me proper 
key-pair, because i have generated keypair using other programs which gives me 
different pair than what i get from the above function. So, i can't 
authenticate using keypair. Do i need to do any encoding, decoding for the 
keypair? Anything more can you suggest me so i can implement public/private 
keys?

If you know can you please let me know about generate key-pair and store it?
Regards,
Paresh Thakor.


On Sep 10, 2010, at 9:39 PM, Ted Lemon wrote:

> On Sep 10, 2010, at 7:19 AM, Paresh Thakor wrote:
>> Anyone does know how can i pass file path for public/private keys into 
>> libssh2_userauth_publickey_fromfile()
>> in iPhone SDK.?
> 
>      rc = libssh2_userauth_publickey_fromfile(session,
>                                               "foo", [pubkey UTF8String],
>                                               [privkey UTF8String], "");
> 
> pubkey and privkey are NSString objects containing filename paths.
> 
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to