t
Title: ykparse
Author: [FIXME: author] [see http://docbook.sf.net/el/author]
Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
Date: Version 1.13
Manual: YubiKey C Library Manual
Source: yubico-c
Language: English

"YKPARSE" "1" "Version 1.13" "yubico-c" "YubiKey C Library Manual"
-----------------------------------------------------------------
* Define some portability stuff
-----------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://bugs.debian.org/507673
http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------
* set default formatting
-----------------------------------------------------------------
disable hyphenation
disable justification (adjust text to left margin only)
-----------------------------------------------------------------
* MAIN CONTENT STARTS HERE *
-----------------------------------------------------------------
"NAME"
ykgenerate - construct and encrypt an OTP from given data
"SYNOPSIS"
ykgenerate AESKEY YK_INTERNALNAME YK_COUNTER YK_LOW YK_HIGH YK_USE
"DESCRIPTION"
Generate OTPs by encrypting given values under the given encryption key.
"OPTIONS"

AESKEY

The 16-character AES-128 key to use in hex.

YK_INTERNALNAME

Hex encoded internal identity (48 bit).

YK_COUNTER

Hex encoded counter (16 bit).

YK_LOW

Hex encoded timestamp low (16 bit).

YK_HIGH

Hex encoded timestamp high (8bit).

YK_USE

Hex encoded use (8 bit).

"EXAMPLES"
Typical usage of the tool is as follows.

.\}

ykgenerate ecde18dbe76fbd0c33330f1c354871db 8792ebfe26cc 0013 c0a8 00 10
.\} Use ykparse(1) to decode the resulting OTP.
"SEE ALSO"
YubiKeys can be obtained from Yubico: http://www.yubico.com/