mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-03-04 03:29:18 +01:00
add ClientInfoFormat from the wiki
This commit is contained in:
parent
02d3090bf8
commit
5f7d8db75d
46
doc/ClientInfoFormat.adoc
Normal file
46
doc/ClientInfoFormat.adoc
Normal file
@ -0,0 +1,46 @@
|
||||
Format of Client Info Data
|
||||
--------------------------
|
||||
|
||||
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:
|
||||
|
||||
* id:
|
||||
|
||||
the client identity, decimal integer
|
||||
|
||||
* active
|
||||
|
||||
the client state, 1 if active, 0 if not
|
||||
|
||||
* created
|
||||
|
||||
unix timestamp of when the client was created, decimal integer
|
||||
|
||||
* secret
|
||||
|
||||
printable ascii string with shared HMAC secret for client id
|
||||
|
||||
* email
|
||||
|
||||
the email address used by the client, printable ascii string
|
||||
|
||||
* notes
|
||||
|
||||
not used, printable ascii string
|
||||
|
||||
* otp
|
||||
|
||||
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.
|
Loading…
x
Reference in New Issue
Block a user