1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2024-12-11 09:24:11 +01:00
yubikey-val/doc/Client_Info_Format.adoc

39 lines
918 B
Plaintext
Raw Normal View History

2014-10-29 15:08:12 +01:00
== Format of Client Info Data
2014-09-23 10:34:37 +02:00
This file holds data used in the YubiKey OTP validation phase.
Each of the lines in the file follows the following format:
id,active,created,secret,email,notes,otp
Any empty line, or a line beginning with a # is ignored.
The meaning are as follows:
2014-10-29 15:08:12 +01:00
id::
2014-09-23 10:34:37 +02:00
the client identity, decimal integer
2014-10-29 15:08:12 +01:00
active::
2014-09-23 10:34:37 +02:00
the client state, 1 if active, 0 if not
2014-10-29 15:08:12 +01:00
created::
2014-09-23 10:34:37 +02:00
unix timestamp of when the client was created, decimal integer
2014-10-29 15:08:12 +01:00
secret::
2014-09-23 10:34:37 +02:00
printable ascii string with shared HMAC secret for client id
2014-10-29 15:08:12 +01:00
email::
2014-09-23 10:34:37 +02:00
the email address used by the client, printable ascii string
2014-10-29 15:08:12 +01:00
notes::
2014-09-23 10:34:37 +02:00
not used, printable ascii string
2014-10-29 15:08:12 +01:00
otp::
2014-09-23 10:34:37 +02:00
the YubiKey OTP used to create the client, modhex string
An examples of a valid data line:
1,1,1359550387,foobar,user@example.com,,cccccccccccbubfncnklbknnkrfvfkbubftlfliikdrt
For an example of importing and exporting Client Info data, please see ImportExportData.