From 0900b419819109657793202c22748ec90a95dc14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Str=C3=A5th?= Date: Mon, 11 Aug 2014 15:57:37 +0200 Subject: [PATCH] Update YubiKeyInfoFormat.adoc --- doc/YubiKeyInfoFormat.adoc | 46 +++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/doc/YubiKeyInfoFormat.adoc b/doc/YubiKeyInfoFormat.adoc index 20a2c34..2d3848a 100644 --- a/doc/YubiKeyInfoFormat.adoc +++ b/doc/YubiKeyInfoFormat.adoc @@ -1,4 +1,5 @@ -=Format of YubiKey Info Data= +Format of YubiKey Info Data +=========================== This file holds data used in the YubiKey OTP validation phase. @@ -11,26 +12,29 @@ active,created,modified,yk_publicname,yk_counter,yk_use,yk_low,yk_high,nonce,not Any empty line, or a line beginning with a # is ignored. The meaning are as follows: -;active -: the YubiKey state, 1 if active, 0 if not -;created -: unix timestamp of when the YubiKey entry was created, decimal integer -;modified -: unix timestamp of when the YubiKey entry was last modified, decimal integer -;yk_publicname -: the public id of the YubiKey, modhex string -;yk_counter -: the YubiKey session counter, decimal integer -;yk_use -: the YubiKey use counter, decimal integer -;yk_low -: the low part of the YubiKey timestamp counter, decimal integer -;yk_high -: the high part of the YubiKey timestamp counter, decimal integer -;nonce -: the nonce used for the last validation request, ascii printable string -;notes -: not used, printable ascii string + +``` +active + the YubiKey state, 1 if active, 0 if not +created + unix timestamp of when the YubiKey entry was created, decimal integer +modified + unix timestamp of when the YubiKey entry was last modified, decimal integer +yk_publicname + the public id of the YubiKey, modhex string +yk_counter + the YubiKey session counter, decimal integer +yk_use + the YubiKey use counter, decimal integer +yk_low + the low part of the YubiKey timestamp counter, decimal integer +yk_high + the high part of the YubiKey timestamp counter, decimal integer +nonce + the nonce used for the last validation request, ascii printable string +notes + not used, printable ascii string +``` An example of a valid data line: