'\" t .\" Title: ykparse .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: Version 1.13 .\" Manual: YubiKey C Library Manual .\" Source: yubico-c .\" Language: English .\" .TH "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 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ykgenerate \- construct and encrypt an OTP from given data .SH "SYNOPSIS" .sp \fBykgenerate\fR \fIAESKEY\fR \fIYK_INTERNALNAME\fR \fIYK_COUNTER\fR \fIYK_LOW\fR \fIYK_HIGH\fR \fIYK_USE\fR .SH "DESCRIPTION" .sp Generate OTPs by encrypting given values under the given encryption key\&. .SH "OPTIONS" .PP \fBAESKEY\fR .RS 4 The 16\-character AES\-128 key to use in hex\&. .RE .PP \fBYK_INTERNALNAME\fR .RS 4 Hex encoded internal identity (48 bit)\&. .RE .PP \fBYK_COUNTER\fR .RS 4 Hex encoded counter (16 bit)\&. .RE .PP \fBYK_LOW\fR .RS 4 Hex encoded timestamp low (16 bit)\&. .RE .PP \fBYK_HIGH\fR .RS 4 Hex encoded timestamp high (8bit)\&. .RE .PP \fBYK_USE\fR .RS 4 Hex encoded use (8 bit)\&. .RE .SH "EXAMPLES" .sp Typical usage of the tool is as follows\&. .sp .if n \{\ .RS 4 .\} .nf ykgenerate ecde18dbe76fbd0c33330f1c354871db 8792ebfe26cc 0013 c0a8 00 10 .fi .if n \{\ .RE .\} .sp Use ykparse(1) to decode the resulting OTP\&. .SH "SEE ALSO" .sp YubiKeys can be obtained from Yubico: http://www\&.yubico\&.com/