Yubico Forum
https://forum.yubico.com/

Timestamp format in the validation protocol 2.0
https://forum.yubico.com/viewtopic.php?f=5&t=680
Page 1 of 1

Author:  wysman [ Wed May 25, 2011 2:19 pm ]
Post subject:  Timestamp format in the validation protocol 2.0

Hi,

What's mean the 4 last characters after the timestamp value ?
2011-05-18T07:02:19Z0088

Here an example of this output :
Code:
$ curl "http://api.yubico.com/wsapi/2.0/verify?otp=cccccccjgunuekknkhtundhucelncfchicnvruitlnuv&nonce=aaaaaaaaaaaaaaaaaa"
00000000  68 3d 78 31 64 4a 54 6a  66 77 65 47 67 47 38 4a  |h=x1dJTjfweGgG8J|
00000010  47 6f 62 6a 74 68 70 61  76 61 2f 50 49 3d 0d 0a  |Gobjthpava/PI=..|
00000020  74 3d 32 30 31 31 2d 30  35 2d 31 38 54 30 37 3a  |t=2011-05-18T07:|
00000030  30 32 3a 31 39 5a 30 30  38 38 0d 0a 6f 74 70 3d  |02:19Z0088..otp=|
00000040  63 63 63 63 63 63 63 6a  67 75 6e 75 65 6b 6b 6e  |cccccccjgunuekkn|
00000050  6b 68 74 75 6e 64 68 75  63 65 6c 6e 63 66 63 68  |khtundhucelncfch|
00000060  69 63 6e 76 72 75 69 74  6c 6e 75 76 0d 0a 6e 6f  |icnvruitlnuv..no|
00000070  6e 63 65 3d 61 61 61 61  61 61 61 61 61 61 61 61  |nce=aaaaaaaaaaaa|
00000080  61 61 61 61 61 61 0d 0a  73 74 61 74 75 73 3d 4d  |aaaaaa..status=M|
00000090  49 53 53 49 4e 47 5f 50  41 52 41 4d 45 54 45 52  |ISSING_PARAMETER|
000000a0  0d 0a 0d 0a                                       |....|


Thanks
William MARTIN

Author:  Simon [ Thu May 26, 2011 1:03 pm ]
Post subject:  Re: Timestamp format in the validation protocol 2.0

It is just microseonds. Thus it is not strictly a ISO-8601 time field, sigh. Let's fix that in v3 of the protocol...

/Simon

Author:  wysman [ Thu May 26, 2011 1:46 pm ]
Post subject:  Re: Timestamp format in the validation protocol 2.0

Thanks.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/