Hello,

I have written an application using 1.9.0

I authenticate using libssh2_userauth_publickey_fromfile()  and it
works just fine. But when I switch to
libssh2_userauth_publickey_frommemory()
it fails.

I am guessing that the keydata is wrong.  Reading the documentation I
find it vague.  Is the keydata the string you would get from just
loading key as a string ?  just the base-64 data ?  the data that you
would get from base-64 decoding the string to binary ?  I have tried
all three interpretations of what "keydata" could mean.  It still
fails.

Any insights ?

-- 
Dr Everett (Skip) Carter  0xF29BF36844FB7922
s...@taygeta.com

Taygeta Scientific Inc
607 Charles Ave
Seaside CA 93955
831-641-0645 x103

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to