1YKINFO(1) YubiKey Personalization Tool M YKINFO(1)
2
3
4
6 ykinfo - Get basic information from a YubiKey
7
9 ykinfo [-s] [-m] [-nkey] [-H] [-v] [-t] [-p] [-1] [-2] [-q] [-a] [-c]
10 [-V] [-h]
11
13 Get basic information from a YubiKey. Can get serial number, version
14 and current touch level. Can get all parameters at once or one at a
15 time. If -q is given only the relevant string from the YubiKey is
16 written to screen.
17
19 -s
20 get the serial number and output it.
21
22 -m
23 get the serial number and output it as modhex.
24
25 -nkey
26 read from the nth key found.
27
28 -H
29 get the serial number and output it as hex.
30
31 -v
32 get the version and output it.
33
34 -t
35 get the touch level and output it.
36
37 -p
38 get the programming sequence and output it.
39
40 -1
41 get the status of slot 1, 1 for programmed and 0 for empty.
42
43 -2
44 get the status of slot 2, 1 for programmed and 0 for empty.
45
46 -a
47 get all the information above.
48
49 -c
50 get YubiKey capability information.
51
52 -q
53 modifier, only show the relevant data from the YubiKey, no extra
54 information.
55
56 -V
57 print tool version and exit
58
60 Output information from a YubiKey:
61
62 $ ykinfo -s -m -H -v -t -p
63 serial: 1077254
64 serial_hex: 107006
65 serial_modhex: bcicch
66 version: 2.2.3
67 touch_level: 1793
68 programming_sequence: 1
69 $
70
72 Report ykinfo bugs in the issue tracker
73 https://github.com/Yubico/yubikey-personalization/issues
74
76 The ykpersonalize home page
77 https://developers.yubico.com/yubikey-personalization/
78
79 YubiKeys can be obtained from Yubico http://www.yubico.com/
80
81
82
83ykinfo Version 1.19.1 YKINFO(1)