I got the protocol working pretty first, so that's all good. But for increased security, we'd like to add the 'h' parameter to the url, but no matter what I try, I always get the response "BAD_SIGNATURE".
As for now, I am using this site to generate the signature:
https://quickhash.com/ Algorithim is SHA1 with "Use HMAC Method?" checked and output set to Base64.
The HMAC key I use is the 'Secret Key' I get from
https://upgrade.yubico.com/getapikey/.
The id parameter in the url is also from the /getapikey site.
If I input this in the quickhash input box: id=15401&nonce=askjdnkajsndjkasndkjsnad&otp=ccccccdbrldiifthrjbbjlvgkcguceiheninhbubtgil
And then click generate I get this output: by7jCdAlZI1osGspmzHIGQEjnZ4=
So I go to this url:
http://api.yubico.com/wsapi/2.0/verify? ... HIGQEjnZ4=And get this response:
h=vA0nh/B/o/NqgjbaTiwFdP7QBFU=
t=2014-02-19T08:39:59Z0949
status=BAD_SIGNATURE
Any and all help would be appreciated!