1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-01 19:52:20 +01:00

Update ClientInfoFormat.adoc

This commit is contained in:
Henrik Stråth 2014-08-11 15:54:39 +02:00
parent 7dc8fdc9f7
commit f2a0e4657f

View File

@ -1,4 +1,5 @@
=Format of Client Info Data= Format of Client Info Data
==========================
This file holds data used in the YubiKey OTP validation phase. This file holds data used in the YubiKey OTP validation phase.
@ -12,20 +13,22 @@ Any empty line, or a line beginning with a # is ignored.
The meaning are as follows: The meaning are as follows:
;id: ```
: the client identity, decimal integer id:
;active the client identity, decimal integer
: the client state, 1 if active, 0 if not active
;created the client state, 1 if active, 0 if not
: unix timestamp of when the client was created, decimal integer created
;secret unix timestamp of when the client was created, decimal integer
: printable ascii string with shared HMAC secret for client id secret
;email printable ascii string with shared HMAC secret for client id
: the email address used by the client, printable ascii string email
;notes the email address used by the client, printable ascii string
: not used, printable ascii string notes
;otp not used, printable ascii string
: the YubiKey OTP used to create the client, modhex string otp
the YubiKey OTP used to create the client, modhex string
```
An examples of a valid data line: An examples of a valid data line:
@ -33,5 +36,4 @@ An examples of a valid data line:
1,1,1359550387,foobar,user@example.com,,cccccccccccbubfncnklbknnkrfvfkbubftlfliikdrt 1,1,1359550387,foobar,user@example.com,,cccccccccccbubfncnklbknnkrfvfkbubftlfliikdrt
``` ```
For an example of importing and exporting Client Info data, please see For an example of importing and exporting Client Info data, please see `ImportExportData.adoc`.
[[ImportExportData|Importing and Exporting Data]].