Hello,
I'm trying to install own yubikey-server-j. Tomcat is up and running and I can try validation at:
http://localhost:8080/wsapi/verify?id=1&otp=[OTP HERE]
The problem is that every time it only responds something like:
Code:
t=2009-06-04T09:20:22Z0022
status=BAD_OTP
h=Da7CDoffvd1g1Q0sHPYKohh5C8c=
For testing I have reprogrammed one yubikey using Yubico Configuration Utility.
The reprogrammed yubikey which I'm using for testing has the following details:
Yubikey ID: 43466a30295d
Yubico AES key: 43226938547b6a3f5a6d2f3b36706472
I have used the following MySQL query to insert that yubikeys' details into database (yubikeys table):
INSERT INTO yubikeys (client_id, tokenId, secret, created, accessed)
VALUES('1', 'NDM0NjZhMzAyOTVk','NDMyMjY5Mzg1NDdiNmEzZjVhNmQyZjNiMzY3MDY0NzI=','now()','now()');
I'm not sure if those values are correct or not?
I also need to know what to insert into clients table.
I think that the "BAD_OTP" is caused by some bad values in the yubikeys insert, possible wrong encoded values or some other things. So I need detailed explanation what to insert in those "yubikeys" and "clients" tables to get validation working.
Thank you in advance!