File: ykinfo.1

package info (click to toggle)
yubikey-personalization 1.17.3-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 2,480 kB
  • sloc: sh: 12,214; ansic: 7,226; xml: 300; makefile: 160
file content (126 lines) | stat: -rw-r--r-- 3,210 bytes parent folder | download | duplicates (2)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
'\" t
.\"     Title: ykinfo
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\"      Date: Version 1.17.3
.\"    Manual: YubiKey Personalization Tool Manual
.\"    Source: ykinfo
.\"  Language: English
.\"
.TH "YKINFO" "1" "Version 1\&.17\&.3" "ykinfo" "YubiKey Personalization Tool M"
.\" -----------------------------------------------------------------
.\" * 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"
ykinfo \- Get basic information from a YubiKey
.SH "SYNOPSIS"
.sp
\fBykinfo\fR [\fI\-s\fR] [\fI\-m\fR] [\fI\-H\fR] [\fI\-v\fR] [\fI\-t\fR] [\fI\-p\fR] [\fI\-1\fR] [\fI\-2\fR] [\fI\-q\fR] [\fI\-a\fR] [\fI\-c\fR] [\fI\-V\fR] [\fI\-h\fR]
.SH "DESCRIPTION"
.sp
Get basic information from a YubiKey\&. Can get serial number, version and current touch level\&. Can get all parameters at once or one at a time\&. If \fI\-q\fR is given only the relevant string from the YubiKey is written to screen\&.
.SH "OPTIONS"
.PP
\fB\-s\fR
.RS 4
get the serial number and output it\&.
.RE
.PP
\fB\-m\fR
.RS 4
get the serial number and output it as modhex\&.
.RE
.PP
\fB\-H\fR
.RS 4
get the serial number and output it as hex\&.
.RE
.PP
\fB\-v\fR
.RS 4
get the version and output it\&.
.RE
.PP
\fB\-t\fR
.RS 4
get the touch level and output it\&.
.RE
.PP
\fB\-p\fR
.RS 4
get the programming sequence and output it\&.
.RE
.PP
\fB\-1\fR
.RS 4
get the status of slot 1, 1 for programmed and 0 for empty\&.
.RE
.PP
\fB\-2\fR
.RS 4
get the status of slot 2, 1 for programmed and 0 for empty\&.
.RE
.PP
\fB\-a\fR
.RS 4
get all the information above\&.
.RE
.PP
\fB\-c\fR
.RS 4
get YubiKey capability information\&.
.RE
.PP
\fB\-q\fR
.RS 4
modifier, only show the relevant data from the YubiKey, no extra information\&.
.RE
.PP
\fB\-V\fR
.RS 4
print tool version and exit
.RE
.SH "EXAMPLE"
.sp
Output information from a YubiKey:
.sp
.if n \{\
.RS 4
.\}
.nf
$ ykinfo \-s \-m \-H \-v \-t \-p
serial: 1077254
serial_hex: 107006
serial_modhex: bcicch
version: 2\&.2\&.3
touch_level: 1793
programming_sequence: 1
$
.fi
.if n \{\
.RE
.\}
.SH "BUGS"
.sp
Report ykinfo bugs in the issue tracker (https://github\&.com/Yubico/yubikey\-personalization/issues)
.SH "SEE ALSO"
.sp
The ykpersonalize home page ⟨ URL: https://developers\&.yubico\&.com/yubikey\-personalization/ ⟩
.sp
YubiKeys can be obtained from Yubico ⟨ URL: http://www\&.yubico\&.com/ ⟩ \&.