1YKPARSE(1)                 YubiKey C Library Manual                 YKPARSE(1)
2
3
4

NAME

6       ykgenerate - construct and encrypt an OTP from given data
7

SYNOPSIS

9       ykgenerate AESKEY YK_INTERNALNAME YK_COUNTER YK_LOW YK_HIGH YK_USE
10

DESCRIPTION

12       Generate OTPs by encrypting given values under the given encryption
13       key.
14

OPTIONS

16       AESKEY
17           The 16-character AES-128 key to use in hex.
18
19       YK_INTERNALNAME
20           Hex encoded internal identity (48 bit).
21
22       YK_COUNTER
23           Hex encoded counter (16 bit).
24
25       YK_LOW
26           Hex encoded timestamp low (16 bit).
27
28       YK_HIGH
29           Hex encoded timestamp high (8bit).
30
31       YK_USE
32           Hex encoded use (8 bit).
33

EXAMPLES

35       Typical usage of the tool is as follows.
36
37           ykgenerate ecde18dbe76fbd0c33330f1c354871db 8792ebfe26cc 0013 c0a8 00 10
38
39       Use ykparse(1) to decode the resulting OTP.
40

SEE ALSO

42       YubiKeys can be obtained from Yubico: http://www.yubico.com/
43
44
45
46yubico-c                         Version 1.13                       YKPARSE(1)
Impressum