Re: Yubico client test failed

30 views
Skip to first unread message

Simon Josefsson

unread,
Jun 14, 2011, 3:04:46 AM6/14/11
to DUBOST Brice, yubico...@googlegroups.com
DUBOST Brice <dub...@crans.ens-cachan.fr> writes:

> Hello
>
> I've just downloaded the git today with
>
> git clone git://github.com/Yubico/yubico-c-client.git
>
> And when I do make check install I get

Do you have a network connection on that machine? Make check performs
some network tests.

Has anyone else seen failures like this? I haven't seen that before.
What system are you using?

/Simon

> Test selftest.c:133 (main): wrong client_id set(10), correct client_key,
> expect BAD_SIGNATURE
> ykclient_request (3): Request signature was invalid (BAD_SIGNATURE)
> used url:
> http://api.yubico.com/wsapi/2.0/verify?id=1851&nonce=ppimgwjnkgmmzacpqxsvxzzukrdjixkz&otp=dteffujehknhfjbrjnlnldnhcujvddbikngjrtgh&h=fe0Yi8gJIF872SR5ka7%2BkwnTDfs=
>
> Test selftest.c:145 (main): invalid client_id set(a), correct
> client_key, expect HEX_DECODE_ERROR
> ykclient_set_client_hex (105): Error decoding hex string
>
> Test selftest.c:150 (main): invalid client_id set(xx), correct
> client_key, expect HEX_DECODE_ERROR
> ykclient_set_client_hex (105): Error decoding hex string
>
> Test selftest.c:155 (main): hex client_id set, correct client_key, expect OK
> ykclient_set_client_hex (0): Success
>
> Test selftest.c:161 (main): validation request, expect REPLAYED_OTP
> ykclient_request (2): Yubikey OTP was replayed (REPLAYED_OTP)
> used url:
> http://api.yubico.com/wsapi/2.0/verify?id=1851&nonce=ppimgwjnkgmmzacpqxsvxzzukrdjixkz&otp=dteffujehknhfjbrjnlnldnhcujvddbikngjrtgh&h=YWhHjHA/PG8kF1GNvwoqAV0qGDA=
>
> Test selftest.c:170 (main): set deadbeef client_id, expect OK
> ykclient_set_client_hex (0): Success
>
> Test selftest.c:176 (main): validation request, expect BAD_SIGNATURE
> ykclient_request (3): Request signature was invalid (BAD_SIGNATURE)
> used url:
> http://api.yubico.com/wsapi/2.0/verify?id=1851&nonce=ppimgwjnkgmmzacpqxsvxzzukrdjixkz&otp=dteffujehknhfjbrjnlnldnhcujvddbikngjrtgh&h=hIquqr9n7sQ%2Bss7et7mqb5ZkQCs=
>
> Test selftest.c:185 (main): b64 set deadbeef client_id, expect OK
> ykclient_set_client_b64 (0): Success
>
> Test selftest.c:191 (main): validation request, expect BAD_SIGNATURE
> ykclient_request (3): Request signature was invalid (BAD_SIGNATURE)
> used url:
> http://api.yubico.com/wsapi/2.0/verify?id=1851&nonce=ppimgwjnkgmmzacpqxsvxzzukrdjixkz&otp=dteffujehknhfjbrjnlnldnhcujvddbikngjrtgh&h=R9wNm6SL427FzEUX5xCdDr3l0uw=
>
> Test selftest.c:200 (main): b64 set client_b64key, expect OK
> ykclient_set_client_b64 (0): Success
>
> Test selftest.c:206 (main): validation request, expect REPLAYED_OTP
> ykclient_request (3): Request signature was invalid (BAD_SIGNATURE)
> used url:
> http://api.yubico.com/wsapi/2.0/verify?id=1851&nonce=ppimgwjnkgmmzacpqxsvxzzukrdjixkz&otp=dteffujehknhfjbrjnlnldnhcujvddbikngjrtgh&h=ZvqnwE%2BYIgPsa9VBr6KrM969dz4=
> selftest: selftest.c:210: main: Assertion `ret == YKCLIENT_REPLAYED_OTP'
> failed.
> /bin/bash: line 5: 17375 Aborted ${dir}$tst
> FAIL: selftest
> =================================
> 1 of 1 test failed
> Please report to si...@yubico.com
> =================================
>
> So, as written I report to you
>
> Regards

Reply all
Reply to author
Forward
0 new messages