Yubico Forum https://forum.yubico.com/ |
|
server-j and libyubikey-client https://forum.yubico.com/viewtopic.php?f=5&t=243 |
Page 1 of 1 |
Author: | maho [ Tue Jan 27, 2009 11:23 am ] |
Post subject: | server-j and libyubikey-client |
Been struggling the better part of last night trying to get server-j and libyubikey-client to work together from what I can tell by the very limited documentation those projects currently have it should be a pretty straight forward setup but it does not work. From what I can tell the result sent from the server is not being parsed correctly D (("server response (%d): %.*s", client->curl_chunk_size, client->curl_chunk_size, client->curl_chunk)); status = strstr (client->curl_chunk, "status="); returns two lines insead of just status=X which is used later on status=OK h=rM+voSVNKheV2ULE/q+kFBff1BA= the result of this is Verification output (101): Internal parse error how to fix this? |
Author: | maho [ Tue Jan 27, 2009 11:39 am ] |
Post subject: | Re: server-j and libyubikey-client |
ok, so first of all I'm no developer.. this however solves the problem until someone can fix it 228c228 < url_template = "http://api.yubico.com/wsapi/verify?id=%d&otp=%s"; --- > url_template = "http://127.0.0.1:8080/wsapi/verify?id=%d&otp=%s"; 265d264 < 266a266,267 > strtok(status, "\n"); as you can see I also changed the url_template to fit my needs.. -M |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |