-
Notifications
You must be signed in to change notification settings - Fork 30
/
ykgenerate.1.txt
53 lines (38 loc) · 1 KB
/
ykgenerate.1.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
YKPARSE(1)
=========
:doctype: manpage
:man source: yubico-c
:man manual: YubiKey C Library Manual
NAME
----
ykgenerate - construct and encrypt an OTP from given data
SYNOPSIS
--------
*ykgenerate* 'AESKEY' 'YK_INTERNALNAME' 'YK_COUNTER' 'YK_LOW' 'YK_HIGH' 'YK_USE' ['YK_RND']
DESCRIPTION
-----------
Generate OTPs by encrypting given values under the given encryption key.
OPTIONS
-------
*AESKEY*::
The 16-character AES-128 key to use in hex (128 bit).
*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 (8 bit).
*YK_USE*::
Hex encoded use (8 bit).
*YK_RND*::
Hex encoded random (16 bit) (optional).
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/