<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=3&amp;t=694" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2012-03-06T10:58:49+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=3&amp;t=694</id>
<entry>
<author><name><![CDATA[Anonymous]]></name></author>
<updated>2012-03-06T10:58:49+01:00</updated>
<published>2012-03-06T10:58:49+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=694&amp;p=2950#p2950</id>
<link href="https://forum.yubico.com/viewtopic.php?t=694&amp;p=2950#p2950"/>
<title type="html"><![CDATA[Re: Validating server output]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=694&amp;p=2950#p2950"><![CDATA[
The h= is a cryptographic hash of the data in the request/response and provides integrity when SSL is not used.<br /><br />How to generate and validate the signatures is documented here : <a href="http://code.google.com/p/yubikey-val-server-php/wiki/ValidationProtocolV20" class="postlink">http://code.google.com/p/yubikey-val-server-php/wiki/ValidationProtocolV20</a><br /><br />There is a rudimentary command line client called 'ykclient' in the yubico-c-client project at <a href="http://code.google.com/p/yubico-c-client/" class="postlink">http://code.google.com/p/yubico-c-client/</a><br /><br />/Fredrik<p>Statistics: Posted by Guest — Tue Mar 06, 2012 10:58 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Morthawt]]></name></author>
<updated>2012-02-20T03:29:31+01:00</updated>
<published>2012-02-20T03:29:31+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=694&amp;p=2926#p2926</id>
<link href="https://forum.yubico.com/viewtopic.php?t=694&amp;p=2926#p2926"/>
<title type="html"><![CDATA[Re: Validating server output]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=694&amp;p=2926#p2926"><![CDATA[
Yeah seems to not be doing what I need it to. What command line programs or what ever do I need in order to be able to verify the hash ? Since I cannot check the certificate for the SSL connection, I need to be able to verify the hash with my API key.<br /><br />What is the official method of doing this from command line?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1739">Morthawt</a> — Mon Feb 20, 2012 3:29 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rpimonitrbtch]]></name></author>
<updated>2012-02-20T03:06:58+01:00</updated>
<published>2012-02-20T03:06:58+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=694&amp;p=2925#p2925</id>
<link href="https://forum.yubico.com/viewtopic.php?t=694&amp;p=2925#p2925"/>
<title type="html"><![CDATA[Re: Validating server output]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=694&amp;p=2925#p2925"><![CDATA[
It should be as simple as what's in the api documentation. It might help to see an example of what you're trying to do. Obviously, I wouldn't expect you to share your own api key, so maybe an example using a response with the keys in this page: <!-- m --><a class="postlink" href="http://demo.yubico.com/php-yubico/demo.php">http://demo.yubico.com/php-yubico/demo.php</a><!-- m --><br /><br />My gut reaction is that openssl on the command line is garbling something.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=313">rpimonitrbtch</a> — Mon Feb 20, 2012 3:06 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Morthawt]]></name></author>
<updated>2012-02-19T18:46:15+01:00</updated>
<published>2012-02-19T18:46:15+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=694&amp;p=2923#p2923</id>
<link href="https://forum.yubico.com/viewtopic.php?t=694&amp;p=2923#p2923"/>
<title type="html"><![CDATA[Re: Validating server output]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=694&amp;p=2923#p2923"><![CDATA[
Wow as I go searching for the answer to this question again, I find myself saying &quot;Poor guy, nobody answered...&quot; only to realise this is my own thread and nobody bothered to provide any help. I am still trying to verify the server result hash. I have used openssl.exe to do an hmac sha1 hash of my api key and the parts of the server result in alphabetical order as stipulated in the documentation, minus the h= one. I then also used openssl.exe to encode the result as base64. I am then left with a result that is too large and looks nothing like the hash in the result from the server.<br /><br />Would anyone care to attempt to explain &quot;how&quot; to do this process instead of just the fact you need to do it? It is not enough to tell someone &quot;Get in the car and drive according to government guidelines&quot; That does not tell you &quot;how&quot; to actually drive, only that &quot;guidelines&quot; exist for driving.<br /><br />Help would be appreciated.<br /><br />Thank you<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1739">Morthawt</a> — Sun Feb 19, 2012 6:46 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Morthawt]]></name></author>
<updated>2011-07-24T00:52:57+01:00</updated>
<published>2011-07-24T00:52:57+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=694&amp;p=2755#p2755</id>
<link href="https://forum.yubico.com/viewtopic.php?t=694&amp;p=2755#p2755"/>
<title type="html"><![CDATA[Validating server output]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=694&amp;p=2755#p2755"><![CDATA[
I am new to all this and just found the API. It was very confusing and I had to look around online to find out that you can do it with a URL. Well I have been able to get it to validate an OTP against the Yubico server API but the h= part is confusing me. With AutoIT I would be able to write a program that passes the users input to the API via a URL and check to see if after status it says &quot;OK&quot;. I am assuming the h= is a hash but what is the hash doing and how can it be used? <br /><br />I assume the private key that is generated when you register for an API thing has something to do with it maybe? Please can someone explain this. Thank you.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=1739">Morthawt</a> — Sun Jul 24, 2011 12:52 am</p><hr />
]]></content>
</entry>
</feed>